This content has been marked as final. Show 2 replies
The portal uses Class of Service templates as part of the display profile merge process. COS templates are a feature of the directory server that allows attributes from an org or a role to be propogated to a user. The sunPortalDesktopDocument that you are seeing in the LDAP is really not part of the user, but is actually coming from the user's role or org membership.
Note that making changes to the desktop profile using LDAP commands is not recommended. Using the administration console and/or dpadmin commands should be sufficient.
You can modify the display profile at the role level the same way that you do for the org or for the user. Just edit the Portal Desktop Service and click the button for Manage Containers and Channels.
I would like to use command line instead of administration console for org/user/role creation and assign appropriate Display Profile for selected entity.
Is it possible?
Now I add organizations, users and roles with user "uid=amadmin,ou=people,dc=mycompany,dc=ru" manually in adminconsole.
And then I use dpadmin utility to configure Display Profile.
Also, for new created role no DisplayProfile document exists in LDAP and I added it in adminconsole:
because dpadmin fails for empty Display Profile document
<?xml version="1.0" encoding="utf-8" standalone="no"?> <!DOCTYPE DisplayProfile SYSTEM "jar://resources/psdp.dtd"> <DisplayProfile version="1.0" priority="user"> <Properties></Properties> <Channels></Channels> <Providers></Providers> </DisplayProfile>
Anybody know how to create it from script?
[DEBUG] Line 31: add -u "uid=amadmin,ou=people,dc=sftb,dc=ru" -w 12345678 -d "cn=MyAdminRole,o=myorg,dc=mycompany,dc=ru" CreateOrgPortlet.xml ERROR [line 31]: Failed to create DP Root: dn="cn=MyAdminRole,o=myorg,dc=mycompany,dc=ru"
I need help how to replace adminconsole with command line approach.