sharepoint-designer

SharePoint Designer Workflow Item Count

一笑奈何 提交于 2021-01-29 06:37:18
问题 I have created SharePoint designer workflow 2013. I am using REST API to fetch records with filter query as below [%Workflow Context:Current Site URL%]_api/lists/getbytitle('[%Workflow Context:List Name%]')/items?$select=Title,ItemId,Reaction,Flag&$filter=Flag eq '1' Now I am using Item Count Action to count the Results but it always give me zero. Kindly help me to solve the issue 回答1: You're missing web in your endpoint _api/web/ . It's helpful to output the rest api endpoint for

SPContext.Current.FormContext.OnSaveHandler not firing when SPControlMode is New

大憨熊 提交于 2020-02-02 06:28:57
问题 I've got a web part that I'm using to add some custom controls to the New, Edit and Display forms for a SharePoint ListItem. I added a handler for SPContext.Current.FormContext.OnSaveHandler to update the item. I add my web part to the Edit and New forms using SharePoint Designer and hide (set IsVisible=False) for the DataFormWebPart that's put in by default. Everything works fine when editing an item. My OnSaveHandler function is called and I update the SPListItem. The problem is with a new

SPContext.Current.FormContext.OnSaveHandler not firing when SPControlMode is New

邮差的信 提交于 2020-02-02 06:28:06
问题 I've got a web part that I'm using to add some custom controls to the New, Edit and Display forms for a SharePoint ListItem. I added a handler for SPContext.Current.FormContext.OnSaveHandler to update the item. I add my web part to the Edit and New forms using SharePoint Designer and hide (set IsVisible=False) for the DataFormWebPart that's put in by default. Everything works fine when editing an item. My OnSaveHandler function is called and I update the SPListItem. The problem is with a new

SPContext.Current.FormContext.OnSaveHandler not firing when SPControlMode is New

坚强是说给别人听的谎言 提交于 2020-02-02 06:28:04
问题 I've got a web part that I'm using to add some custom controls to the New, Edit and Display forms for a SharePoint ListItem. I added a handler for SPContext.Current.FormContext.OnSaveHandler to update the item. I add my web part to the Edit and New forms using SharePoint Designer and hide (set IsVisible=False) for the DataFormWebPart that's put in by default. Everything works fine when editing an item. My OnSaveHandler function is called and I update the SPListItem. The problem is with a new

How to tie a dropdown list to a gridview in Sharepoint 2007?

怎甘沉沦 提交于 2020-01-15 11:22:27
问题 This should be a really really simple thing, but for some reason it is just eluding me. I want a Sharepoint page which will have a drop down list that is tied to a database lookup table. When an item is selected and they click a GO button, I want it to update a gridview that is also on the page. I'm looking for a simple how to - while assuming I'm a sharepoint idiot. BTW, I am using the Microsoft Office Sharepoint Designer. Thanks, Edit: My need is actually very simple. I want to filter the

Not able to call JavaScript function on onClick Event

风流意气都作罢 提交于 2020-01-14 05:26:06
问题 **I have created a custom edit form for a SharePoint online custom list. Where I have created a custom button via which I will start a Workflow. the issue is I am not able to call that function on button click. I have used a single comma also for the function call I have created a custom edit form for a SharePoint online custom list. Where I have created a custom button via which I will start a Workflow. The issue is I am not able to call that function on button click. I have used a single

Sharepoint Conditional fields in Edit.aspx

六月ゝ 毕业季﹏ 提交于 2020-01-01 07:12:23
问题 I would like to display certain meta data fields in the edit form based on the value of a fields. Example: Users upload a document to the Doclib to be approved by there manager. They are allowed to change the meta data Name,Case No, Location until the item is approved by the manager. Once the item is approved I would like to set Name and Case Number to read only. What is the best way to meet this requirement? If approved = yes set Name and Case No = Read only Else do nothing. I have tried

Sharepoint Conditional fields in Edit.aspx

僤鯓⒐⒋嵵緔 提交于 2020-01-01 07:12:08
问题 I would like to display certain meta data fields in the edit form based on the value of a fields. Example: Users upload a document to the Doclib to be approved by there manager. They are allowed to change the meta data Name,Case No, Location until the item is approved by the manager. Once the item is approved I would like to set Name and Case Number to read only. What is the best way to meet this requirement? If approved = yes set Name and Case No = Read only Else do nothing. I have tried

How to perform Looping Through List Items in SharePoint 2013 Designer Workflows?

China☆狼群 提交于 2019-12-25 10:16:11
问题 I am new to SharePoint. I'm creating a workflow in SharePoint 2013 in which I want to iterate a List using a loop. How to perform looping through list items in SharePoint 2013 Designer Workflows? 回答1: I'm not aware that there's any out-of-box way to get a workflow to "loop through" all entries in a list, but you can try to make two workflows bouncing back to each other until all entries are updated, here is the detailed steps, assuming that the list that we are working on is named list_work ,

SharePoint 2010 multiple users accessing same list issue

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-25 03:13:26
问题 We have a list with 1000+ phone numbers in it. This list is sorted in a specific order by due dates and other criteria. This order is very important and needs to be maintained in the solution. We have a group of callers (roughly 4) that will be calling the numbers in this list in the order they are sorted by. These callers are to be presented with one list item at a time, via an InfoPath form, and once they make the call they will update the list item and be presented with the next list item