Servoy 8.2 error

Forum to discuss the new web client version of Servoy.

Servoy 8.2 error

Postby ashutoslenka426 » Wed Sep 06, 2017 11:40 am

Hi All,

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.
AL
ashutoslenka426
 
Posts: 265
Joined: Thu Jan 26, 2012 3:38 pm

Re: Servoy 8.2 error

Postby jcompagner » Thu Sep 14, 2017 10:23 am

as far as i can check that should still work
the form type should just (if it can find the form at the server side) return the name of the form
relations are a bit different those will not return now anymore the relation name but just a uuid/hex string

But what kind of exception are you talking about?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7971
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 1 guest