Create a dynamic custom fields using salesforce - salesforce

I am new to salesforce. I have created a custom fields in salesforce both on custom and in standard object. But is it possible to create a custom fields dynamically? P
Please provide me pointer if you can.

Related

update availableOptions for multiselect Picklist through Apex trigger

I have created a multiselect picklist which shows the list of users on a custom object. I want to update the available values on this picklist through trigger on User object whenever there is a new user created. I do not want to update the Chosen value. Also this is a field on a lightning page, not a vf or lwc or aura component. Is it a possible requirement? Please let me know if any further information required.
Field on Lightning page
enter image description here
Dynamically updating your org's schema based on data changes is both generally a bad idea and much more difficult than it sounds.
Your trigger would have to use Asynchronous Apex, such as a Queueable class, to call the Metadata API or Tooling API to update the picklist values. To do so, it must be authenticated as an administrator, so you'd also need to set up a Named Credential and authorize it as an administrator. And then you'd have to write the moderately complex code to actually create picklist entries based on Users, decide what to do when existing Users/picklist entries are deactivated, and so on.
It is generally a better pattern to implement a custom UI component (like a Lightning Web Component) where you need to present a dynamic picklist-style interface that's driven by data.

Salesforce noobie - where are the crud pages for custom objects?

I am a very newbie to SF so pardon my ignorance. I am doing the trailheads and logged into developers org. There I quickly created a custom object with some fields. Now how do I get a CRUD page for the custom object. I have been looking through the documentation and trailheads but I finding everything except this simple step. Can someone please suggest how I can get a CRuD page automatically generated from custom object that I can use to add edit and delete records?
Thanks
You'll need to Create a Tab for your custom object. This tab can be exposed in both Salesforce Classic and Lightning and allows you to create a new record in the object, view list views, and so on.

Is it possible to dynamically add updateable custom tags to documents?

Background:
I just started researching on DocuSign a couple days back and was told by DocuSign Customer Support to post questions here on SO. I am running a trial version of DocuSign to evaluate the capabilities and see if it fits our needs. We are using Classic version of Salesforce.
Business Case:
We generate hundreds of documents that need to be sent to different signatories based on certain conditions and once the signatories receive the doc, they need to select a value from a custom tag (dropdown) on the doc which will then be passed back to Salesforce.
Thanks to answers posted on SO, I know how I can dynamically add recipients to a DocuSign doc and also how I can pass values from Custom Tags back to Salesforce.
However is it possible to dynamically prepopulate documents with one or more updateable custom fields or does it have to be manually dragged and dropped onto the document each time we send the doc over?
Any pointers/references to documentation would really be appreciated.
Referencing the API documentation (below), it does look like its possible to add dynamic tabs. There is limited information on wether they can be updated, but I would suggest you try something like POSTMAN or any other REST API client that you can test this on.
Presumably, you can create this on SalesForce if you're inclined. Otherwise, you'll need to use some sever-side language to send the request.
https://developers.docusign.com/esign-rest-api/guides/features/tabs

How can I identify the field data types returned by a RESTful Web API?

I have created a RESTful Web API in ASP.NET. It is returning data from my SQL Server database. How can I identify the data types of the fields that are returned in AngularJS? The reason I want this is because I'm creating a simple interface to load data in an edit form one of many tables that is selected at run time. I don't want to build a custom edit form for each table. It's working, but I want to clean up the interface like displaying boolean values in a checkbox or formatting the appearance of date types. Do I need to return the data in XML to do this or is there some other way?
I solved this by using SqlConnection.GetSchema and SMO objects for the foreign keys.

Drupal webform submission creating new table

I have created a webform. However I want that whenever I create a new webform and if I input some data and submit it, It must create new table in phpmyadmin for every new form that I create.
By default every submitted data goes to "webform_submitted_data" table. I want every webform that I create must have separate table.
Please give me steps on how to do that.
If you use the webform module as is, it will use its own database table structure exactly as you describe.
If you have particular requirements on how the data of your webforms is stored in the backend, you'll have to create your own custom module that either builds its own forms and does the data storing itself or that hooks into the existing webform functionality and changes just the storing and retrieving part of it.
In either case, it'll be a bit of work on your part to build that custom module.
How the data is stored isn't something you can just configure for the webform module... :-)
However, I'm not sure why you want to change the way the data is stored, but you're aware that you can export the submissions data as csv and other file formats to manipulate later, right?
The webforms mysql view module will give you a pseudo-table for each webform, allowing read access to the data.

Resources