Skip to main content
Jhun Mercado a posé une question dans #Data Management
Dear SF Experts,

 

 

 

Can someone please tell me how the generated template/document is being named (or filenamed)? I noticed that in my custom agreement object, when I click on "Generate", the filename can get really long and redundant. Currently, it takes the name of the agreement (which already contains [YYYY]) + the word "Original" + name of the template (Construction MSA - in this example) + date today "2019-03-25". I attached a picture for reference. How do I check the code that does this automatic naming? In our Sandbox, I went to Apex Classes then to AgreementGenerateController, but I dont see any code in there. The Apex Class section is empty.

 

File naming convention after clicking the Generate button

 

 

 

I don't plan to edit the code as I am no expert, but I would like to see where this auto naming is coming from. I'd like to know what's causing the naming convention.

 

 

 

Thanks so much for your kind response. I will be happy to answer any questions you may have.

 

 
4 réponses
  1. 26 mars 2019, 05:28
    This is a custom page, so I honestly can't tell you what whoever built it named it. You'll need to either go through all pages one by one, or download them all using an IDE and search for contentType. 
0/9000