Solved

Refresh in SharePoint List

Posted on 2011-09-13
17
992 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
 
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
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 

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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now