Solved

Refresh in SharePoint List

Posted on 2011-09-13
17
1,026 Views
Last Modified: 2012-05-12
I have a SharePoint list custom display view that display key elements from a list.  Several of these elements are pulled from another list anytime the record is updated.

is there a way to simulate an update to do the refresh of the data?  I have a refresh icon I added and would like for it to some how kickoff the same workflow that runs on an update when it is clicked.
0
Comment
Question by:Matt Pinkston
  • 5
  • 4
  • 3
  • +1
17 Comments
 

Expert Comment

by:ajaytemp
ID: 36533733
Web parts in web part zone.
0
 
LVL 5

Expert Comment

by:tapiwab
ID: 36534911
0
 

Author Comment

by:Matt Pinkston
ID: 36535001
sorry this is sp2007 I just want to kick off workflow a refresh page
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 5

Expert Comment

by:tapiwab
ID: 36536917
you dont want to hit F5  after the workflow runs? i dont think you can do that from workflow because refeshing of browser can only be done  in browser
0
 

Expert Comment

by:ajaytemp
ID: 36538247
the workflow should be in a loop to check for updates.
reset iis
0
 

Author Comment

by:Matt Pinkston
ID: 36539747
okay confused.    I just want a button on my display that o'clock kicks off workflow and refreshes page...
0
 

Expert Comment

by:ajaytemp
ID: 36539934
you have a workflow.

it may be configured by setting options.

through visual studio using code-behind (XOML)
or
with sp designer application

then when workflow knows it has updated data then it will automatically refresh the page.
0
 

Expert Comment

by:ajaytemp
ID: 36539940
"that o'clock kicks"

confusing.

this is SharePoint Timer job feature.
Different topic.
0
 

Expert Comment

by:ajaytemp
ID: 36539951
manual refreshing is thru JavaScript object model.
0
 

Author Comment

by:Matt Pinkston
ID: 36541695
does anyone have an example of how to do this, I am trying to fight through the riddles
0
 

Author Comment

by:Matt Pinkston
ID: 37350380
was looking for someone that has knowledge of javascript with sharepoint code that would be able to show how to do a refresh of the pages content by clicking a refresh button.  Does not seem like a huge issue to solve.
0
 
LVL 1

Expert Comment

by:vj01
ID: 37385030
Due to hacking concerns, Microsoft cannot allow refresh requests on demand.
Another process is updating the SharePoint list per second ?
0
 
LVL 1

Accepted Solution

by:
vj01 earned 500 total points
ID: 37385047
"was looking for someone that has knowledge of javascript with sharepoint code that would be able to show how to do a refresh of the pages content by clicking a refresh button.  Does not seem like a huge issue to solve."

How to use a refresh method invocation in the Javascript Object Model ?

I'd visit w3cschools.com.  They have a good Javascript tutorial for you.

http://www.w3schools.com/http://www.w3schools.com/
http://www.w3schools.com/http://www.w3schools.com/
0
 
LVL 1

Expert Comment

by:vj01
ID: 37385055
Using JOM invocations has been done for ages in SharePoint 2007.  
Same for the SharePoint Javascript Library.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have just recently built a new SharePoint 2007 farm on a complete Windows 2008 R2 server platform and part of my standard build procedure is to implement a warm up routine, usually in the form of a script that is scheduled every morning to launch …
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question