How to manage Attribute of "Create Screen Page" for multiple entity having similar attributes
AnsweredHi Team,
Scenario: Consider we have 2 entity Type as "Model" and "Customer Project".
System share few common attribute between 2 entity type for some reasons like roll down scenario/ roll Up scenario.
Common Attribute are "productgrouphierarchy", "modelname", "articlenumber".
Issue is we want to display "productgrouphierarchy", "modelname" attribute on Model creation screen Page and We dont want this 2 attribute to be display for Customer Project entity Entity.
We have Configured the Create screen Page for Model and Customer Project entity Type separately but it is displaying common attribute at both the create screen page. I have attached the UI Configuration.
Why do we have to configure Create Screen at the Tenant level?
Again the issue if i delete the tenant level configuration for create screen, then System will show me an message during the entity Creation "Attributes are not available."
-
Hi Kajal,
Even if the entity types share common attributes for create wizard, you need to configure the this component UI configuration entitytype wise separately. If there is any tenant level or domain level configuration present for rock-entity-create component, then that should be deleted.
Also, please check if there are any UI configuration with this component conflicting each other. Secondly please check attributes mentioned in list is till mapped with the entity type in the model. let us know if you are still facing any issue after checking these two things.
0 -
Hi Niyati,
Appreciate the quick response from you!
I have Followed the steps/Analysis you mentioned above. Here are the comments.
1) After verifying the UI Files, there was no Conflicting file present in the system with the same component name.
2) I have deleted file at tenant level.
3) All the attributes mappings are with entity type are correct.
After Analysis i found that, In the Context section of create file i was using "domain" as "thing" which was causing the issue. After removing this properties from the Context section of "rock-entity-create_entitytype" file it is working fine.
Query: How does it impact the file, if i mention "domain" properties as "thing"/"party" at entity type level ?
Difference in the file are highlighted below in the screenshot.
Not working File.
Working File
0 -
Ideally it should not matter. Can you check what is the coalesce path given in the config-context-settings file. Based on the path, if entitytype is after domain then that should take precedence over domain.
Also, as per best practice for UI configurations better to define only those contexts in the file which is needed. Rest all let system auto-generated it when you zip and upload.
0 -
This is my CoalescePath.
0
Please sign in to leave a comment.
Comments
4 comments