This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var renderLCActions = function() { | |
var container = config(constants.CONTAINER_LC_ACTION_AREA); | |
var impl = LifecycleAPI.lifecycle(); | |
var actions; | |
var action; | |
// var action; | |
if (impl) { | |
actions = impl.actions(); | |
var data = {}; | |
var map = data.actions = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tenantApi = require('/modules/tenant-api.js').api; | |
var tenantDetails = tenantApi.createTenantDetails(request,session); | |
print('Tenant Id: '+tenantDetails.tenantId); | |
print('Tenant domain: '+tenantDetails.domain); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var server = require('store').server; | |
var user = server.current(session); | |
print('username : '+ user.username); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var context={ | |
fruits:[ | |
{ | |
name:'apples', | |
label:'I like salted apples', | |
value:'1', | |
info:{ | |
some_data:'Have some more apples!' |
NewerOlder