Solved

Refresh in SharePoint List

Posted on 2011-09-13
17
1,042 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

734 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