Web scripting language.
0
votes
0answers
10 views
SharePoint 2013 - How to add an action to a Callout
I want to add a custom action on the default Callout for Document Libraries.
The only instructions I could find on this subject show how to override the entire FooterTemplate on an existing Callout ...
0
votes
1answer
13 views
Client Object Model, wait for a list to load
I'm writing some javascript that modifies a SharePoint list, I've added it to the page using JSLink. Sometimes the script fails because the list appears not to have fully loaded. If I add an alert ...
0
votes
0answers
27 views
Modal dialog for document library
First of all, my question. How do I make a working modal dialog popup for a document library, that shows details about that document upon clicking the document name in the library list?
Please note ...
0
votes
2answers
32 views
What is the proper way to add custom CSS/JavaScript SharePoint 2013 site?
I would like to tweak the default layout in SharePoint, e.g. add...
.ms-number {
white-space: nowrap;
}
... to all pages.
I know it is possible to modify a master page directly, but is it the ...
1
vote
1answer
26 views
How to embed javascript code in a page using Powershell?
I have a powershell script that creates article pages in a publishing portal site collection. As part of that script I insert the content for each page by setting the value of the $item["Page ...
0
votes
1answer
16 views
A script on this page may be busy, or It may have stopped responding
there is one webpart on page that rotate the images so i added a jquery to rotate images and its working fine but after sometime it gives error like
A script on this page may be busy, or It may have ...
1
vote
1answer
20 views
Custom script not loading for user groups
I have a script that adds an RSS-button to my discussion list. This script is added to the masterpage (seattle.html) as a ScriptLink. If I or one of my colleagues who have full access to the ...
0
votes
1answer
16 views
Freeze Header Row
is it possible to freeze the header row in list? We add some code so the user can scroll trough the content. The code doesn't work for the header freeze.
We work with Internet Explorer 10.
Have ...
0
votes
1answer
24 views
Creating modal dialog for adding item to list from another page
I'm trying to write web-part for viewing list items. It contains link "add new item". I should create modal dialog for adding item, and it must work from every page.
So, I have JS for modal:
...
0
votes
0answers
22 views
Update/Save list item edits without closing editform
I am working with a customised list 'editform' and would like to give my users the ability to save their edits without the editform closing, which is the default SP 'Save' behaviour.
I have linked ...
1
vote
1answer
55 views
How to get the return username using javascript?
I am trying to store the username return by the variable username using the code below, but it seems nothing is returned (Username:undefined pops up), may somebody advise how to make it works?
var ...
0
votes
1answer
44 views
How to dynamically load js file in master page based on aspx page loaded?
I have include all the link to my javascript file in my master page using tag. Can I load specific js file according to pages loaded? (for example, I would like to load home.js only when Home.aspx is ...
0
votes
1answer
26 views
Javascript- Fill Out a Form
I am working on a fairly complex system right now, and the task I am currently stuck on is the creation of a document using JavaScript. I have a form library created with Infopath, and I would like ...
1
vote
1answer
50 views
SP.ClientContext is always “undefined” in JSLink functions
I'm trying to execute CSOM functions as part of a JSLink extension to override rendering of a Lookup Field.
Problem is every time I try to access SP.ClientContext it returns as undefined
I have ...
0
votes
0answers
10 views
Show multiline field if specific select option selected
I'm trying to create a Note box to show up when an items status is set to cancelled. What I'm noticing in the html is that within a form, switching between options does change the html until saved. ...