How to transfer user-selected CMS IDs from Memberstack to Webflow multi-reference field with Make? Answered
Quick question,
I was using one of Memberstack's components and following along with this documentation.
My goal was to get CMS ID's to populate a memberstack custom field through user selections, and then pass that back to webflow's CMS to populate a multi-reference field via a Make automation system I am working on.
Unfortunately webflow is not recognising it as a valid multireference field input (likely assumes it is all 1 ID and isn't recognising it as multiple ID's). I tried using a text parser to look for comma's from the custom field and then replace it with ", " as well as add a " at the beginning and end in the hopes that would help it webflow recognise them as separate values for a multireference field to no avail.
Would anyone happen to have any pointers?
I just need the ID's from the memberstack form component linked above to do a round trip back into a CMS multireference field.
Any pointers would be much appreciated! š
Comments
6 comments
Hey Shadi null! Do you have each ID wrapped in quotes as well? You will need that as well because even with the comma separator, the Webflow API still requires that each individual ID be formatted that way
Could you maybe send a video? Iām sure I can figure this out š
Julian Galluzzo Just sent you a recording š Thanks for the help!!!!
Ben Sabic I did, but unfortunately webflow wont allow quotation within custom fields š It deletes them automatically
Ah shoot :( Let me know if you need any help Julian Galluzzo
I figured it out!!!!!!!
I added a split function to the string that contained the array so that it would no longer deem it 1 unit in an array, and ACTUALLY treat it as an array š
The function looked like
split( dynamic text goes here ; , )
Ben Sabic What I found cool about this is that you no longer need any quotations at all!
GREAT work Shadi!! Thank you for sharing š¤
Please sign in to leave a comment.