So if you use a peer single attribute on a BO but don't want it to appear as an editable field then the shortcut is great.
But... how do you hide this field on a form based on a condition. If you use READ PROTECT you get an error
"Invalid attribute path BOName.scAttributeName in READ PROTECT action" Which is sort of to be expected as you can't edit a shortcut in a form (only a grid).
So it seems that the only way to achieve the hide/show of the data that you'd ordinarily use a shortcut for is via HTML SHOW SECTION_START, except there isn't a way to stop the label showing in this instance.
Or am I missing something?
Conditional Hide a Shortcut ???
-
- Posts: 1457
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
Re: Conditional Hide a Shortcut ???
READ PROTECT the reference attribute hides the shortcut i think
Re: Conditional Hide a Shortcut ???
Hiding attributes in forms based on conditions can be done by putting the attribute(s) inside a separator.PointsWell wrote:But... how do you hide this field on a form based on a condition.
The separator can have display conditions.
-
- Posts: 1457
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
Re: Conditional Hide a Shortcut ???
Unfortunately AIM does not render separators consistently across browsers and they apply to all columns - this shortcut would need to sit in a second column with the first one holding permanently displayed fields.joben wrote:Hiding attributes in forms based on conditions can be done by putting the attribute(s) inside a separator.PointsWell wrote:But... how do you hide this field on a form based on a condition.