Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Answer: No!
Reason: What is a directory link? This is the directory type and this same GUID. Another GUID is another link. If the database contains directories, documents or other entities that refer to your directory element, then even after physical removal from the database, when all these links become "broken", you can find out the initial GUID from each of them.
Output:What if you really need it? If necessary, then you can. You need to use the FindByReferences() function or your own code to find all links to your element. Next, create a new element in the database with the data of the original element, to which, using SetLinkNew(), set the link generated using GetLink() based on your GUID, and then write it down. And finally, make a replacement in the entire database according to the previously obtained list of the old link to the new one, after which the old element can be completely removed from the database.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question