Page 1 of 1

Seeing '=LinksTo()' items

Posted: 05 Dec 2022 15:53
by BEJ
1) Is there a way to see what a Source Template links to? See screenshot showing links.
Screenshot 2022-12-05 10.46_edited.jpg
Screenshot 2022-12-05 10.46_edited.jpg (247.5 KiB) Viewed 429 times
2) What happens if I delete a Source Template that has one or more links?

Re: Seeing '=LinksTo()' items

Posted: 05 Dec 2022 16:15
by ColeValleyGirl
1) View > Record Links

2) Any linked Sources revert to Generic Sources. If you undo the deletion, the template data associated with the linked sources doens't appear to be restored.

Re: Seeing '=LinksTo()' items

Posted: 05 Dec 2022 16:22
by BEJ
Thanks. That helped a lot--found what I needed to see.

Re: Seeing '=LinksTo()' items

Posted: 05 Dec 2022 18:30
by tatewise
See FHUG Knowledge Base Finding Where Records are Used that explains various ways to find where any type of record is used.

Helen: Is 2) a bug that should be reported to CP?

Re: Seeing '=LinksTo()' items

Posted: 05 Dec 2022 18:36
by davidf
tatewise wrote:
05 Dec 2022 18:30
Helen: Is 2) a bug that should be reported to CP?
ColeValleyGirl wrote:
05 Dec 2022 16:15
2) Any linked Sources revert to Generic Sources. If you undo the deletion, the template data associated with the linked sources doesn't appear to be restored.
I think it partly depends on whether you expect
  • a "template" to be a "plan" that is used only at the time of creation - Like a Word Template is used when a Document is created (at a basic level) or whether
  • what you have created is meant to respond to subsequent changes in the template - a bit like HTML documents respond to changes in a site-wide style sheet

Re: Seeing '=LinksTo()' items

Posted: 05 Dec 2022 18:41
by ColeValleyGirl
tatewise wrote:
05 Dec 2022 18:30

Helen: Is 2) a bug that should be reported to CP?
I don't believe so.
davidf wrote:
05 Dec 2022 18:36
  • I think it partly depends on whether you expect
  • a "template" to be a "plan" that is used only at the time of creation
which I do -- we already know that if you modify a source template record, linked sources are not updated.

It may not be the way some people would like it to work, but that doesn't make it a bug; it's a design choice.

Re: Seeing '=LinksTo()' items

Posted: 05 Dec 2022 18:50
by tatewise
But Edit > Undo is meant to: "Undo the last change to your data." according to the Help page.
Therefore any deleted data should get reinstated surely?
i.e. The Template Field data values should be restored.
If a Templated Source Record is deleted then Edit > Undo restores it, including all Templated Field values.
If a Templated Field is deleted then Edit > Undo restores it, including its value.
So if FH deletes such fields then surely Edit > Undo should restore them. Why not?