Tagged Questions
1
vote
1answer
23 views
I'm looking for a way to detect the ribbon load event
I'm looking for a way to hide a button from the ribbon using javascript, but to do this I need to wait until the elements of the ribbon are loaded.
Is there a way to detect such event?
0
votes
1answer
80 views
How to get URL of a document if I have the documents item ID (JavaScript)?
I am trying to create a Ribbon Custom Action in SharePoint 2013 that will e-mail links of selected documents in a document library. I can get the Item ID's of selected items, but how can I use these ...
1
vote
2answers
74 views
Custom action doesn't navigate to another site
I have an issue with custom action.
Here is the definition of my custom action:
<CustomAction
Id="GoToDefi"
Title="Go To"
Description="Go To"
...
1
vote
1answer
341 views
How get item in CommandUIHandler EnabledScript use javascript
can anyone help me with the problem:
I have a list external items from my system and i add a custom button on a ribbon. My item has a state and depending on the state my button should be available or ...
1
vote
1answer
346 views
(Sandbox solution) Ensure my javascript file is loaded after core.js
Using a CustomAction in the location of a scriptlink, I'm inserting a javascript code, however I need this code to run after core.js runs. Does anyone know how I can achieve this?
My CustomAction ...
2
votes
1answer
1k views
Javascript call to NewItem2 error “TypeError: Cannot read property 'tagName' of undefined”
Overview
I have a CustomAction for a button on the ribbon that calls a command in a javascript file. The command fails in the inplview.debug.js file on the following lines (1745 - 1748) in the ...
1
vote
1answer
873 views
Reference a javascript script in a ribbon custom action xml
Reference a .js file on a spribbon custom action elements.xml
on my javascriptmethods.js file:
function test(){
alert('test message.');}
on my custom action elements.xml:
<CustomAction
...
0
votes
2answers
387 views
Get web config setting value in javascript
Best way to get from a custom action js command an webconfig appsetting key value, or another similar approach. ideas?
thanks.
Reference a .js file on a custom action elements.xml
on my ...
5
votes
4answers
3k views
Get current web url in a SPRibbon Custom Action Command
I've a SPRibbon custom action with the purpose of open an custom app page in a modal dialog,
but I'm getting troubles for getting the current web URL, as well, set a reference for a .js with the right ...
1
vote
2answers
835 views
CustomAction : Put JavaScript code in a dedicated file
I have a custom action that look like this :
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction Id="MyCustomAction" Location="CommandUI.Ribbon">
...
1
vote
1answer
667 views
How to check if current folder in document library has child items via JavaScript client object model?
I have a custom button on ribbon, which performs some action with current folder (download folder content as zip package). I want to disable this button in case if current folder doesn't contain any ...

