Im looking for and "officially sanctioned" method for calling Merchant actions without displaying a screen.
I've used three methods for calling Merchant actions, each with a downside.
1. Using MvCall and passing the form data and discarding the screen output.
downside, server load rendering un-needed screen.
2. Calling the [merchant.mvc].Action_function() directly after populating required global variables.
downside, may not work without digging through to see what global variables are missing.
3. Copying the action into a seperate compiled function and making changes to resolve issues as needed. (g.module_library_db instead of g.library_db etc.)
downside, prone to breaking as merchant.mvc changes.
Should I be exploring the AJAX/Json functions.
I've used three methods for calling Merchant actions, each with a downside.
1. Using MvCall and passing the form data and discarding the screen output.
downside, server load rendering un-needed screen.
2. Calling the [merchant.mvc].Action_function() directly after populating required global variables.
downside, may not work without digging through to see what global variables are missing.
3. Copying the action into a seperate compiled function and making changes to resolve issues as needed. (g.module_library_db instead of g.library_db etc.)
downside, prone to breaking as merchant.mvc changes.
Should I be exploring the AJAX/Json functions.
Comment