This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

D1IM 7.1.2 templates are not working when creating an object via script

Hi

Since we have migrated our System from 6.1.3 to 7.1.2 we have the problem with some custom sync scripts, because they try to create a new object in the tables UNSAccountB and UNSGroupB. But the creation process fails due to not working template for the column DistinguishedName in both tables.

I have checked the behaviour in the Debugger and in the ObjectBrowser with the same properties. In the Visual Studio Debugger the DN was not build after alle required properties were set and although I have done an ExecuteTemplate. In the ObjectBrowser the template was executed sucessfully after I have entered the first properties  UID_UNSRootB, AccountName and CN (same properties that will be set by the script).

As workaround we also set the DN within the script, but that cannot be the answer!

So, I hope that someone of you can give me the answer how we can fix the problem that templates will also work by creating an object from a script.

Thanks a lot!

-
Regards
Sven

Parents
  • Hi Markus

    On a first attempt I will test and use the modified standard template, I think that this will be the best way for the first time.

    If I have enough time for testing purposes I will check your first suggestion regarding the container structure flag.

    Regards
    Sven
Reply
  • Hi Markus

    On a first attempt I will test and use the modified standard template, I think that this will be the best way for the first time.

    If I have enough time for testing purposes I will check your first suggestion regarding the container structure flag.

    Regards
    Sven
Children
No Data