In the `manifes.xml`, what is the format to add a ...
# sdf
m
In the
manifes.xml
, what is the format to add a dependency on an object installed via a SuiteApp? I get this message and I wan to manually add this depenency.
Copy code
Details: The object reference [appid=com.vendorname.suiteapp, scriptid=customrole_rolename] is missing in the project and also not included in the dependencies list.
e
Best is probably to run the Add Dependencies to Manifest, does that handle it for you? If not, I think you need under
manifest > dependencies
Copy code
<applications>
  <application>
    <objects>
      <object>โ€ฆ
Sample
m
No. Add dependencies does not add it automatically. And to add it manually, I don't remember the format to specify. It needs to include both the appId and the scripId. I think I figured it out, it looks like it needs to be
appId.scriptId
, so
Copy code
<object>com.vendorname.suiteapp.customrole_rolename</object>
๐Ÿ‘ 1
That doesn't seem to work either. I get a different message with that format, but it doesn't recognize that the suiteapp and that object are installed in the target environment.
Copy code
<dependencies>

    <applications>

        <application id="com.example.mysuiteapp">

            <objects>

                <object>customrecord_sample</object>

            </objects>

        </application>

    </applications>

</dependencies>
e
looks like what i was suggesting earlier, too. @Mike Robbins does that work?
๐Ÿ‘ 1
m
You guys are both correct. Thank-you! Apparently I glossed over your response @ec and only saw what I thought I was seeing. I'm sorry about that. That is indeed the format that I need. Again, my apologies. I don't want to become the guy that doesn't read stuff on the internet. ๐Ÿ™‚
๐Ÿซฃ 1
๐Ÿ˜ 1
n
Also make sure it's stored under the object folder. If you have child folders, you'll have to add them.
e
itโ€™s ok, thanks for asking us humans and not ai-stanley ๐Ÿ˜† - just kidding, you probably couldโ€™ve gotten the solution faster there
m
totally forgot about him. I should give it a shot. ๐Ÿ™‚
n
Maybe it's a she ๐Ÿ˜‚
e
you can always test - itโ€™s probably whatever battk is ๐Ÿ˜„
just saw your post @Mike Robbins - i guess we did a bit better
m
For sure. Thanks again!! I appreciate you both taking the time.
c
I know ya'll solved this but be careful hitting the add dependencies option. It always pulls in weird things like Suite Billing when I do it when nothing we have relies on it at all.
e
usually i rely on git to be able to revert to a previous version in case it pulls in such things