cancel
Showing results for 
Search instead for 
Did you mean: 

PCD search for delta links

former_member182374
Active Contributor
0 Kudos

Hi all,

I'm trying to look for delta link pcd objects in my portal.

I have code that works for iviews, pages, roles & worksets, for example:

NamingEnumeration ne = dirCtx.search("","(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.iview)",
pcdSearchControls);

The following example shows how to read ONE delta link properties::

http://help.sap.com/saphelp_nw04/helpdata/en/44/703fd42043053ce10000000a1553f6/content.htm

I want to run this code for all delta links in the portal.

How to look for ALL delta links by code?

I'm using 7.00.17.

Regards,

Omri

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member182374
Active Contributor
0 Kudos

Solved it on my own.

The solution is to search roles and then do the drill down by using the code from this blog

(by using the list_context method).

Omri

Former Member
0 Kudos

Hi

use our coding to fetch iViews/pages/...

got through them and check wether one is a delta link or not:

If the object is not a delta link or inherited via a delta link, getDlModificationState() returns null.

regards

Johannes

former_member182374
Active Contributor
0 Kudos

Hi,

This is one of the first things that I've checked.

The problem is that the enumeration I get from searching iViews/Pages doesn't list iViews/Pages that have delta links...

For example when searching iVIews/Pages, all the IDs will return null when I'll run the getDlModificationState method,

but if I'll give delta link ID (which is different from the original iView) it'll work

Regards,

Omri