Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

Incorrect Record Picker Values

Certified Lead Developer

Good day everyone,

I am making use of a coulpe a!pickerFieldRecords(), but in one instance it displays the corrcet values and in the other it doesn't.

Please see the screenshots I've uplaoded illustrating what's being returned for both instances.

Also see the code for both instances.


# Values are displaying incorrectly -

a!pickerFieldRecords(
    label: "Property Type",
    labelPosition: local!labelPosition,
    placeholder: "Search for the property type",
    maxSelections: 1,
    recordType: 'recordType!{7068b0aa-dd81-434e-a6a2-049c4ebc1894}AH Property Type',
    value: ri!record['recordType!{b4e98f0d-2927-4efc-87fb-bc265c91339e}AH Risk Location.fields.{7b7cc88a-959d-4ca2-b6df-dd684e8df4cf}property_type_id'],
    saveInto: ri!record['recordType!{b4e98f0d-2927-4efc-87fb-bc265c91339e}AH Risk Location.fields.{7b7cc88a-959d-4ca2-b6df-dd684e8df4cf}property_type_id'],
    required: true,
    marginAbove: "LESS",
    showRecordLinks: false
),


# Values are displaying correctly -

a!pickerFieldRecords(
    label: "External Walls Construction",
    labelPosition: local!labelPosition,
    placeholder: "Search for the external walls construction",
    maxSelections: 1,
    recordType: 'recordType!{9439a66e-f003-4d83-97b9-9f4da1e6e13b}AH External Walls Construction',
    value: ri!record['recordType!{b4e98f0d-2927-4efc-87fb-bc265c91339e}AH Risk Location.fields.{ccc556f1-5c48-4004-b8cf-d17077def1dc}external_walls_construction_id'],
    saveInto: ri!record['recordType!{b4e98f0d-2927-4efc-87fb-bc265c91339e}AH Risk Location.fields.{ccc556f1-5c48-4004-b8cf-d17077def1dc}external_walls_construction_id'],
    required: true,
    showRecordLinks: false,
    marginAbove: "LESS"
),


Using the a!dropdownField() function works as expected. I also tested the a!pickerFieldCustom() function, but that still isn’t working.

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data