Ryan Valizan
10/21/2024, 4:27 PMINLINEHTML
type) via SDF fails when the default value contains escaped HTML, despite being able to save the exact same value via the UI.
Details:
• The minified HTML is 1,266 characters long, while the escaped HTML used in the XML object for deployment is 1,468 characters long.
• We can successfully save the custom field with HTML using the NetSuite UI in both Sandbox 1 (Version 2024.1) and Sandbox 2 (Version 2024.2).
• When we attempt to deploy the field via SDF (with the HTML included as the default value):
◦ In Sandbox 1, the deployment fails with a generic “an error occurred deploying the project.”
◦ In Sandbox 2, the deployment succeeds with no issues using the same HTML default value.
We could deploy the object with empty default values and then fill them in after release, but we prefer to track the HTML values directly in the repository for version control.
Main Question:
• Why would a deployment via SDF fail when we can save the same HTML directly via the UI? Is there a known limitation or difference in how SDF handles INLINEHTML
fields with escaped HTML compared to the UI?
Any guidance would be greatly appreciated, as we’d like to keep the HTML tracked in the repositorycreece
10/21/2024, 7:56 PM