Questions tagged [notion]

97 questions
0
votes
0 answers

Cannot create column_list within a heading_1 in Notion API (Appending a block)

I am trying to append a block to a notion page and there is a heading_1 inside that block that contains children which is a column list that consists of 3 columns, I sent a request structured as follows, heading_1 -> children -> first child is a…
Joe
  • 128
  • 6
0
votes
0 answers

How to read the list of pages with its names and ids in the home page (top level, workspace page) in Notion (using API or SDK)

How to read the list of pages with its names and ids in the home page (top level, workspace page) in Notion (using API or SDK) I want to read all the pages in the home page ie top level workspace page in Notion using API or SDK Top…
0
votes
0 answers

Get the database values on Notion (made with RollUp & Relation & Aggregation) -> to use in on integromat / make

I am using notion with Relation, roll up and aggregation to get some numbers -> pic 1 I want to retrieve those numbers to use them in excel (or else) How can I do that (using make / integromat ?) When I do it on make the output is the formula / the…
0
votes
0 answers

Connect Notions Share Link With Custom Domain (cloudflare)

as a beginner i am trying to connect Notions Share Link With Custom Domain by cloudflare. I follow this steps and now when i connect to the WIFI the website dosnt work. But with the LTE it works well. How can i solved this problem? Thanks I have…
0
votes
0 answers

in Notion, How do I show the sum of values based on project status?

In notion I want to achieve this: I have two databases one is Project with field "Value", which is connected to another database called "incomes". So if project has status completed formula must show sum of values which has status completed.…
Gelebrin
  • 29
  • 9
0
votes
0 answers

How to create an embed that allows switching between multiple code snippets via a button

I wish to create embeds in notion to manage and share my code snippets. However, some code snippets serve the same purpose. For example, a sorting algorithm can be written in multiple programming languages, or implemented in different ways (quick…
Paulin
  • 1
  • 1
0
votes
0 answers

how to add style class to notion edit page

I am trying to add some class style to notion edit page. But it seems that some kind of technologies(flutter-web?) notion used prevent that happens. the dom tree is rendered by a controlled mutation state. Any ideas that we can inject class to…
NewBee
  • 1,331
  • 12
  • 13
0
votes
0 answers

Notion API for Java can't retrieve a Notion DataBase

Code: private void GetDBase() throws IOException { try { client = new NotionClient(TOKEN); String t = client.getToken(); System.out.println(t); } catch(Exception e) { } Users users = client.listUsers(); …
Gary
  • 1
  • 1
0
votes
1 answer

How to add a description to a Notion page via api?

I have a request with body like this: { "parent": { "database_id": "" }, "properties": { "Name": { "title": [ { "text": { "content": "New note" …
0
votes
0 answers

In Notion, how to have different percentages of completion for the subprojects of a project?

In Notion, I created a Completion column for a project named My Project, with two sub projects. Then, I set a task for each project and put their status to Done. Here is what I obtain: So, the Completion for My Project is empty, I would like it to…
ailauli69
  • 522
  • 6
  • 19
0
votes
1 answer

How to calculate Current Monthly Attendance?

Using Notion, I have databases one Class Lessons and one for Summary Stats. In the Class database, I have a Relation type property linked to Summary Stats for every class. In the Summary database, I have a rollup to count the all-time overall total…
Ross
  • 453
  • 4
  • 16
0
votes
0 answers

Unable To Set Parent As database_id When Creating A Page With Notion SDK

I'm trying to make this request: const response = await notion.pages.create({ parent: { database_id: tasksDatabaseId, type: "database_id", }, properties, }); Which works fine until I add the time_zone property to my date…
Alex S
  • 190
  • 3
  • 15
0
votes
1 answer

Create a table using Notion API

I'm trying to figure out how to use Notion API, but following example in their official documentation return an ungooglable error. I'm following this docs and here is my code: headers = { 'Authorization': f"Bearer {api_key}", "accept":…
0
votes
1 answer

How to Append block children

I'm using the code example on notion doc, but it raise the 400 error how to fix it? below are the code I'm using: import requests toggle_heading = 'https://api.notion.com/v1/blocks/{my_blockid}/children' headers = { 'Authorization': 'Bearer…
0
votes
1 answer

How to unminify / format html without changing the formatting?

I have a minified HTML file (specificially: an exported HTML from Notion.so) and want to make it editable by unminifying it. Is that possible? Could I automate this process? The issue is that when I format the HTML, the user interface…
sueszli
  • 97
  • 9