Hello Friends,
Today want to share the knowledge of how to add a custom field in WebCenter Forms Recognition (WFR) Header and Table. and how to add the value of custom field in WFR generated xml file.
we need to follow the below steps after opening the AP Invoice Project in Definition Mode.
Step(1) select the Invoices Class and double click on it to open the invoices Fields list as below
Step(2) select Insert Field Definition option from the Edit Menu --> Field Definition and make sure that text is selected for Inserting the Field in Header Part as below
Step(2b) for adding the field in table select the lineItems in Fields tab and select the properties via pressing the shift+f4 or select the show Properties from the Edit menu as below.
Step(3) add these newly added field in AP Project configuration file ie. AP Packaged Project_1007G.ini as below for adding the Field in Header(Image-a) and Table LineItems (Image-b)
Image-a
Image-b
Step(4) now come back to the Classes Tab and right click on User Exits Class and select the show Script option or else use f12 option to open the script it will open the Script Window click on Red Button to stop Script Execution as shown below.
Steps(5) Press Ctr+F and enter the UserEXITXML to search the method and Add the following Code in the Script to add the custom fields value in WFR generated XML File as shown below.
that's it it will add the newly added field value in the WFR generated xml file.
Thanks for reading the blog.
Today want to share the knowledge of how to add a custom field in WebCenter Forms Recognition (WFR) Header and Table. and how to add the value of custom field in WFR generated xml file.
we need to follow the below steps after opening the AP Invoice Project in Definition Mode.
Step(1) select the Invoices Class and double click on it to open the invoices Fields list as below
Step(2) select Insert Field Definition option from the Edit Menu --> Field Definition and make sure that text is selected for Inserting the Field in Header Part as below
Step(2b) for adding the field in table select the lineItems in Fields tab and select the properties via pressing the shift+f4 or select the show Properties from the Edit menu as below.
Step(3) add these newly added field in AP Project configuration file ie. AP Packaged Project_1007G.ini as below for adding the Field in Header(Image-a) and Table LineItems (Image-b)
Image-a
Image-b
Step(4) now come back to the Classes Tab and right click on User Exits Class and select the show Script option or else use f12 option to open the script it will open the Script Window click on Red Button to stop Script Execution as shown below.
Steps(5) Press Ctr+F and enter the UserEXITXML to search the method and Add the following Code in the Script to add the custom fields value in WFR generated XML File as shown below.
that's it it will add the newly added field value in the WFR generated xml file.
Thanks for reading the blog.










