Hi!
Please help me to solve this problem!
I have got an IView with a Height of 200; now i have to modify this value with a Portal Application.
Here comes the code....:
if (request.getComponentContext().getProfile().isPersonalizableProperty("com.sap.portal.iview.Height")){
System.err.println("Original Value "+request.getComponentContext().getProfile().getProperty("com.sap.portal.iview.Height"));
System.err.println("Setting");
request.getComponentContext().getProfile().setProperty("com.sap.portal.iview.Height","100");
System.err.println("Checkpoint");
request.getComponentContext().getProfile().store();
System.err.println("New Value "+request.getComponentContext().getProfile().getProperty("com.sap.portal.iview.Height"));
}
}
Now:
1)Deploy
2)IView Preview
LOG :
Orignal Value 200
Setting
Checkpoint
New Value 200
😔
The new value should be 100....not 200.....
Where is the mistake?!???!
Thanks.