Stewart Rutledge2026-08-26

Writing H5 Scripts with LoupeCode

loupeh5-script

One of the really cool features in LoupeCode is our interactive approach to designing H5 scripts. It's not just a prompt. It simplifies button placement, uses configuration from your M3 environment and makes finding and identifying fields in M3 easy.

For example, say you want to block customer orders for customers that don't have a value for a certain custom field. That's simple to do with LoupeCode.

You open M3 right there, identify which field you want to read from, and link it to the script. After that you just prompt:

"We need to block order creation for customers that are missing a value for custom field Shipper Code."

And press generate! A few minutes later you have a working script.

The same idea works for button and field placement. LoupeCode uses your environment to figure out custom fields, CMS100 APIs and anything else that's unique to you. Check out the video below to see it in action.

As always, if this interests you feel free to reach out here or via hello@loupeapp.net