Hi everyone,
I ve created a custom field in the Case Apex Class. It is a TextAreaField with name CampoTest and API name CampoTest__c.Now I want to add it to Web-To-Case HTML. So, int hte HTML Generator, I move the field from Available Field to Selected and I click on Generate. The HTML is generated and for my field this line is generated:<textarea id="00N0D00000160V6" name="00N0D00000160V6" type="text" wrap="soft"></textarea> As you can see, the id and the name is "strange". Well, I need to add about ten custom fields... And I have two different environment (dev and prod) on salesforce. This is a problem because I have to import the generated HTML on my website. Infact I should change id/name of dev environment with id/name of prod environment.Is it possible to change the id of my custom field? Or is it possible use for example the API nameof my custom field in the generated html?
I hope I have explained well my problem.
Thank you1 个回答
Hi,The feature you are requesting is not available in salesforce right now.An Idea is already raised for it,https://trailblazer.salesforce.com/ideaView?id=08730000000KLLqAAOYou can Vote it, Based on the Votes it will be implemented in the future.Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.Thanks.