Discussion

Public API

Hi Let me know how to create a new Page List property by using PublicAPI, if possible how to create a single value property.

Thanks in Advance.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

October 1, 2010 - 9:42am

Are you asking how to create a new property or how to initialize a value of a property using publicAPI?

October 1, 2010 - 9:48am

quote:


Originally posted by KANDIMAP

Are you asking how to create a new property or how to initialize a value of a property using publicAPI?

Thanks for Quick Response Kandi

I am asking how to create a new property by using Public API?

October 5, 2010 - 4:46pm

Hi,

I dont know the context when you want to add property . Please look at below link would be helpfull.

http://pdn.pega.com/DevNet/PRPCv4/TechnologyPapers/documents/JSPStreamSupport52.pdf

API methods

1) void put(ClipboardProperty aProperty)
Puts a property onto the clipboard.

2) java.lang.Object put(java.lang.Object aReference, java.lang.Object aProperty)
Puts a property onto the clipboard.

myStepPage = null;
if( myStepPage == null){
myStepPage = tools.findPage("xxx", false); // find page by name
//myStepPage = tools.getPrimaryPage(); to get reference of primary page
myStepPage.put();
}