- 
                Notifications
    You must be signed in to change notification settings 
- Fork 899
Creating diagram using GoJS library #361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Using 'Attachment API - POST /now/attachment/file' to upload multiple files on form submit.
This widget is using the 'Attachment API - POST /now/attachment/file' to upload multiple files on form submit. The result will appear in the console or check directly the record.
In this snippet you will create a custom process flow with a custom page and populated with standard widgets.
This reverts commit 22fbfc3.
This reverts commit c45dde4.
Record process flow
This change will correct an issue which prevent window users to clone this repo. Error error: invalid path 'UI Actions/Add "Show Workflow" Related link/readme.md'
Creating diagram using GoJS library
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @rafzk! This is pretty cool! When I implemented it in my PDI I found a discrepancy. Your readme says:
Client Side Scripts
- Copy and Paste below
Server-Side Scriptin Widget's Server Side Section
Can you correct this to say that it needs to go inside the Client controller function?
Also, there was a note in your CSS code:
// need to improve this section
I'm not sure if you meant to fix this before you submitted it or do you plan to come back later with enhancements?
| Yes sure @smartcarleen! I've updated the readme 👍 | 
| Yah ServiceNow is using ChartJS but its always good to explore other alternatives 🥇 I will do one using ChartJS so people can compare it | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @rafzk Please also correct the part of your readme that directs the user to paste the client-side code into the Server-side script. It should say something like:
- Copy and Paste inside the api.controllerfunction in theClient Controllersection
I tried to make these simple changes myself, but I don't have access.
| Done. Can you check @smartcarleen ? | 
| Yah, you cant! The original code its on my repo and all changes needs to be done on my end unless you accept it and change it later. Thank you!! | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making those changes! Happy Hacktoberfest!

Creating diagram using GoJS library