Views:

Behavior:
In my Platform tool I get a System.ArgumentException with the message "The specific link is not found". 

Cause:
When you create an object of for example a document or a file cabinet, the Platform loads only basic properties of this object. This is mainly for performance reasons.
In most cases, these properties are sufficient to work with this object. When the tool runs into the exception, you try to work with a property which was not loaded yet. 

Solution:
To load all properties of the object, you have to call the SelfRelation method on the object.
For example:
Document.GetDocumentFromSelfRelation();
FileCabinet.GetFileCabinetFromSelfRelation();

Comments (0)