Added support for Specific Reference
This commit is contained in:
parent
b438a2e2e4
commit
9f0e381f33
@ -341,9 +341,17 @@ begin
|
||||
end;
|
||||
|
||||
end
|
||||
else if (GetElementEditValues(ElementByIndex(ElementByPath(package, 'Package Data\Data Input Values'), 0), 'PTDA\Target Data\Type') = 'Linked Reference') then begin
|
||||
linkedRefKeyword := LinksTo(ElementByPath(ElementByIndex(ElementByPath(package, 'Package Data\Data Input Values'), 0), 'PTDA\Target Data\Reference'));
|
||||
if not IsLinkedRefRemote(e, linkedRefKeyword) then continue;
|
||||
else begin
|
||||
packageLoc := GetElementEditValues(ElementByIndex(ElementByPath(package, 'Package Data\Data Input Values'), 0), 'PTDA\Target Data\Type');
|
||||
|
||||
if (packageLoc = 'Linked Reference') then begin
|
||||
linkedRefKeyword := LinksTo(ElementByPath(ElementByIndex(ElementByPath(package, 'Package Data\Data Input Values'), 0), 'PTDA\Target Data\Reference'));
|
||||
if not IsLinkedRefRemote(e, linkedRefKeyword) then continue;
|
||||
end
|
||||
else if (packageLoc = 'Specific Reference') then begin
|
||||
linkedRef := LinksTo(ElementByPath(ElementByIndex(ElementByPath(package, 'Package Data\Data Input Values'), 0), 'PTDA\Target Data\Reference'));
|
||||
if InSameCell(e, linkedRef) then continue;
|
||||
end;
|
||||
end;
|
||||
|
||||
skip := false;
|
||||
|
Loading…
Reference in New Issue
Block a user