<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged edit-form-dynamically</title>
<link>https://overflow.efficy.io/?qa=tag/edit-form-dynamically</link>
<description>Powered by Question2Answer</description>
<item>
<title>RunScript to retrieve dynamically the Edit Form of an entity</title>
<link>https://overflow.efficy.io/?qa=4480/runscript-to-retrieve-dynamically-the-edit-form-of-an-entity</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;for a customer we had in Efficy 10SP2+ in the EditSectionsForm the retrieval of the Edit form of an entity (see below for an example).&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;EditSectionsForm.Dona {[&amp;lt;%RunScript(getEntityEditForm)%&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;We are now upgrading the customer to Efficy 11.2 and now the forms didn't retrieved anymore. We had to rewrite it to have the retrieval of the Edit form in TabContentFields (see below for an example).&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;TabContentFields.Dona {[
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-fields&quot;&amp;gt;
&amp;lt;%Macro('PMUEditSection')%&amp;gt;
&amp;lt;%GetFormSections(form=&quot;%%Evaluate(|&amp;lt;%RunScript(getEntityEditForm)%&amp;gt;|)&quot;, fielddefs=&quot;FormFieldsEdit&quot;, noformbounds=T)%&amp;gt;
&amp;lt;/div&amp;gt;
]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I wonder why it isn't working anymore to retrieve the Edit form in EditSectionsForm. Could anyone explain this?&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Jeroen&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4480/runscript-to-retrieve-dynamically-the-edit-form-of-an-entity</guid>
<pubDate>Thu, 20 Jun 2019 07:22:09 +0000</pubDate>
</item>
</channel>
</rss>