I am new to custom programming within ZoHo and am attempting to place an action (New Blank Form) into a form. The form currently lists all open quotes. This action will open a custom view called 'Quote_Review_and_APQP_Tracking' and display the previously selected rows data.
I was able to place the Custom Action into the form that calls the function apqp.APQP_Window and it seemed to open the view but the view requires a potential ID to display correctly.
The following is the code in the apqp.APQP_Window function:
- void apqp.APQP_Window(int Potential_ID)
- {
- curPotential = input.Potential_ID;
- openUrl("#View:Quote_Review_and_APQP_Tracking", "Popup window", "height=100,width=100");
- }
I need to determine how to transfer the selected row ID to the custom view (Quote_Review_and_APQP_Tracking) and display in a popup window.
The following is the topmost portion of the custom view code:
- htmlpage Quote_Review_and_APQP_Tracking(potential_idstr)
- displayname = "Quote Review and APQP Tracking"
- pdf = true
- content
- %{
Right now when i click the custom action (New Blank Form) it opens the custom view but errors as it appears it is not transfering the ID.
Any help would be much appreciated.
Thanks