Skip to Content
0
Former Member
Apr 12, 2007 at 09:50 AM

Changing the name of the iView dynamically using .NET PDK

13 Views

Hi,

I have one iView and i want to change the title of the iView (shown at Enterprise portal) dynamically using .NET PDK.

I am using following code to do the same.

foreach (SAP.Portal.Web.Components.Property propertyName in Profile.Properties)

{

if (propertyName.Name.ToUpper() == "COM.SAP.PORTAL.PCM.TITLE")

{

propertyName.Value = "Name of the iView";

break;

}

}

but this code is not working. If any one knows about this, please let me know.

Thanks,

Prashant