Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Jenya Mia
Added: May 8, 2020 7:46 PM
Modified: Jun 22, 2020 7:14 PM
Views: 18
Tags: no tags
  1. NCube cube = getNcubeRuntime().getCube(NCubeMeta.getApplicationId(), BUSINESS_UNIT);
  2.                 Map<String, Object> coord = new HashMap<>();
  3.                 coord.put(NCubeMeta.BU, "Default");
  4.                 coord.put(ATTRIBUTE, BU_SUPPORT_EMAIL);
  5.                 cube.setCell("no-reply@gaig.com", coord);
  6.                 getNcubeRuntime().addCube(cube);