Questions tagged [ui-api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
29 views

Why is saveOptions member of UI API Record Layout response always empty?

I am retrieving Layout information via UI API. I have tried this both with the lightning UiApi adapter: import { getRecordUi } from 'lightning/uiRecordApi'; @wire(getRecordUi, {recordIds: "$...
2
votes
2answers
61 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/...
2
votes
1answer
53 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 ...
1
vote
1answer
19 views

UIAPI retrieve picklist values for record type stopped working - returns only one value

I have an aura component that's been working for years. It calls the uiapi to retrieve and display a multi-picklist based on the available picklist values for a specific contact record type. Yesterday ...
0
votes
0answers
24 views

Allow community users to add favorites

Looking to build an LWC that allows for community users to favorite records. Seems like the favorites API isn’t part of LDS. Anyone have any experience with this or know how to hit the favorites API ...
0
votes
1answer
51 views

UI API: How to retrieve translated values of a picklist using UI API

We are using the salesforce API to consume picklist fields and display it on a webpage on a multilingual community "/services/data/v49.0/ui-api/object-info/Case/picklist-values/{recordtypeId}/...
0
votes
1answer
122 views

Can I use wire service to get data from UserRecordAccess and use it in LWC?

The query to the UserRecordAccess table is like this: SELECT RecordId, MaxAccessLevel, HasAllAccess, HasDeleteAccess, HasEditAccess, HasReadAccess, HasTransferAccess FROM UserRecordAccess where UserId ...
1
vote
1answer
439 views

The success event returned from `lightning-record-edit-form` is missing fields that I have in my component

I have a custom lightning-record-edit-form component that looks like this: <lightning-record-edit-form record-id={id} record-type-id={recordTypeId} object-api-name="Account"...
0
votes
0answers
34 views

Add Lightning Action Which has Lightning Component Using Metadata API Or UI API

I have created a global action and added a lightning component to it. I would like to add this lightning action to all the standard object programmatically using Metadata API or some other APIs. ...
1
vote
0answers
55 views

Get Event field picklist values for record type through API

I need to get picklist values for some Event fields (namely Subject and a few custom fields) in my external application but only for a specific record type. It seems the appropriate way to do this is ...
3
votes
1answer
419 views

Task Object - Get Picklist Values by RecordType?

The UI API provides a nice getPicklistValuesByRecordType resource but it doesn't support the Task object. I've looked everywhere, but I cannot find an alternative solution. Does anyone have any ...
1
vote
0answers
444 views

REST API - Picklist UI API Error

I have written apex code block to fetch picklist values for dependent picklist fields for a custom object using Picklist UI API for Community Portal users. The request URL looks like this: https:///...
5
votes
1answer
534 views

UI API within LWC as an ISV. What should be the approach when wire adapters are not feasible?

I have a lightning web component that needs to call UI API. I can't use the LWC wired adapters because the 'getRecordUi' does not take the "childRelationships" parameters like the 'record-ui' endpoint ...
1
vote
1answer
618 views

LWC - Object OpportunityLineItemSchedule is not supported in UI API

I've created a button on opportunity page using LWC. Once the button is clicked it should create OpportunityLineItemSchedule records based on Opportunity and related OpportunityLineItem record. ...
4
votes
2answers
499 views

Is it possible to get ui api Picklist Value Collection response body in ltgn comp js (for pcklst dependencies)

Is it possible to access the picklist value collection response body in a custom component js using a built in component? I need access to the dependent picklist values and their validFor property. I'...
6
votes
1answer
4k views

On lightning:recordEditForm how can I retrieve the recordUi onload-actions return parameter?

The docs here indicate, that the onload-action return the following: Parameter : recordUi Type : Object Description : The object metadata. For more information, see the User Interface API Developer ...
6
votes
1answer
517 views

Is User Interface API accessible via JS from a Helper of a Lightning Component?

Can we use the UI API in Lightning Components directly from within a Helper JS? https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_get_started.htm I've just read the docs and ...