November Happy Hour will be moved to Thursday December 5th.

Trigger value change when "on-page-edit" from javascript

Vote:
 

I have a custom function that is used in 'on-page-edit-mode'. From that function (javascript/jQuery) I want to trigger an update and a change on another property. How can I call the requeried Dojo-functions to trigger an update and an autosave?

Let's say I have a simple button and an input field (non epi-property). I want to read the value from the input filed and update the property Title when in "on-page-edit-mode'. Is this possible and how?

#109645
Oct 12, 2014 12:40
Vote:
 

Not sure how to do this with Dojo, but you have the Html.FullRefreshPropertiesMetaData() that does something similar: http://world.episerver.com/Documentation/Items/Developers-Guide/EPiServer-CMS/75/Content/Edit-hints-in-MVC/#FullRefreshProperties. 

Frederik

#109665
Oct 13, 2014 8:56
Vote:
 

Thanks Frederik,

I will look into it.

Anders

#109830
Oct 15, 2014 15:33
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.