Creating new fields

Additional data fields

If you configured any additional data in the previous section you will need to create new fields in your forms so that this data can be saved when it's returned from our APIs. For each data item you enabled repeat the process below:

  1. Select Tables from the left hand menu of the main Power Apps interface.
  2. Click the Table you want to configure (e.g. Account).
  3. Click the Edit button at the top of the columns and data panel.
  4. Click New column in the command bar.
  5. Give your field an appropriate Display name and optional description.
  6. Select appropriate options for the Data type and Format fields.
  7. All other fields can be configured as per Microsoft's documentation if needed.
  8. Click Save to save the new column.

Special fields

There are a handful of special fields which provide optional functionality that will give an extra level of detail on validated address, email and phone data. The creation of these is detailed below:

Configure this optional functionality to store the validation status and a timestamp together with the validated addresses, emails or phone numbers.

  1. Select Tables from the left hand menu of the main Power Apps interface.
  2. Click the Table you want to configure (e.g. Account).
  3. Click the Edit button at the top of the columns and data panel.
  4. Click New column in the command bar.
  5. You need to create two fields for each validation type (address, email and/or phone). These fields are:
    • Validation message
      • Click New column in the command bar.
      • Give your field a Display name e.g. Address validation message.
      • Select Single line of text for the Data type field.
      • Select Text for the Format field.
      • All other fields can be configured as per Microsoft's documentation if needed.
      • Click Save to save the new column.
    • Validation timestamp
      • Click New column in the command bar.
      • Give your field a Display name e.g. Address validation timestamp.
      • Select Date and time for the Data type field.
      • Select Date and time for the Format field.
      • All other fields can be configured as per Microsoft's documentation if needed.
      • Click Save to save the new column.

Configure this optional functionality to include country calling codes in your form, as well as having the option to predefine the country code.

  1. Select Tables from the left hand menu of the main Power Apps interface.
  2. Click the Table you want to configure (e.g. Account).
  3. Click the Edit button at the top of the columns and data panel.
  4. Click New column in the command bar.
  5. Give your field an appropriate Display name e.g. Country code.
  6. Select Choice for the Data type field.
  7. For the Sync with global choice? option choose Yes (recommended).
  8. For the Sync this choice with option choose Country phone codes.
  9. Select an appropriate Default choice.
  10. All other fields can be configured as per Microsoft's documentation if needed.
  11. Click Save to save the new column.
Microsoft D365 CE PCF

Create fields