Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

Custom field returning a string of values

Avatar

Level 4

I have a scenario that is returning a users name from a requests custom field.  On my form it stores just the name but the search module returns the string below.  I've looked at all the function Fusion offers but I can't see one that would allow me to parse just the ID. "
I've tried using variations of substring and spit.  Do I need to somehow store it in an array first?  Any suggestions will be greatly appreciated!1

        "value": [
            "{\"objCode\":\"USER\"",
            "\"name\":\"Kelly Powell\"",
            "\"ID\":\"61252bb0000eb57eae6652713ab41b15\"}"
        ]
   

 

1 Accepted Solution

Avatar

Correct answer by
Level 8

Try passing the value to a Parse JSON module.  All 3 of the items in your string would be text types in the data structure.  Once parsed, you should be able select the items individually.

 

KristenS_WF_0-1753384209175.png

KristenS_WF_1-1753384390929.png

 

 

 

View solution in original post

3 Replies

Avatar

Correct answer by
Level 8

Try passing the value to a Parse JSON module.  All 3 of the items in your string would be text types in the data structure.  Once parsed, you should be able select the items individually.

 

KristenS_WF_0-1753384209175.png

KristenS_WF_1-1753384390929.png

 

 

 

Avatar

Level 4

Thank you @KristenS_WF .  That was such a clean solution.  Here I was trying all mixes of functions trying to parse it, not realizing it was JSON.
I love how I learn something new about Fusion nearly everyday!!

 

Thanks again!!

Avatar

Level 8

Happy to help!