Create a link to a database using Notes Outline

I am trying to create a link to a database inside an existing database (Left hand side navigator using an outline).

The code I have written in the Outline entry “Source”

@Command( [FileOpenDatabase]; @Subset( @DbName; 1 ) : “XX\YYYY\ZZZZZ.nsf”)

When I click on the outline button from the client. It is not opening the desired database. It is throwing the below error message.

@Commands and other UI functions are not allowed in this context”.

Please help me with the same.

Thanks for the help!

Subject: Create a link to a database using Notes Outline

Hello, Vinod. You don’t need to use code to open a database from an outline. Just highlight the database you want to open from your workspace and do an Edit, Copy As, Application Link. Then go to an outline entry and double click it to bring up the Outline Entry Properties box. In the Content area of the properties box select Link as the Type and use the Paste icon in the same area to paste the link information. That’s it!