Professional Documents
Culture Documents
13) After check out again right click on file and click on “Edit file in Advance Mode”. And
then create a object name “Constant” for reference look the screenshot below
14)
19) Add the script tag right before the </body> end tag.
20)
21) Check in the master page and go to “List and Libraries”.
22)
27) Right click on form name and click on “Edit File in Advance Mode”.
28)
29) Find “http” keyword and replace the URL with the constant object we created.
30)
31) Be careful do not use “Replace All”. (constant will only work in javascript code not in
HTML tags)
32)
33) In few html tag we need to change the URL to our current site hard coded (Site
Collection Name).
34)
35) Press “Ctrl+S” to save and open the other list forms and do the same.
36) If hardcoded URL in style tag use following jquery function.
a. <script>
b. $(document).ready(function(){
c. $('.loadinggif').css('background-
image:',Constant.Sites.PFInterestFree+"/SiteAssets/ajaxLoader.gif",'background-
repeat:','no-repeat','background-position:','right','background-origin:','center'})
d. );
e. </script>
37)
38) Also need to update people picker get data function or command because meta-data
field value changes after migration. Some of them are as follow,
39) People Picker
a. var SCpeople = $().SPFindPeoplePicker({peoplePickerDisplayName: "Service
Champion *"});
b. SCpeople.contents[0].innerHTML
c. Use this command to get people picker value
40) On Button redirect URL.
a. Give URL from site collection name.
41)