Joel Musheno
09/05/2022, 6:15 PM<objects>
<path>~/Objects/custemailtmpl_aura_recurring_donation_email.xml</path>
<path>~/Objects/custemailtmpl_aura_recurring_donation_email.template.html</path>
<path>~/Objects/custemailtmpl_aura_single_donation_email.xml</path>
<path>~/Objects/custemailtmpl_aura_single_donation_email.template.html</path>
Project validate reports:
➜ TestStagingR git:(task/16021) ✗ suitecloud project:validate --server
The validation process has encountered an error.
Validating against TSTDRV2294847 - Aura MemberPlex Development - Aura Integration Role.
*** ERROR ***
Validation failed.
An error occurred during deploy file validation.
Details: An XML file is expected instead of ~/Objects/custemailtmpl_aura_recurring_donation_email.template.html.
Details: An XML file is expected instead of ~/Objects/custemailtmpl_aura_single_donation_email.template.html.
File: ~/deploy.xml
Leaving them out/commenting the template sout and i get:
➜ TestStagingR git:(task/16021) ✗ suitecloud project:validate --server
The validation process has encountered an error.
Validating against TSTDRV2294847 - Aura MemberPlex Development - Aura Integration Role.
Validate manifest -- Success
Validate deploy file -- Success
Validate configuration -- Success
Validate objects -- Failed
WARNING -- One or more potential issues were found during custom object validation. (custentity_aura_customerdisplayname)
Details: The appliestogenericrsrc field depends on the ADVANCEDJOBS feature. The manifest must define the ADVANCEDJOBS feature as required or optional.
File: ~/Objects/custentity_aura_customerdisplayname.xml
WARNING -- One or more potential issues were found during custom object validation. (custentity_nccer_custnumber)
Details: The appliestogenericrsrc field depends on the ADVANCEDJOBS feature. The manifest must define the ADVANCEDJOBS feature as required or optional.
File: ~/Objects/custentity_nccer_custnumber.xml
Validate files -- Success
Validate folders -- Success
Validate translation imports -- Success
Validation of referenceability from custom objects to translations collection strings in progress. -- Success
Validate preferences -- Success
Validate flags -- Success
Validate for circular dependencies -- Success
*** ERROR ***
Validation failed.
An error occurred during custom object validation. (custemailtmpl_aura_recurring_donation_email)
Details: Provide a non-empty template file.
File: ~/Objects/custemailtmpl_aura_recurring_donation_email.xml
An error occurred during custom object validation. (custemailtmpl_aura_single_donation_email)
Details: Provide a non-empty template file.
File: ~/Objects/custemailtmpl_aura_single_donation_email.xml
dbarnett
09/06/2022, 12:43 PM~/Objects/emailtemplates/*
◦ hopefully SDF then just sorts out all the dependency ordering logic on its own then
◦ imo probably better option regardless, at least I like to structure SDF projects into nested related object-type grouping anyways so things are a bit more organized within /ObjectsJoel Musheno
09/06/2022, 12:52 PMdbarnett
09/06/2022, 12:55 PMmediaitem
node at bottom of link https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_1515596181.html), but if is similar then maybe need to place in local SDF project file structure under src/FileCabinet/Templates , and then specify the .html files similarly under the <files> portion of deploy.xml like ~/FileCabinet/Templates/E-mail Templates/*
, if that gets around potential limitation of Objects can only specify .xml file types and not .html etcJoel Musheno
09/06/2022, 12:55 PMcustbody
custentity
etc) ?dbarnett
09/06/2022, 12:58 PMJoel Musheno
09/06/2022, 12:59 PMJoel Musheno
09/07/2022, 12:36 PM/*
wildcard expression to boot whatever code they’re using to import the template file.
I’m still going to try to speak with netsuite support in the case that i need to include templates by naming each reference.
Stole your naming convention (thank you 🙌) and wound up with this
<objects>
<path>~/Objects/Centers and Tabs/entryForm/*</path>
<path>~/Objects/Centers and Tabs/subtab/*</path>
<path>~/Objects/Lists, Records, Fields/crmcustomfield/*</path>
<path>~/Objects/Lists, Records, Fields/customlist/*</path>
<path>~/Objects/Lists, Records, Fields/customrecordtype/*</path>
<path>~/Objects/Lists, Records, Fields/entitycustomfield/*</path>
<path>~/Objects/Lists, Records, Fields/itemcustomfield/*</path>
<path>~/Objects/Lists, Records, Fields/transactionbodycustomfield/*</path>
<path>~/Objects/Lists, Records, Fields/transactioncolumncustomfield/*</path>
<path>~/Objects/Saved Searches/savedsearch/*</path>
<path>~/Objects/Scripts/restlet/*</path>
<path>~/Objects/Scripts/scheduledscript/*</path>
<path>~/Objects/Scripts/workflowactionscript/*</path>
<path>~/Objects/Templates/emailtemplate/*</path>
<path>~/Objects/Templates/advancedpdftemplate/*</path>
<path>~/Objects/Workflows/workflow/*</path>
</objects>