Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
2184 มุมมอง

If a record has an xmlid attribute, I can use the following code to update the data:

<record id="XML_ID" model="MODEL_ID">

    <field name="PROPERTY">NEW_VALUE</field>

</record>

 But in mail.channel, the record does not have the xmlid, so how do I rename its property in xml?

Thanks!

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

@Niyas Raphy

Thanks!

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

If the record does not have an External ID/XML ID, the record might be created from the UI. You can watch this video and see how to generate the External ID for such records : Generate External ID for the Records Created From UI


From the UI, just export that record, once after the exporting is done, the record will have an external ID.

Thanks

อวตาร
ละทิ้ง