Questions tagged [user-interface-api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
50 views

How to do polling using lightning/uiRecordApi?

I want to query Batch Job status every 5 seconds to show user the progress of batch job. Is it possible through lightning/uiRecordApi or do I have to put query inside Apex method?
2 votes
2 answers
264 views

How to authenticate requests to the user interface api?

I am trying to make a GET request to the UI API from within a react project using a simple lifecycle method: componentDidMount() { fetch('https://{my_salesforce_instance}.salesforce.com/services/...
  • 23
2 votes
1 answer
181 views

How to integrate the user interface api with an existing project?

I am trying to implement a form in my react app that allows users to submit data to salesforce using the UI API. From following the documentation I have created a connected app with a callback url and ...
0 votes
0 answers
359 views

Salesforce User Interface API is returning "The requested resource does not exist"

I am able to retrieve the picklist values ( Controlling /dependent ) using the user interface api. But for one custom picklist field values are not coming through this api. String method = 'GET'; ...
9 votes
1 answer
3k views

LWC: Can I use lightning/uiRecordApi for all database interactions?

In Aura, it's standard practice to call an @AuraEnabled Apex method for all database CRUD operations. With LWC, Trailhead promotes the use of lightning/uiRecordApi (User Interface API under the hood) ...
0 votes
1 answer
41 views

User-Interface API for custom Edit Visualforce Page

Below is the sample code i have written working fine, However I am search for option using userinterface api in controller class to get layout assignment on the basis of recordtype and loggedin user ...
  • 212
-1 votes
1 answer
1k views

Why User Interface API is not available?

I work on Performance Edition sandbox and I am System Administrator when I try to explore User Interface API and use workbench to send GET request to the following endpoint /services/data/v45.0/ui-...
  • 14.7k
2 votes
1 answer
740 views

VF page is not Responsive

I have a visualforce page and I want to see the page on the mobile version of salesforce. I checked the checkbox "Available for Lightning Experience, Lightning Communities, and the mobile app " for ...
  • 43
2 votes
1 answer
1k views

Error thrown when calling User Interface API as community portal user

I am trying to call ui api from apex code with in a lightning component. String instance = System.URL.getSalesforceBaseURL().toExternalForm(); String restApi = instance + '/services/data/v42.0/ui-...
  • 674
10 votes
2 answers
321 views

Is there an API that returns consolidated metadata including layouts?

I believe I saw some information about a recent REST API that provided consolidated metadata including layout information. (For use by e.g. a mobile app that wants to base its screens on the metadata.)...
  • 133k