Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Guys,
Expression Count( {<$Field={aFieldName}>} $Field) is returning 1 in all condition after publish the document to server. Why?
Same is working correctly on Client Machine..
Hi All,
Here is the solution for hiding a listbox if field used under it is getting OMITed for few users.
I kept this expression in Listbox Properties-->Layout-->Show-->Conditional-->isnull(FieldValue('Your Field name',1))=0
It is working as expected.
To explain how this works:
I assume that your section access don't worked as you expected it on the server. You will login with a different user and there are some section access differences between server and desctop, too: Section Access: Desktop vs Server
- Marcus
Section access working as expected and It is OMITTING the column Which I want to Omit but Only this expression not changing.
I checked by doing this.
On a new Sheet add the column (Omit Column) and also expression Count( {<$Field={aFieldName}>} $Field).
When I publish my app to server and log in with 2 different users A and B where A should see the column and B should not see the column.
In App, For user A I am seeing Column and Expression value 1 and for user B I am not able to see column (unavailable) and its values but still expression is having value 1.
Wouldn't be a simple expression like count(FieldName) enough for such a visibility-condition?
- Marcus
What would be result when Field be OMITed for User B
count(unavailable Field)=?
I haven't tested it yet. But you need only one value for the condition and therefore something like if(count(FieldName)>=1, true()) should work. Maybe a getpossiblecount() could be an alternatively.
- Marcus
Hello Everyone,
Could you please trying publishing this document and see Salary List box is hiding or not.
I am attaching sample QVW and Data in Excel.
Just add your Domain and User Name in Excel and then Uncomment Section access in QVW and reload save and publish
I have added Expression Count( {<$Field={[Salary]}>} $Field)>=1 for Salary List box on Sheet 1 and SubStringCount(Concat([$Field], '|'), 'Salary')>=1 for Salary List box on Sheet 2 but none of them are working after publish to server.
On Desktop It is working.
Hi All,
Here is the solution for hiding a listbox if field used under it is getting OMITed for few users.
I kept this expression in Listbox Properties-->Layout-->Show-->Conditional-->isnull(FieldValue('Your Field name',1))=0
It is working as expected.
To explain how this works: