web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Virtual entity in UCI

(0) ShareShare
ReportReport
Posted on by

Developing 365 on premise Unified Interface app,  Implemented Virtual entity which is connected to oracle database. In ordinary form (non UCI), showing all the results like more than 250 records without considering the page size given for the subgrid on the form. Showing all the records is the actual requirement of project.

But in UCI its giving only 'n' number of records ('n' - the page size which is specified on the form). The pagination also not working. So not at all able to see records other than first 'n' number of records . 

I have the same question (0)
  • Susana Carneiro Profile Picture
    on at

    Hello Rathika,

    Can you please share more details how are you getting the date from Oracle and putting them on Dynamics? What processs is being used?

    Thank you.

  • Community Member Profile Picture
    on at

    Hi, You can take the formatted date from oracle DB like "TO_CHAR(datefieldName,'DD/MM/YYYY HH:MI:SS AM')" and convert before submitting it to output context as below,

     var _dtValue = Convert.ToDateTime(DateTime.ParseExact(date, "dd/MM/yyyy hh:mm:ss tt", CultureInfo.InvariantCulture)); . Remember the CRM field must be "Timezone independent".

    But my question is different I can see all the records in non-UCI form but not in UCI. Can Anybody help in this please?

  • Susana Carneiro Profile Picture
    on at

    Hello,

    Our main goal is trying to understand how the integration is being done.

    For example, we have some customer using plugins to push the data from their data sources to Dynamics and we have a sample code to do the paging on the data source side.

  • Community Member Profile Picture
    on at

    Hi Susana Carneiro, Could you able to provide that.

  • Suggested answer
    Susana Carneiro Profile Picture
    on at

    Hello Rathika,

    Please note that the sample that we have applies when a retrive multiple plugin is being used to fetch data from your data provider to a Virtual Entity in Dynamics.

    Below is a set of Api calls - as an example - that the provider needs to support. You also need to ensure that your odata endpoint supports equivalent API's. Test the odata endpoint through Postman and web browser:

    The same concept for a for a custom data provide is explained here:

    1. The fetchxml has the pagination information inside it (refer https://community.dynamics.com/crm/b/exploringdynamics365/posts/paging-in-fetchxml as an example)
    2. The retrieve multiple code needs to make sure that it reads the pagination information and honors it. Fetch the nth page if asked etc.
    3. It needs to set the "morerecords" and other pagination property on the entitycollection result that it sends back (refer stackoverflow.com/.../dynamics-crm-how-to-get-the-second-page-of-a-fetchxml-query-beyond-the-5000-el as an example).

    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans