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: "$recordId", layoutTypes: "Full", modes: "View"}) recordUiResponse;

as well as a direct API via workbench:


In both cases, the Record Layout response record contains the saveOptions member, but it is always empty.

I've tried this with several different custom objects, and in each case the result is that same - I get the full reponse, except saveOptions is always empty. I've also tried calling the layout endpoint directly (/services/data/v52.0/ui-api/layout/Object__c), and passing values for every param instead of relying on default param values. I am unable to view saveOptions in any case. How can I make this work?

  • 1
    What saveOption are you expecting? Is this for a custom object? saveOptions are for send email notification, use assignment rule, etc.
    – CyberJus
    Jul 30 at 17:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.