Using Search query through Notion

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
ri.amaral
Posts: 4
Joined: Tue Apr 26, 2022 6:42 pm

Using Search query through Notion

Post by ri.amaral »

Hi all,

I am trying to create a URL link directly from Notion to a search query on Bookends. Not a biggie, I thought.
After trying to find out in the manual (not successfully), I was suggested by Chat GPT to use the following query to search for a Citekey on Bookends:

Code: Select all

bookends://search/User1=[Citekey]
[Citekey] is a reference field on a Notion database whose content has to be identical to a Bookends citekey (User1).
I used the formula and manually copied the result to a URL field.

Notion would not recognise the link. Pasting it on a browser does call Bookends, but nothing happens.

Could you please provide the correct syntax for this case? And what "code language" it follows?

Thanks!
Jon
Site Admin
Posts: 10291
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Using Search query through Notion

Post by Jon »

Bookends doesn't have a mechanism to respond to a search request using a URI. There are two ways to do what you want, though.

1. Copy the link to the reference in Bookends and paste it into Notion (don't have that app, so I don't know if that''s possible or if it will recognize it as a link). There are several kinds of links you can create in Bookends, including deep links to PDFs locations. But if you just want the reference to appear, use Edit -> Copy Link.

2. Create an AppleScript. You can search the database, get metadata, upload metadata, and much more. If Notion is scriptable, too, you might be able to create a script that would extract the citekey from Notion and search Bookends for it.

Jon
Sonny Software
ri.amaral
Posts: 4
Joined: Tue Apr 26, 2022 6:42 pm

Re: Using Search query through Notion

Post by ri.amaral »

Yeah, these were the other options I was informed about through ChatGPT.
Notion recognises links, but maybe AppleScript may help me more with the usage I seek.

Cheers!
Post Reply