Skip to Content
author's profile photo Former Member
Former Member

Custom System Objects

Hello all,

We would like to create a custom system object that has some custom name/value pairs that we would like to use from several different portal component projects.

How do I create a custom system object that I can put in my own custom name/value pairs?

Thanks,

J

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2004 at 07:31 AM

    I was writing a how-to guide on this, but it has been placed on very low simmer. Basically what you need to do is create a dummy portal application (PAR file) with personalization properties that can be used by your applications. Then you get a reference to this portal application and use the personaliation API to access and modify the contents. If you want the end user to modify the personalization info it gets a little tricker since you have to write your own personalization dialog. I will try upload a sample program soon if I get some time.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Will,

      We are not concerned with the end user customizing this object. And thank you for your input...its greatly appreciated.

      We have been able to implement something, but we have one little problem with it. We would like a couple of the custom name/value pairs to be limited to a specific set of answers that can be chosen out of a drop-down box. When we try to implement this, we get an error.

      Is there an example that shows how to implement this kind of functionality?

      Thanks!

      J