Request Meeting Function in Skuid

edited March 1, 2017 in Questions
Has anyone figured out how to include the "Request Meeting" function on a Skuid page?

Comments

  • edited March 1, 2017
    Check out this Salesforce Stack Exchange post.
    http://salesforce.stackexchange.com/questions/49315/cloud-scheduler-meeting-request/55952#55952

    I was able to get it working with Skuid with one external resource and a small snippet.  Be aware that this method isn't officially supported by Salesforce.
  • edited November 12, 2014
    Newbie error.. I loaded <script src="/jslibrary/1413852410000/sfdc/Scheduling.js"> as a static resource named script.

    What do I do with:
    var contactId = '<<Current Contact Id>>'; navigateToUrl('javascript:void%28SchedulingProposeMeeting.openAskForMeetingDialog%28%27%2Fscheduling%2FcreateMeeting.apexp%3Fid%3D' + contactId + '%27%2C%20false%2C%20877%29%29%3B','RELATED_LIST','newproposemeeting');
    ?
  • edited March 1, 2017
    1. You'll need an external resource like this...image

    Make sure the location is "External" and the resource url is just the url (no script tags).

    2. Then you need a button that runs a snippet like this...

    image

    3. And finally, you'll need a snippet like this...

    image
    The content of your snippet should be something like this...


    var params = arguments[0], $ = skuid.$;
    var contactId = skuid.model.getModel('MyContactModelName').getFirstRow().Id;
    navigateToUrl('javascript:void%28SchedulingProposeMeeting.openAskForMeetingDialog%28%27%2Fscheduling%2FcreateMeeting.apexp%3Fid%3D' + contactId + '%27%2C%20false%2C%20877%29%29%3B','RELATED_LIST','newproposemeeting');
    You need to make sure that you put in the name of your contact model instead of 'MyContactModelName'.  Also I want to re-iterate that although this is possible to do, I haven't tested it thoroughly and it's not officially supported by Skuid or Salesforce.  Have fun though :)
  • edited November 12, 2014
    It works! Thanks Ben!

    image
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!