Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Loading a DataSource twice

$
0
0
Hello,

I tried to load a DS twice for two DynamicForms with different permissions (which were set by Declarative Security).
The permissions of the fields are depending on the database record status. In the first status some fields are visible on the first form, in the second status some fields are disable on the second form (it is what I want to do).

In the .ds.xml file the addGlobalId is set to "false". So there is no collision. But I cannot achieve the two different DS separately on the two forms because the IDs are same. I always get the last loaded DS.

Questions:
- Are there two datasource objects on the client if I set the addGlobalId parameter to "false" in the ds.xml file?
- How can I get the datasources without using Id on the client?

Thank you

Viewing all articles
Browse latest Browse all 4756

Latest Images

Trending Articles



Latest Images