Refresh a Page Example:
Trigger after a SavePostChange event.
GetLevel0().Refresh() /* This will refresh the page */
Trigger after a SavePostChange event.
GetLevel0().Refresh() /* This will refresh the page */
This is because in the page field properties of the field “Field” the field value is left blank in the prompt properties. This can be fixed by setting FIELDNAME as List Box in record field properties.
Local SQL &SQL;
/* Clearing all existing values that were with AddDropDownItem() */
RECORD.FIELDNAME.ClearDropDownList();
/* Creating SQL for fetching values to be added to the drop down */
&SQL = CreateSQL("SELECT A.FIELD2 FROM PS_RECORD2 A WHERE A.FIELD3= :1", ¶1, &out2);
While &SQL.Fetch(&out2)
/* Adding each row from the SQL's output to the drop down */
N_RUNCNTL_SCI.INFOSILEM_DBNAME.AddDropDownItem(&out2, &out2);
End-While;
Update ISS as follows:
Open C:\Program Files\Common Files\Hexagon\Services\Instances\Yourportalsite\web.config in Notepad.
Locate section <system.webServer>
And paste following code:
<outboundRules>
<clear />
<rule name="Add SameSite" preCondition="No SameSite">
<match serverVariable="RESPONSE_Set_Cookie" pattern=".*" negate="false" />
<action type="Rewrite" value="{R:0}; SameSite=None; Secure" />
</rule>
<preConditions>
<preCondition name="No SameSite">
<add input="{RESPONSE_Set_Cookie}" pattern="." />
<add input="{RESPONSE_Set_Cookie}" pattern="; SameSite=None; Secure" negate="true" />
</preCondition>
</preConditions>
</outboundRules>