User Interface Rules Setup - CloudGenSys/smartEDI_Wiki GitHub Wiki
Shell Creation
-
Login to My webMethods Server as "sysadmin".
-
Navigate to "Home".
-
Go to "Shell Adminstration".
-
Create a "New Shell".
-
Name the new shell as "SmartEDI Shell".
-
Do not modify the Shell section directly, always clone from the parent 'Noodle Shell' as shown below. Use the "Clone from Parent" option to Clone Header, Footer, Left Nav and Right Nav.
-
Edit SmartEDI Shell Leftnav which will take you to the Properties.
-
Enter the Application Root as the alias that we created for the parent folder as shown below and check "Show Applications", "Show Navigate" and "Show LHS", click Apply and then Save.
-
Navigate to Folders --> System --> Shell Sections and search for "SmartEDI Shell Leftnav". In the properties for the LeftNav, set the permissions to "Everyone view only" and remove the Security Realm.
Shell Rules
-
Login to My webMethods Server as "sysadmin".
-
Navigate to Folders --> Administrative Folders --> Administration Dashboard --> User Interface --> Manage Shell Rules.
-
Create Shell Rule "SmartEDI Shell Rule" and paste the condition as
(("SmartEDIRole" matches user.groupMembershipDNs) or ("SmartEDIRole" matches user.roleMembershipDNs)) && ( #{request.requestURI} startsWith "/smartedi" || portalResource isDescendant ("smartedifolder") || portalResource isDescendant ("/portlet/smartediprj___ ")) && !(user.name matches "sysadmin")
- Verify that the Rule Evaluation Order shows "SmartEDI Shell Rule" above "My webMethods".