An error appears stating that the app settings cannot be updated because of duplicate values. How do I check which records contain duplicate values?

Article Number:040170

If you see the following error message when trying to update the app settings, it means there are records with duplicate values in the app.

GAIA_UN35: "Prohibit duplicate values" cannot be set for the "***" field because one or more records with a duplicate value already exist.

To identify records with duplicate values, use the chart feature to aggregate the values.
Check which records contain duplicate values

Error solution

Stop making changes on the App settings screen and check for records with duplicate values.
By modifying the values of duplicate records or deleting the records, you can select the disallow duplicate values option for the field.

Check which records contain duplicate values

  1. เปิดแอปของคุณ

  2. คลิกไอคอน การตั้งค่าแอป (ไอคอนรูปฟันเฟือง) ที่ด้านขวาบนของหน้าจอ ดู

  3. คลิกแท็บ กราฟ

  4. คลิกไอคอน สร้าง กราฟ (ไอคอนรูปเครื่องหมายบวก) ที่ด้านขวาของหน้าจอ

  5. Create a chart with the following settings.

    • ชื่อ: ทางเลือก (ตัวอย่าง : การตรวจสอบข้อมูลซ้ำซ้อน)
    • ประเภทแผนภูมิ: ตาราง
    • จัดกลุ่มตาม (ระดับที่ 1) : เลือก ฟิลด์ที่จะห้ามไม่ให้มีการบันทึกซ้ำ
    • ฟังก์ชัน: นับ (จำนวนบันทึก)
    • ตัวกรอง: เร็คคอร์ดทั้งหมด
    • จัดเรียงตาม: จำนวนรวม, เรียกจากมากไปน้อย
  6. คลิก บันทึก ที่ด้านขวาล่างของหน้าจอ

  7. บนหน้าจอ การตั้งค่าแอป คลิก อัปเดตแอป

  8. ในกล่องโต้ตอบ อัปเดตแอป คลิก อัปเดตแอป

  9. Display the chart you created.
    Records showing a count of 2 or more indicate that duplicate values exist in these records.
    Screenshot: Example of a record showing a count of 2 or more

Modify records

  1. Click Show records to the right of the record with a count of 2 or more.

  2. Modify the record so that it does not have duplicate values or delete the record.

  3. Continue making corrections until there are no records with a count of 2 or more.

หากคุณยังไม่สามารถแก้ไขข้อผิดพลาดได้

If the error persists even though all records show a count of 1, consider the following possible causes:

Due to the Permissions for records settings, you cannot view records that contain duplicate values

Change the settings so that you have permission to view all records, and then check for duplicate records.
For more details on the Permissions for records settings, refer to the following page.
Configuring permissions for records

There are records with duplicate values on the app's preview screen

On the Preview screen, check for duplicate records.
For details on how to open the Preview screen, refer to the following page.
Opening an app's "Preview" screen