Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
8 replies
Subscribers
11 subscribers
Views
3275 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
Appian 7.3 allows us to define different 'dashboard' views for a record
alastairw
over 10 years ago
Appian 7.3 allows us to define different 'dashboard' views for a record type
forum.appian.com/.../Record_Design
(search for "Additional Dashboards")
These require a "visibiliy expression". I have tried both
=true
={cons!aGroupIAmIn,cons!anotherGroup}
and the link to the dashboard does not appear in the record view.
Are either of these valid visibility expressions? If they are, how can I debug why the dashboard is not displaying?...
OriginalPostID-91638
OriginalPostID-91638
Discussion posts and replies are publicly visible
0
Patty Isecke
Appian Employee
over 10 years ago
Where are you defining your visibility section? Please ensure that this is defined after creating your record type > clicking on the record > Click "Create a New Dashboard " under the Dashboard section.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
alastairw
over 10 years ago
Yes, I can see where to enter the expression. But what data type should the expression return?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Patty Isecke
Appian Employee
over 10 years ago
I believe it should return a boolean value. You can check if the user belongs to a group:
=if(isusermemberofgroups(loggedInUser(), <group ids list>), true(), false())
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
alastairw
over 10 years ago
=true() doesn't seem to work
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 10 years ago
Alastair, have you checked if the expression you're executing is a valid one? Quick way to test is to make this as the definition for the default dashboard view (only for testing) and if it works as expected, you can move this to the Additional dashboard section.
The visibility requires a boolean. I have a few example on my local and visibility of true() works. If should definitely be able to view this with Admin priv with the above said set to =true()
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
alastairw
over 10 years ago
Hi Sathya - I've used the same expression as for the main dashboard, and the visibility expression is just =true()
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
alland
Certified Lead Developer
over 10 years ago
Just in case it helps anyone else, we've just upgraded to 7.3 and experienced the same issue; turned out that the issue was not with visibility expression =true() which works, but that the 'Name Expression' field needs to be an expression i.e. "test" rather than simply test.
We figured this out after navigating directly to the generated URL and finding the test dashboard present, but apparently without a label.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
alastairw
over 10 years ago
Thank you - that now works. Not the first time I've been caught out by Appian's inconsistent approach to quoting literals...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel