Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Shared with Jive Anywhere
I forgot to mention: the ViewModeShape is in UserManagementSubsistem
You need to ensure your service is accessing the session instance of your parameter with a line of code such as:
var data=Resources["CurrentSessionInfo"].GetGlobalSessionValues().protocolConnections;
where "protocolConnections" is the name of my session variable. You also need to set your session variable accorindgly:
var params = {
name: "protocolConnections" /* STRING */,
value: protocolConnections /* INFOTABLE */
};
Resources["CurrentSessionInfo"].SetGlobalSessionInfoTableValue(params);
You're service should be returning the values that are stored in your session variable. This is one case where simply binding to the session variable in the mashup build won't work. It needs to be returned as the result of a service.
Sorry, just because I don't know if I got it right.
the protocolConnections is my session variable; it means that is my property I called History, am I right?
And what is the value in the parameters is supposed to be a Infotable?
Right..so on your TS, you created a property called History. You've added that property as a session parameter in the UserManagement Subsystem. You would substitute "protocolConnections" for "history". In my case, "protocolConnections" is an infotable property that I've defined. You don't have to use an infotable, though. You can use a string, or any other type. When you're creating your service, click on the "Entities" tab and type in CurrentSessionInfo for the entity name. Then scroll down for the "Set" services. You will see all the services for all the different property types.