• Gopal Das 13
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 1
    Replies
How to create custom object dynamically?

I have one method in Apex controller which takes two arguement like below -

insertIntoCustomObjectDynamic(customObjectName, Map<String, String> fieldvalues){
//customObjectName can be any customobject name inside the org, its not static or predefined value
//if customObjectName is like MyObject__c then it will insert all the field values into MyObject__c customobject.

}
We have one batch class, and want to schedule at every hour, every day.
Below statement has been written inside Schedulable class
System.schedule('Hourly', '0 0 * * * ?', new XXX() );

It was run for 4 times after that it was stopped.

How can I schedule? In the log it is not displaying -
Administration Setup -> Monitoring -> Apex Jobs
We want to create a report with below objects field.
Account object with two child object Address and Hr Info.
Contact object with one child object Address.

Address has a lookup relationship with both Account and Contact.

What are possible way to create reports?

In joined report there are limitation of 20,000 records in printable view, excel file is downloaded when clicking on printable view but file is blank when opening the file.
We have one batch class, and want to schedule at every hour, every day.
Below statement has been written inside Schedulable class
System.schedule('Hourly', '0 0 * * * ?', new XXX() );

It was run for 4 times after that it was stopped.

How can I schedule? In the log it is not displaying -
Administration Setup -> Monitoring -> Apex Jobs