cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way set value to an iview property programatically

Former Member
0 Kudos

Hello,

I have built an application that can retrieve the value stored in an iview property called "URL Help".

I have used the code to retieve the value similarly can anyone tell me any method that are avilable to set the value of the iview property

Thanks.

.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

Check below thread

It is helpful

Koti Reddy

Former Member
0 Kudos

Hi,

The value to the iview can be set programatically by adding the below code in the portalapp.xml file created with each of the project between the tags <component-profile></component-profile>

<property name="Name to be displayed in the iview" value="value

<property name="personalization" value="none"/>

<property name="type" value="values that have to be set in the iview"/>

<property name="plainDescription" value="Text for description"/>

</property>

</component-profile>

For a dropdown in the iview for a particular entity,the values can be delimited by commas for eg:

<property name="type" value="select[1,2,3,4] "/>

Kind Regards,

Manoj Durairaj

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

Thank you for helping me out in this regard. I have found a way to set the property of the iview form .java file. Its like just use the method putAttribute(String, String); and specify the property id and its value in the in the method. This can set the vale of the property you have metioned.

Thanks.