UpdateElementsDependencies;
The UpdateElementsDependencies method updates all links to the Link element.
To update a link to the Link element by the key, use the IRdsDictionary.UpdateElementDependencies method.
Executing the example requires that the repository contains a dictionary with the DIM identifier that contains the elements referring to elements of other objects.
Add links to the Metabase, Rds system assemblies.
Sub UserProc;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Dict: IRdsDictionary;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("DIM").Bind;
Dict := MObj As IRdsDictionary;
Dict.UpdateElementsDependencies;
End Sub UserProc;
After executing the example all links to the Link element are updated.
See also: