cancel
Showing results for 
Search instead for 
Did you mean: 

Expand Folders by default in Detailed Navigation in AFP SAP Portal 7.3

Former Member
0 Kudos

Hi Experts,

I would need to show the expanded folder in DTN.

For More details: I have a scenario where first iView as Landing page, next to that iView need to show list of iViews in folder/Workset structure. In that folder structure I need to open first folder with expended mode as soon as we navigate to that role.

Below screenshot for your quick understanding.

I understand that there is such kind of property to expand the folder by default for Worksets, Pages, Folders. Is there any other way around to achieve this scenario via property settings?

If not if we want to customize the DTN component (com.sap.portal.navigation.afp.dtn) what changes need to be involved in this?

Can you please assist me on this?

Regards

Venky

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi all,

I have the same need. Did you found any solution to do it ?

Many thanks by advance,

Best regards,

Fabien

Former Member
0 Kudos

In 7.0 Version I am able to achieve this by changing the below property value to True in portalapp.xml file.

<property name="com.sap.portal.navigation.detailedtree.openfolder" value="true">

<property name="plainDescription" value="Expand First Item in Detailed Navigation"/>

<property name="category" value="Navigation"/>

<property name="validvalues" value="4/true5/false"/>

<property name="longDescription" value="Determines whether to open a folder that is the first item in the Detailed Navigation iView when selecting an item in top-level navigation."/>

</property>

But in 7.3 com.sap.portal.navigation.afp.dtn component didn't have this property value and I couldn't find the JSP file as well. If we add this property in portalapp.xml will it reflect in 7.3 portal?

Any one tried this?

Regards

Venky

saar_dagan
Employee
Employee
0 Kudos

Hi Venky,

Unfortunately this feature doesn't exit in 7.3.

if you decide to customize the DTN you will need to write the mechanism of detecting that the node if a folder and expand it.

BR,

Saar

Former Member
0 Kudos

Hi Saar, By any chance do you have any sample code to achieve this?

KR

Venky

saar_dagan
Employee
Employee
0 Kudos

Hi Venky,

I do not have a sample code but from PCD point of view you just need to check the object class attribute and make sure it is pcd context.

BR,

Saar