How do I embed my facebook url into a files and media property in notion?
- Missing value of required parameter ‘page’.
- Missing value of required parameter ‘url’.
How do I embed my facebook url into a files and media property in notion?
maybe I can somehow merge the two data points into a single array?
{{toArray(53.properties_value.Socials.external; 2.properties_value.Company Facebook
)}}
Hey there,
can you show the configuration of the Notion module and what you are mapping inside?
this is what I have right now. What I am achieving is a successful insert of a new item into notion. However after that I need to embed a URL into a ‘Files & Media’ column / property
creation of new item:
after that I try to group the new items current socials (files and media) and try to group it with a new link to insert
{{toArray(53.properties_value.Socials.external; 2.properties_value.Company Facebook
)}}
after that I try to insert all of the links into the ‘Socials’ column which is a files and media property. I want to embed a new link with the existing links already. I had this working before but it would overwrite my data which is not what I want.
OK in the previous screenshot it was showing that the final tools module was giving an error - most likely because 53.properties_value.Socials.external isn’t an array but a variable inside the array.
You need 53.properties_value.Socials - but I dont see what the structure of this array is. Or if you want to combine 53.properties_value.Socials.external and 2.properties_value.Company Facebook
, then you need to add them to an emptyarray..
Second - that if formula in the company phone isnt doing anything meaningful. Its checking if company phone one is not equal to andcompanyphone2 not equal to an empty string. You need to reformat it, maybe try using the variables from the boxes instead of copying the formula from somewhere.
And lastly - the initial error is showing that its missing values for page and url, but I don’t see those anywhere in the screenshots.
I no longer have the original setup. I doubt I was doing it right so I started trying a different approach. What can I do to fix it? I am just trying to embed a link into my existing data within my files and media column named “Socials”
If you need to add values to existing complex array you can do it with a JSON module. Take the existing array as a JSON and add the extra item at the bottom.
{{add(ifempty(53.properties_value.Socials; ); {“name”:“Facebook Link”;“type”:“external”;“external”:{“url”:{{57.Facebook}}}})}}
idk
Get the existing socials as a JSON and then use Create JSON to add the new items at the bottom.