Requirement: How to enable the different set of attribute based on one boolean attribute value
AnsweredScenario: There is an "taxghshazardclass" attribute with boolean data type.
When user select "taxghshazardclass" attribute value as "true" only then the list of attribute should be visible.
When user select "taxghshazardclass" attribute value as "false", then the list of attribute should be hidden. It should Not be visible.
This all are the category specific attribute.
Implementation: I have implented the "Dynamic Authorization Model".
Scenario i was not able to achieve using "Dynamic Authorization Model" is when there is no value either true or false in "taxghshazardclass" attribute then the list of attribute are editable which should not be the case for my requirement.
Requirement: When there is no value either true or false or if user provide false value then the attribute itself should not be visible. Only in one scenario the list of attribute should be visible and thats is when user choose true value to "taxghshazardclass" attribute.
Please share your ideas.
Thanks,
-
Hello Kajal
We have done something similar in the past, but we used a LOV attribute instead (not sure why, it was a long time ago).
Take a look at Dependent Attributes, I think this is what you're looking for:
https://docx.syndigo.com/docs/manage-dependent-attributes-20 -
Hello Kajal Prajapati ,
The case you are trying to achieve, please use the concept Additional Context instead of Dynamic authorization.
https://docx.syndigo.com/docs/add-multiple-additional-context-to-an-entity
Thanks,
Shailesh
0 -
Hi Shailesh,
Thanks for the idea. Yes we can achieve this scenario by adding an additional path attribute.
However, can we do it without implementing an path attribute?
Thanks,
0 -
Hi Eric,
Thanks for the reference link.
Requirement: I want to completely hide the attribute from all the users, unless user select the value for taxghshazardclass as Yes
Regards,
0 -
Hello Kajal Prajapati,
Additional context attribute does not need attribute to be path, it can work with any attribute type.
Please refer this documentation : https://docx.syndigo.com/docs/set-up-additional-context-for-entity-types?highlight=additional%20context
Thanks,
Shailesh
0 -
Thanks Shailesh,
Exactly i wanted the same thing. However after going through the documenent it says we can not implement on taxonomy attribute.
In my Scenario, all are taxonomy attribute.
Link: https://docx.syndigo.com/v2/docs/view-additional-context-for-entity-types
Thanks,
0 -
Hello Kajal,
Dynamic Auth Dose support the Boolean value match,
If this is something you already tried and its not working for you , can you please share you file or SS here ?
0 -
Hi Archana,
I have used Boolean value and its working fine for me.
As per my requirement, i have to used the concept of additional context (as mentioned above in the conversation from Shailesh Rana).
My all attribute are taxonomy attributes and as per the doc portal, this concept can not be implemented on Taxonomy attribute.
I need some different suggestion.
Thanks!
0
Please sign in to leave a comment.
Comments
8 comments