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
17 replies
Subscribers
10 subscribers
Views
6359 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
I am following SAIL records tutorial (Create Entity-Backed Records) and created
vineeta6579
over 11 years ago
I am following SAIL records tutorial (Create Entity-Backed Records) and created Additional Dashboards but its not visible as per visibility expression. Visibility expression is set like this
=rf!firstname ="Michael"
As per documentation if the record's firstname is Michael then it should display one more text field which is read only and dummy in my case. Which is not happening!!!...
OriginalPostID-107878
OriginalPostID-107878
Discussion posts and replies are publicly visible
0
priyaj
over 11 years ago
Hi Vahluwalia,
Are you trying to show the text field in the additional dashboard based on your condition?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vineeta6579
over 11 years ago
yes..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
priyaj
over 11 years ago
Can you try using if condition in your dashboard code, for example if(rf!firstname="Michael",a!textField(),{}).
The purpose of Visibility expression is to determine who and when can a user see the dashboard name and access it.
Here is the link for your reference:
forum.appian.com/.../Record_Design
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vineeta6579
over 11 years ago
Yes,same thing should work in Additional Dashboards where appian does provide out of box visibility feature..
but Its not working ..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 11 years ago
Couple of things to look at:
1. What is the data type of rf!firstName
2. What is the value of rf!firstName - i.e. check for leading or lagging spaces
3. Does the additional dashboard work if you replace this expression with =true() ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vineeta6579
over 11 years ago
3. # Its not rendering even I updated visibility condition to =true()
2. No space
1. Text
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 11 years ago
right, so the first thing you need to do is get the dashboard working without this condition. Check if you have defined your sail code properly within a section layout or dashboard layout (etc)
Once you get this working, you can add the condition to control visibility.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vineeta6579
over 11 years ago
I am coding like this but additional dashboard it not rendering!!!
SAIL Summary Dashboard:-
=a!dashboardLayout(
firstColumnContents: {
/*Read only Text fields */
}
)
Additional Dashboard:-
a!sectionLayout(
label:"New section",
firstColumnContents:{
/*Read only Text fields */
}
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 11 years ago
1. What happens if you put the additional dashboard code in your main dashboard? Does it work?
2. What happens when you put the main dashboard code in your additional dashboard - does it work?
3. What happens if you change the additional dashboard from using sectionLayout to Dashboard layout - does it work?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vineeta6579
over 11 years ago
1. Yes it works
2. No (Visibility is true for additional dashboard )
3. No (Visibility is true for additional dashboard )
Additional dashboard is not rendering in any case.
Does the additional dashboard renders in same page where sail summary dashboard renders.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>