I have a couple dozen pages and more on the way. Any way to create this once and use on each page?
I have a couple dozen pages and more on the way. Any way to create this once and use on each page?
Jack, please use promises (https://api.jquery.com/promise/) to be sure in each service runs after another. This is one more solution
I read that article but I am not that good of a programmer yet. When you get some time do you think you could give me an Appery example? I think I am missing the concept here from that article because of all the differences between the raw code and Appery.
Actually Appery.io comes with a small JavaScript library to make it easier to select elements in the DOM. It only provides a few functions, so you still need be familiar with the jQuery API.
You can write any custom JavaScript code and include any JavaScript library.
I have been able to rework on this concept and have finally figured it out.
This code is on the Success event of a list service. It takes each returned record and updates the filed "Field_name" to have the value of "UPDATED". I noticed that I have to include the pointer value even though I was not changing it (I'm curious as to why this is).
Two questions:
1: Why do I need to update the id and collName of pointer fields on an update service even if there are values in them already?
2: Is there a way to pass as a variable the Database ID so I don't have to actually include the string in this code, and if not, should I be concerned security-wise?
I figured I would share this here because I had to figure out a little on my own and found the rest of the info only as bits and pieces from several other posts.
NOTE: I couldn't get the code to go in here without cutting off half of it for some reason so here is a screenshot of it instead.
Answered via email