Tagged Questions
0
votes
1answer
22 views
JavaScript OM to Approve Designer Workflow Task
I have a SharePoint Designer 2010 approval workflow and I am attempting to approve the tasks via JavaScript Client Object Model. I am able to change all of the fields to "Completed"/"Approved" but the ...
0
votes
1answer
43 views
SharePoint 2010 Modal Dialog on Page Load
I have created an application page that mimics an input form. This form will eventually go into an SP List with other forms. What I'm after is when a user clicks the link to the form from the SP ...
1
vote
1answer
46 views
Should I use ECMAScript from within a user control or visual web part?
It seems to me that I could use ECMAScript from within a user control or a visual web part, but which is the more efficient in terms of resource use, speed etc?
1
vote
3answers
84 views
Using javascript to apply “noindex” to get SharePoint to avoid crawling certain content
I have a problem with navigation elements being crawled on our SharePoint site. These elements come from a custom control that's used for building the site navigation, so the output is just html that ...
0
votes
1answer
33 views
Sharepoint 2010 Javascript Client OM, get user data (not current user) via javascript object model
There are plenty of examples of getting the current user via javascript object model in SharePoint 2010, but I am looking for help with getting any users email/title when I have the loginName.
There ...
0
votes
1answer
71 views
Unable to pass xslt variable in the javascript function
I have added an icon before the image title in asset library. I want to pass the name of the current logged in user and the image title in the JavaScript function to add it in other custom list.
My ...
1
vote
0answers
88 views
window.open JavaScript local file in SharePoint 2010 WebPart
I have created a list of scanned in docs where users can view and print documents (documents can range from PDFs, TXT, DOCX, etc). These files are scanned in from a printer and stored locally in a ...
1
vote
1answer
112 views
Javascript Object Model; possible to return whether item has permissions under inheritence or not?
So if I am using the COM/JSOM, and normal GetListItem, can is there something I can add to the Include method, that will allow me to see if the item returned has permissions under default inheritance ...
0
votes
1answer
75 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 ...
3
votes
0answers
64 views
How can i add a custom tab to a ribbon at runtime using javascript/ECMAscript?
I'm trying to add a Custom tab with a group and some buttons to a single client via conditional javascript, as far as i can tell this is all found in the CUI namespace, however documentation is hard ...
0
votes
0answers
52 views
Visio Web Access web part only working on some pages
I have all of the requisites set up for viewing visio drawings on sharepoint.
On a site I actually have one showing, on a subsite of this site I have the exact same features enabled, but it won't ...
0
votes
1answer
24 views
Referencing a Library in JS
I am attempting to reference a document library in JavaScript. From what I have read, I should be able to open the library using something similar to the following:
list = ...
0
votes
1answer
184 views
_spBodyOnLoadFunctionNames not always working
This is in reference to SharePoint 2010.
I am writing some custom javascript that needs to know when the page has finished loading. To accomplish this I am pushing my callback function on to the ...
0
votes
2answers
68 views
Totalling output from column for all entries in a list
SP2010: I need to come up with a total (number) of a column for all entries in a list. For instance:
Given a list with entries which can be comprised of apples, oranges, and pears, and their ...
1
vote
1answer
80 views
Is there a way to check if a workflow is completed using Javascript?
I created a form that start a workflow automatically when an item is created, and I redirect to html page that shows a message like "Processing... please wait.", and I wait 3 seconds and so redirect ...