cancel
Showing results for 
Search instead for 
Did you mean: 

max length of PCD objects

christopher_griffin
Participant
0 Kudos

Hello

Very quick question...

Is there any limit on the number of characters in a PCD object ID? i.e. including the IDs and prefixes of all the parent folders in the path?

e.g pcd:portal_content/com.acme.fd_acme_content/com.acme.fd_mySite/com.acme.mysite.fd_myFolder/.....................myIview

Just wanted to check for future reference.

Thanks

Chris

Accepted Solutions (1)

Accepted Solutions (1)

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

Hi Chris,

There is no limit on the enter object ID, but there is a limit of 100 characters for the atomic name of any one object.

Though there is no limit, there may be some performance issues if you do lookups with very long names.

Hope this helps.

Daniel

christopher_griffin
Participant
0 Kudos

Hi Daniel

Thanks for your response. Can you define what you mean by the "atomic name"? In my example above, which part would the atomic name be (if any)?

Thanks,

Chris

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

Hi Chris,

pcd:portal_content/myFolder/myIview is the PCD name (or address or URL) of the iView.

myIview is the atomic name for the iView, just as myFolder is the atomic name of the folder.

All of this is JNDI stuff. Sun defines the following:

<b>Atomic Name:</b> An indivisible component of a name, as defined by the naming convention of the context in which the name is bound.

So, you can break down that long PCD name into sub-parts, but the smallest is the atomic name, which in real terms in the Object ID that you give when creating an individual portal object.

Hope this helps. Probably more than you asked for.

Daniel

Answers (0)