Questions tagged [ui-api]

The tag has no usage guidance.

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

User Interface API returning original field label instead of overridden field label from Translation Workbench

We've overridden a Managed Package field's label (API Name: appnamespace__Units__c, label = Units) using Translation Workbench's Override option to Quantity. The updated field label shows up fine in a ...
user avatar
  • 5,596
0 votes
1 answer
236 views

Creating a case with createRecord LWC error/trouble

I'm just trying to create a simple LWC that creates a case record from a button click. When I add the component to the account page and click the create button nothing is happening, there are no ...
user avatar
2 votes
0 answers
38 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: "$...
user avatar
  • 10.9k
2 votes
2 answers
119 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/...
user avatar
  • 23
2 votes
1 answer
78 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 ...
user avatar
1 vote
1 answer
31 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 ...
user avatar
  • 609
0 votes
1 answer
189 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}/...
user avatar
  • 1
0 votes
1 answer
272 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 ...
user avatar
1 vote
1 answer
880 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"...
user avatar
  • 3,594
1 vote
1 answer
89 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 ...
user avatar
  • 197
3 votes
1 answer
642 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 ...
user avatar
  • 197
1 vote
0 answers
637 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:///...
user avatar
6 votes
2 answers
739 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 ...
user avatar
4 votes
2 answers
538 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'...
user avatar
6 votes
1 answer
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 ...
user avatar
  • 33.5k
6 votes
1 answer
618 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 ...
user avatar
  • 33.5k