How to update/edit a dataprovider?

2 posts, 0 answers
  1. Kees
    Kees avatar
    1 posts
    Member since:
    Mar 2016

    Posted 08 Jun Link to this post

    Hi, 

    We are creating an app for our customer, using the views and a Progress dataprovider to access the OpenEdge backend rest services. The creation of the Progress data provider works fine ( defining service URL, catalog URL and so on).But some things are not working correctly.

    First, updating a data provider is not possible. So changing a URL of refreshing of the catalog is not possible. Is this on purpose? Is there a work around?

    Second, when using a dataprovider I can select the field from the catalog (dropdown) to appear as header in the list view. But when i want to add extra fields to the list items I can not select the field from a dropdown. Is this going to change? Is there a work around?

    Hope someone can answer these questions.

     

    Regards

     

    Kees

     

  2. Tsvetina
    Admin
    Tsvetina avatar
    1873 posts

    Posted 13 Jun Link to this post

    Hello Kees,

    Adding the possibility to modify an existing data provider is a part of the backlog of the Views service but it hasn't been scheduled for a certain release yet.

    At the moment, you can create a new data provider, make the needed changes and then go to the view in question and change the data provider that it uses. The old data provider can be deleted when no views are using it.

    As for the second issue you reported, not being able to select a field from the catalog, we can't reproduce this behavior using a Progress Data Provider. Can you confirm that you went through the Catalog File step when adding the Progress Data Provider?
    To confirm that all is ok with the catalog, you can go to Code and find the .app.json file in the Project Navigator, there locate the catalogContent key and see if all types are listed there.

    If the problem persists, you can open a support ticket and send us your project, so we can test it locally and see why the dropdown doesn't appear.

    Regards,
    Tsvetina
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top