Skip to main content

How to transfer user-selected CMS IDs from Memberstack to Webflow multi-reference field with Make?

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! ๐Ÿ™‚

6 comments

  • Ben Sabic
    Ben Sabic

    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

    0
  • Julian Galluzzo
    Julian Galluzzo

    Could you maybe send a video? Iโ€™m sure I can figure this out ๐Ÿ™‚

    0
  • Shadi null
    Shadi null OP

    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

    0
  • Ben Sabic
    Ben Sabic

    Ah shoot :( Let me know if you need any help Julian Galluzzo

    0
  • Shadi null
    Shadi null OP

    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!

    0
  • Ben Sabic
    Ben Sabic

    GREAT work Shadi!! Thank you for sharing ๐Ÿค—

    0

Please sign in to leave a comment.

Sitemap