Creating the iframe Template iScript

To create the iframe template iScript:

  1. Open the WEBLIB_PV.ISCRIPT.FieldFormula PeopleCode in edit mode.

  2. At the bottom of the PeopleCode, enter the following code:

    Declare Function ptIframeTemplateHNav PeopleCode WEBLIB_PT_NAV.ISCRIPT1 Field⇒
    Formula;
    
    /*
      * builds the inline frame template with the drop-down navigation
    */
    Function IScript_PVShopCart_Template
    
       /* parameter 1: HTML object name that will be used to generate the inline frame⇒
     template */
       	   %Response.Write(ptIframeTemplateHNav("PV_SHOP_CART_HNAV_TEMPLATE"));
    
    End-Function;
    

Note:

For Remote by URL templates, use the existing web library iScript and just modify the PeopleCode as shown previously.