You need to sign in to do that
Don't have an account?

Pop Up Window option
Please help me asap,
I am having a problem to show up the pop up window, it has the time reminder in it, but i can`t able to show up, when i do it manually it will come up but when i am doing with the code below it was not showing the pop window.
newTask.Subject = 'Text Message recived from ' + inPhone;
newTask.ActivityDate = Date.today();
newTask.IsReminderSet = true;
newTask.ReminderDateTime = System.Now(). addMinutes(15);
newTask.Status = 'Not Started';
newTask.Description = params.get('Body');
newTask.Type = 'SMS';
newTask.OwnerId = ownerId;
insert newTask;
I am having a problem to show up the pop up window, it has the time reminder in it, but i can`t able to show up, when i do it manually it will come up but when i am doing with the code below it was not showing the pop window.
newTask.Subject = 'Text Message recived from ' + inPhone;
newTask.ActivityDate = Date.today();
newTask.IsReminderSet = true;
newTask.ReminderDateTime = System.Now(). addMinutes(15);
newTask.Status = 'Not Started';
newTask.Description = params.get('Body');
newTask.Type = 'SMS';
newTask.OwnerId = ownerId;
insert newTask;
you can find your solution in below link:
http://www.salesforcegeneral.com/salesforce-modal-dialog-box/
https://www.davehelgerson.com/javascript-popup-window-tips-for-salesforce/
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi