You can use getContent().
The content of the returned Blob depends on how the page is rendered. If the page is rendered as a PDF file, it returns the PDF document. If the page is not rendered as PDF, it returns HTML. To access the content of the returned HTML as a string, use the toString Blob method.
You can use toString and save the HTML string in 1 of ...
You should be creating a Lightning Detail page for this object first and then using the List View Component on the page to do what you want. There's a free Salesforce Labs List View Component that should allow you to do most anything you'd want for the list view. What the message about "too many list view components on one page..." is telling you is that if ...
I think your file is setup wrong. You don't need quotes around everything. For example please see a CSV of an import to my custom object 'Dan Object'
The Name is the standard name field required for new records
Number is a number
Text is a text or string field
Take the CSV in data loader map the columns to the fields and it should work. If you're doing an ...
The problem is, that you try to fill a lookup-field with a string value. Instead you need to provide the Salesforce ContactId.
I know this sounds disturbing as in Sales Cloud you can enter plain text and are able to select the correct record, however when interacting via API (or in that case AMPscript) you need to supply Salesforce IDs for lookup fields.
First of all, for proper debugging, wrap your ampscript in a try/catch SSJS, and let us know what is says:
%%[ YOUR AMPSCRIPT CODE ]%%
You can also try to format your date ...
Because your field is referenced in Apex the managed package is automatically adding it for you to the package, no need to manually add it.
Components Automatically Added
No need to worry, you are good to go!
Does the custom object belong to the detail side of the master detail relationship? If yes then this object wouldn't be available. This is because detail records use the parent's owner to control sharing, so there isn't an "owner" for these detail records.
Not sure what you meant by getting Id from object name.
Here is small notes on Ids and object API names.
You can get object API name by using Id. You can say myId.getSobjectType(). If you want to know all the objects' Ids then use SOQL [SELECT Id FROM ObjectName].
yes instead of getting the id of the object and redirecting the page to create a custom field, you can create a field using Tooling api itself. I have written a lightning component to create custom object fields for any object (Whichever is accessible to create custom fields). Let me know if you need the code.
you may try to use the following SOQL Query to get the Id:
Id myCustomObjectId = [SELECT CustomObjectId FROM CustomObjectUserLicenseMetrics WHERE CustomObjectName ='MyCustomObjectName' limit 1].id;
hope it helps