+ Start a Discussion
ezhil_kezhil_k 

What does put({#...}) and init(......) means ?

 

String AppNumber = lastApp.Name
Map<String, String> value = new Map<String, String>();
  value.put('{#AppNumber}', AppNumber);

 Agreement template = new Agreementtemplate();
                template.init(lastProg.Thank_You_Page__c, lastProg.Id, 'Prog__c', value);

 

 

 

chioikbhchioikbh

I guess the developer means that you should use the real appnumber to replace {#AppNumber}