marcusolsson / obsidian-projects

Plain text project planning in Obsidian
Apache License 2.0
1.42k stars 57 forks source link

How can I link to Projects from a note? (Can't check projects) #951

Open whdmike opened 5 days ago

whdmike commented 5 days ago

I tried to Link my Projects from a note. I followed the instructions, but something is not working.

I mark my projects as shown below (under commends) but somehow when I close settings, they switch off, and they are not shown inside command pallete. Also, random projects switch on when I close settings. I have around 30 projects that I want to link, and it seems mission impossible.

I followed steps: In the Command palette, select Advanced URI: copy URI for command. Select <Don't specify a file>. Select Projects: Show projects.

... and as I said the problem is I can't keep project checked, because when I close settings they uncheck themselves and on the other hand some other project become checked. I tried many times and still half of the projects are without links. Is there any other way around (that is not a hardcore programming, which I can't) . . project

. .

Discussed in https://github.com/marcusolsson/obsidian-projects/discussions/377

Originally posted by **marcusolsson** January 19, 2023 Since Projects stores all its configuration in the plugin configuration, `data.json`, you can't link to a Project from a note using internal links. A workaround is to use the [Advanced URI](https://github.com/Vinzent03/obsidian-advanced-uri) plugin, which lets you create links to commands. 1. Install [Obsidian Advanced URI](https://github.com/Vinzent03/obsidian-advanced-uri) from Community plugins. 2. In the **Command palette**, select **Advanced URI: copy URI for command**. 3. Select ****. 4. Select **Projects: Show projects**. 5. In a note, enter `[Show projects]()`. From 1.13.0, you can also enable commands to show specific projects and views. To enable a command: 1. Open **Settings**. 2. Select **Projects** in the sidebar. 3. Under **Commands**, enable the projects and views you want to create commands for. The command palette now has an additional Show command for each project and view that you enabled. Note that you can use **Advanced URI: copy URI for command** to create links for each one.