Skip to main content

I deleted a control on a view, and checked it in.

 

Now when I access the form there is a  "The event "when a control on a view raises an event" could not be resolved.

 

There does not seem to be a way to remove this reference.

 

 

Unfortunately I've already checked in the view 😞

You should contact K2 Support. They may have SQL scripts that can help you revert your view to a previous version.


Have a look at this post. They talk about using Chrome as the only way to get rid of a rouge rule.

 

http://community.k2.com/t5/K2-blackpearl/Unable-to-save-changes-in-form/ta-p/77266

 

Resultion reposted in case link is deleted...

 

Resolution

Please use Google Chrome for this workaround:

-> Open K2 Designer and navigate to form with invalid rules (Chrome)
-> Hit F12 to open developer console
-> Select rule that you want to remove
-> Click the inspector glass on the bottom left then click on the Remove button at the top that has been disabled
-> You will notice in the inspect item window it will jump to a CSS entry
-> Please check a few lines above that you'll find a Javascript entry with the word 'Disabled' in the definition.
-> Remove the 'Disabled' word, this will enable the button.
-> You can then click delete rule

Do this for all erroneous rules in all form states, and when clicking on Save (or Finish) and the error comes up again, go through all the rules again to see if there aren't some dependent rules which also shouldn't be deleted.


Reply