- My View
Have you ever wondered what happens with the system when you hit a URL similar to this in the browser?
This is a processor doing this work for you.
I co-presented with David Loo during our Knowledge12 conference this year on Advanced Integrations. Towards the end of our lab he brought up the concept of processors in the SNC platform. I had no idea what they were or how to use them so I have started a quest to figure them out. I am still only beginning this quest, but I will be updating this blog as I find out more and more. I thought it would be good to pass on what I do know. David said this will be a key area to understand for platform developers and that more documentation will come.
If you go to the System Definitions -> Processors module you will see that the SNC system comes standard with a handful of prebuilt processors. You do have the ability to write more. I am going to share the example we demonstrated at Knowledge12 and hopefully things will make sense.
1. Go to the Processors module and click New
2. Fill in these fields with values indicated:
3. In the script section type the following:
var name = g_request.getParameter("name"); g_processor.writeOutput("text/plain", "Hello " + name);