Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Somehow get the anonymous identifiers of subobjects. #5625

Open
Sophivorus opened this issue Apr 12, 2024 · 1 comment
Open

Somehow get the anonymous identifiers of subobjects. #5625

Sophivorus opened this issue Apr 12, 2024 · 1 comment

Comments

@Sophivorus
Copy link
Contributor

Sophivorus commented Apr 12, 2024

It would be useful to be able to somehow get the anonymous identifiers of subobjects. Suppose I create a template that sets a subobject and outputs some HTML to represent the subobject (like a card or a table). Then, in another page, I often want to query all subobjects with this or that property, and LINK TO THEM. Currently, #ask queries output a link to the page where the template/subobject is found, and the anonymous identifier #_abc123whatever is included in the URL as the hash/fragment. However, when I click the link, I cannot scroll the user to the relevant template and highlight it, because when defining the template there's no way to get the anonymous identifier and use it as the id attribute of the HTML.

@Sophivorus
Copy link
Contributor Author

Perhaps if the anonymous identifiers were stored as a special property of subobjects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant