Hello, I have a SuiteApp project. Is it possible t...
# sdf
m
Hello, I have a SuiteApp project. Is it possible to add custom records that come from an Account customization project as dependencies? I've looked in the documentation and it only shows how to add dependencies for objects from another SuiteApp or from a Bundle. I'm not sure if this is possible... Thank you. Relevant extract from the SDF documentation:
Copy code
<dependencies>
        <applications>
            <application id="com.example.mysuiteapp">
                <objects>
                    <object>customrecord_sample</object>
                </objects>
            </application>
        <bundles>
            <bundle id="351">
                    <object>customrecord_sample2</object>
               </bundle>
            <bundle id ="451|452|453">
                     <object>customrecord_sample3</object>
            </bundle>
        </bundles>
        </applications> 
    </dependencies>
a
I'm not sure why you'd ever need or want this... did you try just formatting the way would for an Account Customization Project?
Copy code
<dependencies>
    <objects>
        <object>customrecord</object>
    </objects>
    <files>
        <file>/SuiteScript/reference/ext_UserScript.js</file>
    </files>
</dependencies>
if your SuiteApp is dependent on something from an account customization project... then by definition it can only work in that account... which would effectively make the current project also an Account Customization rather than a SuiteApp, since the only accounts that could install your suiteapp would have to have your account customization... which would usually just be your account!?
is your old account customization project actually a suiteapp that wasn't setup as suiteapp? I think you'd probably just want to migrate that old AC project into a new SA project and then reference it as documented
m
Okay, you have a good point there. I did try it this way, but it didn't like it. It was looking for the
<applications>
or
<bundles>
Copy code
<objects>
        <object>customrecord</object>
        <object>customrecord</object>
         <object>customrecord</object>
</objects>
I'll convert the ACP to a SuiteApp I think. Thank you!
👍 1