-
Hi ! Thanks for this package, it's really usefull to us :) I'm almost done with anything I needed but i'm struggling with the relation property. The property already exist, and is working on Notion in the Database, but I can't figure out how to set the page ID in the field .. If anyone has an idea 🤷 ? "$this->parent->notion_page_id" contains the page_id of the database row I want to link. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi! I think this should work. $page->addProperty('merge_id', Relation::create($this->parent->notion_page_id)); |
Beta Was this translation helpful? Give feedback.
-
Ok, I found the issue. It's $page = $page->addProperty('merge_id', Relation::create($this->parent->notion_page_id)); and not $page->addProperty('merge_id', Relation::create($this->parent->notion_page_id)); Sorry for wasting your time, and again, thanks for this awesome package. |
Beta Was this translation helpful? Give feedback.
Ok, I found the issue.
It's
and not
Sorry for wasting your time, and again, thanks for this awesome package.