Novell is now a part of Micro Focus

I am working with Novell Portal Services using...

Articles and Tips: qna

01 Sep 2002


Q.

I am working with Novell Portal Services using setConfigSetting("value","default") and then issuing a writeConfig(), writes the setting to the user's object in NDS. Is there a method that can be used to write the config setting to NDS, where the setting applies to all users of the gadget (i.e., like using portal administration). I've looked through the API, but haven't run across anything yet that would help me.

A.

The gadget is intentionally shielded from writing anything that would affect the gadget assignment or gadget object directly. It can only write to the user object's personalizations. A normal user cannot and does not have rights to write directly to the gadget assignment or the gadget object directly. Also, one user personalizing a setting should not affect others.

The notable exceptions are page owners and gadgets on a community page. For gadgets on a community page, the writeConfig() method is overwritten to write directly to the community gadget assignment. There is no personalization in a community. Essentially the community owner is personalizing the gadget for the entire community.

For page owners, we currently do not have a way outside of the PageAdmin gadget for them to personalize gadget assignment settings for everyone viewing the page. We would like to add another type of personalize icon for page owners or portal administrators so they can set the gadget assignment settings from that icon without using the PageAdmin gadget. This would overwrite the writeConfig() method or introduce a new method for doing this. Using this overwritten or new method would fail if the user does not have the DS rights required to write to the page or gadget object.

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates