1
0
-1

Hi Team,

We have a field type in Server side (PCFU - SiL script custom field) and cloud side (Text Field (single-line))


When we are trying to sync up the data from this field type (PCFU - SiL script custom field) which is available in the server to the field type Text Field (single-line) which is in Cloud instance, but sync up is not happening properly with the expected data in cloud similar to server for that field type(Text Field (single-line)) and we see sync up is happening with double quotes to field values (““) with starting the value and ending the value. I have highlighted with yellow color in the below screenshot please refer to the same.


Please check and confirm, we don’t want double quotes(““) with starting the value and ending the value, empty value.



Regards,

Uday Bhaskar


    CommentAdd your comment...

    3 answers

    1.  
      2
      1
      0

      Let us say you receiving the data in the following variable:

      replica.customFields."XYZ".value.value

      and then assigning it to the custom text field. 


      If this looks similar to what you have, then try this please:

      replica.customFields."XYZ".value.value.replaceAll("\"","")


      Please let me know if this works for you by marking the answer as accepted. 


      Thanks

      Majid


        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi Majid,


        Thanks, It is working fine


        Regards,

        Uday Bhaskar

        1. Syed Majid Hassan

          Great! Thanks for the update

        CommentAdd your comment...
      2.  
        1
        0
        -1

        Hi Syed Majid Hassan


        Thanks for the info.

        Please confirm do i need to make changes in outgoing or incoming script?


        Regards,

        Uday Bhaskar 

        CommentAdd your comment...