I have created an Autonumber Field in CDS and integrated it with Canvas app also with Model Driven App. Its worked fine like generated as autonumber field (EMP1000) in Model driven app. But same I have tried in the Canavas its not working. Kindly suggest me on this.
Thanks in Advance..
@yashag2255 I have attached screenshot for your reference in that I have created a Auto Number field in CDS and Provided that entity to my Canvas App once added it shows as normal Text field. Kindly help me to take correct path.
Hi @hari, this is a known gap that we are looking to address.
Currently, Canvas apps recognize Autonumber fields as plain Text fields, so they do not treat them in any special way. We are actively working on improving this experience, but in the meantime:
1) Even though the Autonumber field input is blank in the form, if you submit your data then the Autonumber value still be generated and filled into the field for you on the server.
2) If you do not want to give your users the ability to specify their own value for the Autonumber field when filling out the form, then you can remove the input for the Autonumber field from the edit view of your form, but add it to the read view of your form.
Let me know if this is still preventing you from creating the desired experience in your app, and I can help you find more workarounds while we work on releasing full Canvas app support for Autonumber fields.
We're excited to announce our first cross-community 'Can You Solve These?' challenge!
Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.
We are excited for the next Super User season.
FIll out a quick form to claim your community user group member badge today!
Features releasing from October 2020 through March 2021