locked
Using javascript to auto adjust a rank column in a sharepoint list. RRS feed

  • Question

  • Hello,

    I have not been able to find a good example of something like this so far, but what I am trying to find out is if I can create a javascript that will automatically update a list field in all list items based on what is updated on a single item.

    For example, I have a list that contains certain work items that are ordered by priority. If I update the priority on one item, I need for the rest of the items to be adjusted up or down by an increment of 1 to preserve the ranking of the priority field.

    Likewise, if an item is closed, I would need for it to be removed from the priority list.

    Is this something that can be achieved through javascript?

    Any examples would be greatly appreciated.

    Thanks so much in advance,

    Phil

    Tuesday, April 1, 2014 3:48 PM