When I create new alignment by c# API, the alignment is site less.
I can use method CopyToSite ("sitename") and deleted the original one. But this task is complicated to do it every new alignment.
So is there anyway to set the default site? Or make a setting before call Alignment.Create();
Thank in advance for your help.
Solved! Go to Solution.
Solved by hippe013. Go to Solution.
How are you currently creating your alignment? Post your code? The Alignment.Create method takes a siteId as one of the parameters.
Thanks, I use exactly the same method which already include the siteId.
I didn't understand why I did not see that parameter.
Can't find what you're looking for? Ask the community or share your knowledge.