Skip to main content

Where are the “Samples” for the API?

Comments

10 comments

  • Permanently deleted user

    Hi Tyler,

    We're in the process of updating our samples to reflect newer versions of ESRI's APIs as well as our own. If there is a specific sample or task you had in mind, I can send you the sample code.

     

    -Jason

    0
  • Permanently deleted user

    Jason,

    1. I'm still trying to get my OverviewMap working correctly. need to now what value "baseLayer" requires.

    see post :https://support.geocortex.com/SupportForums/Thread.aspx?pageid=0&mid=2&ItemID=9&thread=46839

    2. running a WorkFlows

    3. a JS example of working with Layer Themes.

    looking forward to the new docs.

    thanks,

    -Tyler

    0
  • Permanently deleted user

    1) See ESRI's documentation: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi_start.htm#jsapi/overviewmap.htm. The parameter "baseLayer" is of type Layer. You probably want to use one of your base layers for this.

    2) Running a workflow:

     

     

    // Get the workflow

     

    var WORKFLOW_ID = "HelloWorldWorkflow";

     

    var workflow = essentialsSite.getWorkflowById(WORKFLOW_ID);

     

     

    // Start the workflow.

     

    // activityDispatchError_Handler will be called if there is an error when starting the workflow.

     

    // Note that since this workflow uses all built in client activities, there is no need to handle

     

    // any of the activities through this code.  The UI for the workflow will all be generated automatically.

     

    var dispatcher = new geocortex.workflow.SimpleActivityDispatcher(null, activityDispatchError_Handler);

     

    geocortex.workflow.WorkflowControllerProxy.startWorkflow(workflow, dispatcher, null);

     

     

    // Error handler

    function activityDispatchError_Handler(error) {

     

        window.alert(error.message, "Workflow Sample Error");

     

    }

     

    3) Layer Themes are not currently supported in the JavaScript API or HTML5 viewer.

    Hope this helps!

     

     

     

    0
  • Permanently deleted user

    Are you still working on providing samples of code on the Resource site?

    Again these are very helpful.

    thanks,

    Tyler.

    0
  • Permanently deleted user

    Jason,

    Back on 10/17/2012 you stated that you guys were in the process of updating your samples to reflect the newer version of ESRI API. 

    Are you guys planning on adding back the “Samples” for the JS API???

    -Tyler.

     

    0
  • Permanently deleted user

    Hi Tyler,

    Our API samples will soon be migrated into the SDK documentation for the HTML5 viewer. In the meantime, I've sent you the sample materials that previously existed on the Resource Center.

     

    Cheers,

    Jason

    0
  • Permanently deleted user

    Jason,

    where did you sent this?

    have not seen anything.

    thanks,

    -Tyler

    0
  • Permanently deleted user

    I sent them a while back to your clark.wa.gov email address. Is this address not correct?

    0
  • Permanently deleted user

    Yes,

    could you make them available some how else, or please sent them again, and I'll check the spam filter.

    0
  • Permanently deleted user

    Resent.

    0

Please sign in to leave a comment.