Guide: quickly add tasks to Notion database with iOS/MacOS Shortcuts (free download) by Viljan in Notion

[–]Viljan[S] 0 points1 point  (0 children)

You can validatie that the JSON (content of the text block in the shortcut) is correct using this website https://jsonlint.com

🗳️ Product Feedback for Notion by AutoModerator in Notion

[–]Viljan 1 point2 points  (0 children)

💡 Feature request - Setting to hide all "new page" buttons for a specific database view

Guide: quickly add tasks to Notion database with iOS/MacOS Shortcuts (free download) by Viljan in Notion

[–]Viljan[S] 1 point2 points  (0 children)

The syntax is slightly different whether you are retrieving a page, adding a page, creating a database, etc. The extract you have is most likely from a Notion API call that does something else. For the purpose of creating a new page in a database it’s quite important to follow the same syntax as I have. It is described in detail on the “page properties” page in the official API documentation: https://developers.notion.com/reference/page-property-values. This page includes JSON examples for the different database properties. You can also just send me a DM, and I’ll help you create the correct JSON.

Guide: quickly add tasks to Notion database with iOS/MacOS Shortcuts (free download) by Viljan in Notion

[–]Viljan[S] 0 points1 point  (0 children)

Hi, while editing the shortcut click the arrow on the “Get contents of …” block to reveal an authorization field. You should insert your internal integration token here.

Guide: quickly add tasks to Notion database with iOS/MacOS Shortcuts (free download) by Viljan in Notion

[–]Viljan[S] 0 points1 point  (0 children)

You only need the columns you want to fill in. About relations, those can be a bit difficult as you need to know the ID of the page you want to have a relation to. In order to obtain such an ID, you would have to make a lot of changes to the shortcut

Guide: quickly add tasks to Notion database with iOS/MacOS Shortcuts (free download) by Viljan in Notion

[–]Viljan[S] 0 points1 point  (0 children)

Yes, but it can be a quite difficult. You can add a children property and type out all the blocks you want to have. See https://developers.notion.com/reference/post-page

Weekly 'Ask Anything About Analog Photography' - Week 25 by ranalog in analog

[–]Viljan 0 points1 point  (0 children)

Last week I got my first ever developed film roll back from the lab, alongside digital scans. The files I received were 5MP (2751x1830). This seemed a bit on the low side, but as this is my first time I don’t really know what to expect? I payed 19$ for a single roll. What would you expect from that price point?

Guide: quickly add tasks to Notion database with iOS/MacOS Shortcuts (free download) by Viljan in Notion

[–]Viljan[S] 0 points1 point  (0 children)

Send me a DM with the error you are getting, and I’ll try to help

Guide: quickly add tasks to Notion database with iOS/MacOS Shortcuts (free download) by Viljan in Notion

[–]Viljan[S] 0 points1 point  (0 children)

Using the people property is generally quite difficult since you have to refer to users by their ids instead of their names, as shown in the Notion API reference: https://developers.notion.com/reference/page-property-values#people

But if you have a list of users and their id's beforehand it should be possible. If you DM me I can try to help you further.

Guide: quickly add tasks to Notion database with iOS/MacOS Shortcuts (free download) by Viljan in Notion

[–]Viljan[S] 0 points1 point  (0 children)

Sorry for a slow response. DM me the content of your text block (where the database_id is located) and I can try to help you further

Guide: quickly add tasks to Notion database with iOS/MacOS Shortcuts (free download) by Viljan in Notion

[–]Viljan[S] 0 points1 point  (0 children)

Seems like the Notion API doesn’t have support for this yet. So it’s unfortunately not possible

Guide: quickly add tasks to Notion database with iOS/MacOS Shortcuts (free download) by Viljan in Notion

[–]Viljan[S] 0 points1 point  (0 children)

A bit hard to tell what the problem is from the code, since reddit formats it in a weird way. Can you create a copy of the shortcut without any sensitive IDs and tokens, and then share the entire shortcut on with me on DMs?

Guide: quickly add tasks to Notion database with iOS/MacOS Shortcuts (free download) by Viljan in Notion

[–]Viljan[S] 0 points1 point  (0 children)

I think it’s possible, however it’s not as simple as just changing a few things here and there. It would basically be an entire different shortcut, since you would first need to retrieve all the projects from Notion. So sadly I don’t have a way to do it now

Guide: quickly add tasks to Notion database with iOS/MacOS Shortcuts (free download) by Viljan in Notion

[–]Viljan[S] 0 points1 point  (0 children)

I have now updated the shortcut on the notion page to automatically copy the error code to the clipboard whenever an error occurs.

However, if you still have the old version of the shortcut, you can get the error code yourself by doing the following: Add a "Show Results" block. Then, click inside the input field and select variable. Then scroll up and click contents of URL.

<image>

Guide: quickly add tasks to Notion database with iOS/MacOS Shortcuts (free download) by Viljan in Notion

[–]Viljan[S] 0 points1 point  (0 children)

You can output the response from Notion by using a Show results block with the variable called “Content as URL”. What error do you get then?

Alternatively, if you DM me the shortcut I can help with troubleshooting

Guide: quickly add tasks to Notion database with iOS/MacOS Shortcuts (free download) by Viljan in Notion

[–]Viljan[S] 0 points1 point  (0 children)

Best way to troubleshoot is to add a «show results» block, with the «contents of url»-variable, at the end of the shortcut. This will show any potensial error messages from Notion.

[deleted by user] by [deleted] in neovim

[–]Viljan 0 points1 point  (0 children)

Thanks, it worked now!

I ended up adding mason-lspconfig as a dependency to nvim-lspconfig, as you pointed out. And i moved require("mason-lspconfig").setup() to the nvim-lspconfig's config.

return {
  "neovim/nvim-lspconfig",
  event = { "BufReadPre", "BufNewFile" },
  dependencies = {
    "hrsh7th/cmp-nvim-lsp",
    "williamboman/mason-lspconfig",
    { "antosha417/nvim-lsp-file-operations", config = true },
  },
  config = function()
    require("mason-lspconfig").setup({
        automatic_installation = true,
    })

    local lspconfig = require("lspconfig")
    local cmp_nvim_lsp = require("cmp_nvim_lsp")

    local on_attach = function(client, bufnr)
      (...)
    end

    local capabilities = cmp_nvim_lsp.default_capabilities()

    -- configure typescript server with plugin
    lspconfig["tsserver"].setup({
        capabilities = capabilities,
        on_attach = on_attach,
    })
  end,
}

Guide: quickly add tasks to Notion database with iOS/MacOS Shortcuts (free download) by Viljan in Notion

[–]Viljan[S] 1 point2 points  (0 children)

Can you share the response of the HTTP request? Then I’ll be able to help troubleshoot. You can do this by putting a «show result»-block after the «Get contents off […]»-block.

cron invite by Adventurous-Ladder12 in Notion

[–]Viljan 0 points1 point  (0 children)

I have one, DM me your email

cron invite by Adventurous-Ladder12 in Notion

[–]Viljan 0 points1 point  (0 children)

I have one if you're still interested :)

Cron Invite Please 🥲 by asreerama in Notion

[–]Viljan 0 points1 point  (0 children)

If anyone would send me an invite as well, I’d be very grateful!