Component profile properties
I have created a Portal application and deployed and created an IView from the PAR.
In the portalapp.xml i had created a property in the component profile.
<property name="geoProdukt" value="">
<property name="personalization" value="none"/>
<property name="type" value="none"/>
In the iview geoProdukt value is given as "Internet".Application runs and everything goes good.
Now,i changed the property name "geoProdukt" to "geoProduct".When i deploy the PAR file i can see now all the 2 properties "geoProdukt" , "geoProduct" and their values respectively "Internet" and "".
I have restarted J2E engine,restarted the portal, removed the value "Internet" from property "geoProdukt" and deploy the archive once again,but nothing helps here.
When i delete the Iview and create once again i see only "geoProduct" and not "geoProdukt".
This is the behaviour i want but without deleting the iview,because if we delete the iview all other configurations and relations with other pages are gone.
Can anybody have solution for this ??.
Daniel Wroblewski replied
When you view properties in the property editor, the properties come from 3 locations (in order of priority):
Application (in this case, portalapp.xml)
When you make a change to an attribute, this change is made to the PCD, and this property value takes precedent over the others.
So, when you deploy your application, you have nothing in the PCD and just "geoProdukt" in the portalapp.xml. If you were to redeploy at this point, everything would be fine and you would only have "geoProduct".
But when you change the value of "geoProdukt", it is now in the PCD, and when you redeploy, the value is not erased. The property editor now displays "geoProdukt" (stored in the PCD) and "geoProduct" (stored in the application).
If you want to erase it, go to the PCD inspector and erase the "geoProdukt" from the iView.
Hope this helps.
P.S.: Why do you want to do all this?