0
votes
1answer
1k views

Why, on occasion, does executeQueryAsync() fail to execute success OR failure method?

My intent is to dynamically create a grouping of EditControlBlock (List Item Menu) custom actions for two different list view pages. Upon loading the Active page, all custom actions are destroyed, ...
1
vote
1answer
1k 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 ...
0
votes
1answer
910 views

Registering pageComponent using ClientObjectModel

is there any ways to register PageComponent using client object model? I want to add custom action on the edit form with dynamically populating FlyoutAnchor. But when page has been loaded i recieve ...
0
votes
1answer
369 views

FlyoutAnchor PopulateQueryCommand through clientContext

I have a problem. I want to add Custom action on a Sharepoint Edit form. This must be FlyoutAnchor and i want generate his content dynamically. I'm adding them throuh ClientContext object model(using ...
0
votes
2answers
433 views

How i can get “item ID” column through “BDC Identity” column

I create external list for display external items from my wcf service and add custom action on that list EditForm through ClientObjectModel with this url: ...
2
votes
1answer
2k 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 ...
5
votes
4answers
6k 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
1answer
1k 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 ...