Forum Discussion

Lobsang_aka's avatar
Lobsang_aka
Copper Contributor
Oct 12, 2020
Solved

Custom Fields in Microsoft Bookings

Where are the custom fields stored for the past services? Are there any reports I can run to generate these info? Thanks. 

28 Replies

  • CLHug's avatar
    CLHug
    Copper Contributor
    How do I get access to the mailbox associated with the Bookings business to access either via Graph or via Power Automate? Do Bookings admins have access to the mailbox by default? Or is it a standard mailbox that can be granted permissions to other users like any other mailbox? Or just what?
  • Jubberman's avatar
    Jubberman
    Copper Contributor
    Looks like custom questions (along with a bunch of other useful fields) have been added to the export tool. Happy days!
      • ddmurrayjr's avatar
        ddmurrayjr
        Copper Contributor

        ddmurrayjr update to the export function did finally show up, and I run it through a json transform to pull out the custom fields; works like a charm!

  • Lobsang_aka ,

     

    You will need to extract custom fields values using graph. You will need to filter with the following (use the exact same values). Then the returned value will need to be Base64 Decoded. I'm using this with Power Automate that start whenever a new event created (Outlook new event), extract the info and put into a SharePoint list.

     

    https://graph.microsoft.com/beta/users/[BookingMailboxAddress]/events/[event Id]?$expand=singleValueExtendedProperties($filter%3Did eq 'Binary {ccb88e73-951a-4b10-bb49-e6628b8d8494} Name BookingItemAnsweredCustomQuestions')

     

    https://docs.microsoft.com/en-us/graph/api/user-list-events?view=graph-rest-beta&tabs=http

    https://docs.microsoft.com/en-us/graph/api/singlevaluelegacyextendedproperty-get?view=graph-rest-1.0&tabs=http

     

    • jbailiss's avatar
      jbailiss
      Copper Contributor

      Martin-Coupal ,

       

      We have bookings that return the standard fields using:

      https://graph.microsoft.com/beta/users/[BookingMailboxAddress]/events/[event Id]

       

      Within the body content of the returned data I can see there's custom fields e.g.

       

      Custom Fields<br>
      ----------------------<br>
      Question 1- ...<br>
      Answer- ...<br>
      Question 2- ...<br>
      Answer- ...<br>
      <br>

       

      However, when I extend the call with the Extended Properties it doesn't return the additional fields:

      https://graph.microsoft.com/beta/users/[BookingMailboxAddress]/events/[event Id]?$expand=singleValueExtendedProperties($filter%3Did eq 'Binary {ccb88e73-951a-4b10-bb49-e6628b8d8494} Name BookingItemAnsweredCustomQuestions')

       

      I'm simply copying and pasting and replacing the mailbox and event ID so struggling to see what I'm missing.  Do you have any suggestions?

       

      Thanks very much!

      • Martin-Coupal's avatar
        Martin-Coupal
        Iron Contributor
        Just in case, are you using group event scheduling (multiple participants) in your service configuration? If that's the case it will not work.

Resources