This is working fine in Servoy 8.1.4 . This is returning desired form name . But in Servoy 8.2. It is not returning form name . But returning UUID . This is throwing exception .
Api :
- Code: Select all
$scope.api.getTabFormNameAt = function(index) {
if(!($scope.model.tabs)){
$scope.model.tabs = [];
}
var tab = $scope.getTabAt(index);
return tab ? tab.containedForm : '';
}
Spec File :
- Code: Select all
"types": {
"tab": {
"active": {"type":"boolean","default": false,"tags": { "scope" :"private" }},
"name": {"type":"string"},
"containedForm": "form",
"text": {"type":"tagstring","default":"tab"},
"relationName": "relation",
"enabled":
{
"type": "enabled",
"default": true
}
}
}
Why it is returning UUID in Servoy 8.2 ? . Please provide some suggestions.