Using SDF to validate my project `Details: The obj...
# sdf
g
Using SDF to validate my project 
Details: The object reference [scriptid=custrecord_scm_enable_cpn_on_role] is missing in the project and also not included in the dependencies list.
 but trying to download that custrecord_scm_* fails because the XML is locked. I could remove custrecord_scm_* from my role xml definition file, but then if I sync objects from NetSuite, it comes back, and then I can't deploy again (validation fails with the above error.) Is there a trick to tell the manifest.xml file that the custrecord_scm_* is going to be available? Or to ignore it?
m
Manually add it to your manifest as a dependency. If it exists already in the target account, the installation should proceed as expected.
Copy code
<dependencies>
      <object>
         <object>custrecord_scm_enable_cpn_on_role</object>
      </object>
  </dependencies>
g
Great, thanks, that worked. I guess I had thought that I needed an Objects\customrecord_scm_... item to put in the dependency, and figured the custrecord_scm... wouldn't work. Looks like it did. Thank you.