Hi, I am trying to deploy a SDF project and althou...
# sdf
m
Hi, I am trying to deploy a SDF project and although I have a customlist object, I guess another object references before this one is deployed and it errors out. It seems to be a timing issue, since I dont see a way to deploy just specific objects from the project first and the rest later, is there another way to get past this?
s
you can modify your deploy.xml to specify which objects/files to deploy
✔️ 1
s
If you enumerate the object paths in your file (rather than use the * wildcard), you can specify an order for the SDF deployment. It has worked for us, though it can be a bit of a pain if you have a lot of objects.
m
thanks guys that makes sense, sadly im importing objects from an existing environment and we are talking about 500+ objects, so it sounds like it will be a long manual process of enumerating them one at a time in the deploy.xml file
s
that's quite a lot. there is no way to split it into multiple projects?
s
I haven’t tried it, but maybe you can do a hybrid approach, where you specify a few key objects (list lists) then use a final wildcard path for everything else where order won’t matter
m
not at this time no, this was developed over a year or so without using SDF so now im trying to "cheat" and import it into an SDF project and then begin the process of cleanup, improve, etc.
s
for the object name, wild card doesn't work. maybe create folders under Objects and use wildcard for the folders
<path>~/Objects/firstGroup/*</path>
s
@Selcuk Dogru good idea with sub grouping and folders!
m
that makes sense
in other words, I would put all custom lists in a subfolder, put that one before the rest in the deploy.xml and that should technically push them first before the rest of the objects, correct?
s
yes, but before don't forget to clean all dependencies in manifest and add again
m
will give it a try now and hopefully that solves my issue, thank you guys for your help, I appreciate you taking time from your day to help others, my strength is in development, not so much the sdf platform, if you have any scripting questions feel free to hit me up in the future
👍 3