Using custom image as a markup symbol
When using "AddMarkup" command from "RunExternalCommand" - can we use our own customised image as a markup rather than the default one (the point with blue symbology) ?
or
Instead of using "AddMarkup" command from "RunExternalCommand" - do we have any other tools that can provide us the functionality of adding a custom image as a markup symbol?
-
Hello Srikanth,
Unfortunately I do not believe this cannot be done in workflow. If you were to write a custom tool, there is a command "AddCustomMarkup" which would allow you to define the geometry and symbology for the markup. You would want to define the symbology as a picture marker symbol.
Hope this helps.
0 -
Hi Michael,
I am unable to find "AddCustomMarkup" in the Command Name of "RunExternalCommand" tool. Could you please provide me any reference in the "Help" section of workflows or any documentation where it talks about the "AddCustonMarkup" tool?
Thanks
Srikanth
0 -
Hello Srikanth,
Im sorry I was unclear before. You can only use the "AddCustomMarkup" tool if you write some custom code. It cannot be used from workflow.
-Michael
0 -
Hi Michael,
Thanks for sharing the information. I am unable to find any documentation which gives me an idea as how to write custom code and then deploy it to the workflow manager - so that that custom activity appears in the workflow manager.
Could you please direct me to any doucmentaion or videos - which shows as how to create a custom activity through code(VS2010) and then deploy it to the workflow manager?
Thanks
Srikanth0 -
Hello Srikanth,
You can download the Silverlight Quickstart solution from the support.geoocrtex.com downloads section. In that solution should be a few modules showing how to write some custom code.
There are also some great tutorial videos located at the link below. The (http://support.geocortex.com/guc-2012-d2-tt-s4) Working with Workflow II (Advanced) video at the 1:10:00 mark talks about getting Workflow and custom code to interact with eachother
http://support.geocortex.com/2012-user-conference
Hope this helps!
-Michael
0 -
Thanks a lot Michael, I really appreciate for providing enough information to move forward on workflows.
-Srikanth
0 -
Hi Michael,
The following question just popped up in my mind.
For the web applications we develop, we wanted to use only HTML5 Viewer. But based on the information provided here in this post regarding creating a customised markup code with different image as a symbol.
I am imagining that, if we develop the customised mark up code using "Silverlight quickstart" - can we use that "AddCustommarkup" activity in the html 5 viewer?
or
we have to write a cutsomized code only with respect to html 5 viewer?
Thanks
Srikanth
0 -
Hello Srikanth,
Yes you would have to write customized code with respect to the HTML 5 viewer for which there is also a quick start package. The Administrator and Developer Guid for HTML 5 also has good resources for starting to write custom code.
-Michael
0 -
Hi Michael,
I got little confused, just need your clarification on this.
So, it means that if I am working on HTML5 Viewer and if I want to use a workflow for the HTML5 viewer where I am using a custom activity - I have to make sure that custom activity which is written with "Silverlight Quick start" should not be used for HTML5 Viewer.
Similarly, if I want to use a work flow for the Silverlight Viewer where I am using a custom activity - I have to make sure that custom activity which is written with "HTML5 SDK" should not be used for Silverlight Viewer.
Thanks
Srikanth
0 -
Hello Srikanth,
Workflows are written independent of the viewer. If you are writing custom code for the SIlverlight Viewer, use the Silverlight Quickstart. If you are writing custom code for the HTML5 Viewer, use the HTML Quickstart. The nature of the code between these 2 quickstarts is quite different so you cant use HTML5 for silverlight or vice versa.
Hope this clears things up
0 -
Thanks Michael, that clears my confusion.
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
11 kommentarer