top of page
Search

We can create records in CDS (for that matter any Data Source) from canvas app Using a FORM Control


Now let us se how can we create a record using a FORM control


a record can be created using a "FORM" control. "Form" is nothing but an object which holds a record's data. Using a "FORM" control we can create a record which is connected to a "data source" using SubmitForm function.

Eg: SubmitForm(frmStudentRegistration)

Here "frmStudentRegistration" is FORM Control Name


ree

 
 
 

in this post, let us see how to create a Pop-Up in Canvas App


required controls:

  • rectangular icon

  • label

  • buttons - 2

  1. take a "rectangular icon" and make it screen size

  2. update it's "Fill" - with RGBA(175, 191, 224, 0.5). It

  3. Take another "rectangular icon" and adjust it to center

  4. Take "label" - and add required text (Eg: "do you want to proceed?")

  5. Take two buttons. Update text of Button1 to "OK" and other to "Cancel"

On Click of the respective control (to open the pop-up), add this expression : UpdateContext({locOpenPopup:true})
select "cancel" and "ok" button and add UpdateContext({locOpenPopup:false}) on "OnSelect" property.
  • add appropriate actions on "cancel" and "ok" buttons as per the requirement along with UpdateContext({locOpenPopup:false})

select the controls added above (five controls) and go to their visible property, add - locOpenPopup

ree

ree

ree


 
 
 
  • Aug 2, 2020
  • 1 min read

Virtual Entities helps us to get data from External network without any client-side and

server-side approaches. It helps admins and system customizers in administration and

configuration.


Virutal Entities is an existing feature in D365 V 9.0, which is now part of Common Data Service (CDS).


Virtual Entity looks in D365 or CDS to user as a regular entity but contains data that is sourced from external data system


What is Virutal Entity:

Virtual Entity is an Entity in D365 platform metadata without the associated physical

tables for entity instances created in D365 V9.0 or CDS database.


How it works:

During runtime, when an entity instance is required, its state dynamically retrieved from

the associated external data source. Each virtual entity is associated with a “virtual

entity data provider” from an associated virtual entity data system.


Pros:

  • End users can be able to view the records created by Virtual Entities in fields, grids and search results.

  • System Customizers can create these virtual entities without writing any code.

Limitations:

  • Data retrieved by Virtual Entity is “Read-Only” (as of now).

  • Only Organization-owned entities are supported.

  • Field level security is not supported.

  • Auditing of data is not supported.

  • Once created, we cannot change a virtual entity to non-virtual entity (standard entity) and in the same way we cannot convert non-virtual entities to virtual entities once created.

Refer this document for full list of limitations.

 
 
 
bottom of page