Skip to content

Make the GlideAjax tutorial more robust #16

@earlduque

Description

@earlduque

Earl Duque [3:47 PM]
could try expanding on the glideajax one?

on the github tutorial
it should really explain the concept more, maybe even with a picture

Mona Taleb-Agha [3:48 PM]
okay, will do! thanks

Earl Duque [3:49 PM]
and also it only mentions getting one answerfrom the glideajax, but there's a way for a glideajax to return an entire object (edited)
here's a good article: https://community.servicenow.com/community?id=community_article&sys_id=9f7ce2e1dbd0dbc01dcaf3231f96196e
community.servicenow.com
GlideAjax Example Cheat Sheet - Developer Community - ServiceNow Community
It can be hard to remember all of the Client and Server elements of a GlideAjax call. I created a simple example with color coding to help make sure I don't mis

Mona Taleb-Agha [3:49 PM]
oh okay, i’ll read through it and see what it’s missing

Earl Duque [3:50 PM]
but note that instead of json.encode and evalJSON(), we should always use JSON.parse() and JSON.stringify() now

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions