GetCurrent Item Id and pass into another JavaScript function

developer sp1 461 Reputation points
2020-09-02T02:00:01.373+00:00

I want to get current item id from SharePoint Edit form and then pass into another function to get detailed data then handle some situation.

But can't seem to find a valid code to achieve this.

Can you help to provide some sample ?

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,608 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jerryzy 10,571 Reputation points
    2020-09-02T05:42:39.483+00:00

    Hi @developer sp1 ,

    Here is a sample code to get current item id from edit form url, please check the attachment.
    22106-getitemid.txt

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.