cancel
Showing results for 
Search instead for 
Did you mean: 

Custom layout not available after browsing several levels

Former Member
0 Kudos

Hi,

I have assigned a custom layout set to a repository and checked "Apply settings to all subfolders". Then the layout set takes effect in the folder, and about 4 levels navigation inside. Like

/myrep

/folder1

/sub2

/sub3

However, when I navigate deeper, like /myrep/folder1/sub2/sub3/sub4/, the layout disappeared.

So can I set how many levels the layout set can take effect?

Thanks,

Ray

View Entire Topic
former_member188556
Active Contributor
0 Kudos

Hi Ray

If u want the layout to be present through out the folder u can create an OTH and apply it to the folder at the root level. This will force the folders to have a particular layout rather than a admin layout...

Regards

BP

Former Member
0 Kudos

Hi BP,

Thanks for help, but how to create an OTH... I haven't touched OTH before.

Thanks,

Ray

former_member188556
Active Contributor
0 Kudos

U can create a sample OTH like the

<?xml version="1.0" ?>

- <ObjectTypeHandler Name="ray" Class="com.sapportals.wcm.service.objecttypehandler.GenericObjectTypeHandler">

- <SelectionCriteria>

- <Paths>

<Path>/documents/Public Documents/Ray1/**</Path>

<Path>/documents/Public Documents/Ray2/</Path>

</Paths>

</SelectionCriteria>

- <Properties>

<Property Key="rndLayoutSet" Value="ray_AdminExplorer" />

</Properties>

<Actions />

</ObjectTypeHandler>