Skip to main content

Questions tagged [custom-javascript]

Filter by
Sorted by
Tagged with
0 votes
1 answer
287 views

I have implemented multiple file uploads using spsave. But whenever i try to upload larger file(5mb+) files are not getting uploaded. const apiRequest = spsave(coreOptions, creds, fileOptions); ...
Akhil Mekkatt's user avatar
0 votes
1 answer
48 views

I am trying to capture the sharepoint page user was on when the click on a Qualtrics Survey. However, using 'document.referrer', i am only able get the part of the URL (.sharepoint.com) instead of ...
Viral Doshi's user avatar
0 votes
1 answer
1k views

I am having issues with dates in a SharePoint 2013 list. At a high level I am archiving the dates of the selected item in List1, storing them in List 2. The dates in the selected item are updated to ...
Pablo's user avatar
  • 75
0 votes
1 answer
389 views

Is it possible to return the value from a REST response back to the calling function? In the code below returneddata is always undefined. In the GetMyData function I can see the REST response and ...
Pablo's user avatar
  • 75
0 votes
2 answers
2k views

I recently used some code I found on this site to help resolve a problem. It worked with no issues. The one thing that is bugging me though is there is a portion of code I do not quite understand ...
Pablo's user avatar
  • 75
0 votes
1 answer
125 views

I am attempting to use some DOM manipulation to change list column names on a list Display view. However when I use Jquery to create the array I get a null value. My test site has the Dialogs setting ...
Pablo's user avatar
  • 75
0 votes
1 answer
53 views

A customer has asked me to display a table that shows everyone who has modified a list and the most recent modification they each made. It would look like: Sally Modified 3 hours ago Jack Modified 4 ...
seaandtea's user avatar
1 vote
1 answer
169 views

For some reason, relative URLs are not working OR I am using the wrong syntax. I have tried the following with no luck on my CEWP HTML page. <script src="/jslib/jquery351/jquery351.min.js&...
Pablo's user avatar
  • 75
1 vote
1 answer
122 views

We deployed solution in one SharePoint server, and uploaded the js file after solution deployed. we are getting the following errors on debugging JS. SCRIPT438: Object doesn't support property or ...
sushma manne's user avatar
0 votes
1 answer
361 views

Is there a way to dynamically create a REST call and specifically I am referring to the data: section of the call. If I get the terminology incorrect by all means keep me honest. I tried some things ...
Pablo's user avatar
  • 75
0 votes
2 answers
256 views

I have below code, to fetch the count of sharepoint list items to auto generate next item number by incrementing it. But somehow it's only fetching count of list items per user (list is protected to ...
Rameet's user avatar
  • 15
1 vote
0 answers
211 views

Is it possible to convert a word document to PDF on SharePoint 2016 using custom code such as JavaScript ? I have heard of Word Automation Services but I am looking for custom code solutions that ...
bteferi's user avatar
  • 11
0 votes
0 answers
25 views

User is on a mobile device and needs to access a JavaScript application when the device loses internet connection (elevator, basement, etc). I’m using service workers to cache my files, and plan on ...
Chad's user avatar
  • 121
0 votes
1 answer
34 views

we have the below requirement to be fullfilled we have custom button which will save the form and redirects to allitems.aspx, but we need to save the item and navigate to the edit form with the newly ...
Pradeep's user avatar
  • 503
1 vote
3 answers
2k views

I am trying to create an array with only the Name properties from a list in SP 2013. I tried using the push method but it has not worked for me. My console prints out the names in an increment style. ...
Ben Segarra's user avatar
1 vote
1 answer
95 views

I have a SharePoint site that uses a Traffic Light column to indicate color based on another column, "Due Date." However, we just added a new column called, "Actual Start Date." In the case where "...
Courtney Wilson's user avatar
1 vote
0 answers
18 views

There are 2 variables: var brands = [ {Brand: "Hyundai"}, {Brand: "Toyota"}, {Brand: "Honda"}, {Brand: "Volkswagen"} ] var cars =[ {Car: "Elantra", BrandIndex = 0}, {Car: "...
Mayank Srivastava's user avatar
1 vote
1 answer
245 views

I have a custom list in SP13 with a choice column containing 'Yes', 'No', and 'NA' drop down values. If the column value is marked 'Yes', I want to require the user to attach a related file to the ...
Joe's user avatar
  • 11
0 votes
2 answers
2k views

I am trying to set a Person or Group field value only if it is null. I am checking this on document.ready() of EditForm.aspx of listItem, where If its null, then I want to set its value to currentUser ...
Vishal_chorghe's user avatar
0 votes
1 answer
36 views

I have a SharePoint list with a choice column called "Asset Type". The column available choices are "Type 1", "Type 2" and "Type 3". I'd like to build a script that returns (in any way) only the ...
RickyGzz's user avatar
1 vote
1 answer
34 views

I included the following code in Item_Default.html of Display Template. My javascript is getting called successfully on site Search and it is working fine. but it is not working on Find a File inline ...
Vishal_chorghe's user avatar