Has anybody had issues deploying a record with a s...
# suite-app
m
Has anybody had issues deploying a record with a sublist that has a search associated to it? The search is included in the sdf project but it can't find it or it's going in the wrong order. I'm using webstorm and importing via webstorm and then deploying via suiteapp * ERROR * An error occurred during custom object update. Details: The script id '[scriptid=customsearch_nact_recon_item_on_recon]' referenced by object field 'recordsearch' could not be resolved. File: ~/Objects/customrecord_nact_recon.xml Object: customrecord_nact_recon (customrecordtype) 2021-11-29 115842 (PST) Installation FAILED (1 minute 25 seconds) snippet from custom record xml
Copy code
<recordsublist scriptid="sublist_288_t2205184_770">
  <recorddescr>Grouped Reconciliation Items</recorddescr>
  <recordfield></recordfield>
  <recordsearch>[scriptid=customsearch_nact_recon_item_on_recon]</recordsearch>
  <recordtab>[scriptid=customrecord_nact_recon.tab_333_t2205184_431]</recordtab>
</recordsublist>
k
You will need to specify the order in which you want things creating and create the search before creating the record. I've had the same issue and reverted to a script generated sub list added to a tab due to this.
m
Where do you specify the order?
k
In the deploy.xml
m
Maybe I'm missing something but if I reorder to do the search first, it can't create until after the custom record is created as the record is a dependency on the search but the record can't create because the search doesn't exist yet
k
Yep my issue exactly
m
@Ali Syed (NS DevTools QA) @Carlos Olivares (NS DevTools PM) Is this a known bug with sdf deployment?