cancel
Showing results for 
Search instead for 
Did you mean: 

Make View fields editable

Former Member
0 Kudos

Hi All,

I am making a new component in CRM WEB Client UI. I have created a form view. Whenever I test that view, I see all fields greyed out. I need to make them editable always. Can anyone please help me out ??

Thanks

Gaurav

Accepted Solutions (1)

Accepted Solutions (1)

PeCo
Advisor
Advisor
0 Kudos

Hi Gaurav,

I assume your view makes use of BOL integration, meaning you're accessing all the data via Business Object Layer (BOL). In that case what you need to do is to lock the BOL entity/ entities the view fields are bound to. Usually, you need to call the lock method of the current entity of the respective context node(s) of the view. If the lock is successful, this will result in editable fields.

For saving the data you need to access the BOL transaction associated with the respective entities and save that.

Hope this helps.

Peter Conrad

Former Member
0 Kudos

Hi Peter

Thanks for your reply. I am using a value node. It was a chtmlb attribute which I had to change. so its working now. Sorry I put the question twice and I marked one as answered and left the other one.

Thanks for your answer, now I know how to make fields editable if I am using a BOL node.

Gaurav Sahai

enrique_estevez
Explorer
0 Kudos

Hello how do you make editable a field that belongs an table view?. For example, i have enhanced the view itemlist of the btadmini context node with a new field batchid. this field appears to me as non-editable. Because the method get_i_batchid returns me empty if i use the method set_i_batchid with a value.

Thanks for your time.

Greetings.

Enrique

Former Member
0 Kudos

Hi Peter,

I created new Form view with bol entityt BTAdminH in New UI component using component work bench.

Whenever I test that view component in CRM WEB Client UI, All fields are not editable and showing "not bound " as text.

I need to make them editable always without not bound text.

Hope you have resolved same kind of issue. Please help me to resolve the issue.

Thanks

Raj

Former Member
0 Kudos

Am facing the same issue guys.Is yuor issue resolved?

Regards

Najm

Answers (1)

Answers (1)

Former Member
0 Kudos

CHTMLB attribute