Announcement

Collapse
No announcement yet.

Issue with copying fileId to filesIds in attachment field

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Issue with copying fileId to filesIds in attachment field

    Hello, I’m having trouble retrieving a fileId and placing it in an attachments field called filesIds. Do you have any suggestions? I plan to use the attachments field instead of the file field soon, and I want to copy the fileId values to filesIds.

  • #2
    up please

    Comment


    • #3
      Hi BigBoss,

      Please provide more details, such as steps to reproduce, Formula script, screenshots, etc., so we can find the best solution for you.

      Comment


      • #4
        If I understand your problem correctly, you are trying to extract the ID of an attachment from among several attachments. Try this solution.

        PHP Code:

        $result 
        filesIds;
        fileId json\retrieve(json\encode($result), "filesIds");

        ​ 

        Comment

        Working...
        X