I'm trying to get a value of a variable inside an array to store it as a global variable for reuse on collection runner. The issue is this variable data is not exposed on any response data.
$scope.loadWorkAreasAndMenu = function (callback) {
$('.modal-backdrop').hide();
var workSpaceIdQs = GetParameterValues('WorkSpaceId');
var workspaceId = null;
if (workSpaceIdQs != undefined && workSpaceIdQs.trim().length != 0) {
workspaceId = workSpaceIdQs;
}
var jsonMenu = JSON.stringify({
slotToken: window.top.Token,
workspaceId: workspaceId,
viewPortType: currentViewport
});
var serviceData = {
serviceName: "GetWorkAreasAndMenu",
serviceInputs: LZString.compressToEncodedURIComponent(jsonMenu)
};
var config = {
headers: {
'Content-Type': "application/json"
}
};
I need to capture the variable "serviceInputs" but the issue is it is not exposed in any the response data. How we could retrieve this value during runtime execution itself ?