Skip to main content

Here's my goal and I thought of trying Nintex first. Maybe you have a simpler solution, jscript or something. 

 

I have a library with multiple images and a webpage that displays one image as the background of a Div (via a CSS file), hard coded with a file name.  I'd like that image change once a day. Maybe have a workflow copy a random file from the library to the destination library and overwrite the existing file.

 

My Div that displays the image is like:

#s4-titlerow {background-image:url(image/rig.jpg);}

Use #s4-titlerow {background-image:url(image/myDailyImage.jpg);

You can use the action named "Copy To Sharepoint" copying each day the file you want and renaming it to myDailyImage.jpg


But if the original files in that folder with multiple images are named image01, image02, image03...

How do I rename it to myDailyImage? I can't seem to figure that part  and It only overwrites the file if they are named the same. I haven't seen a rename action either.

Or is it like this:

1. Delete existing myDailyImage.jpg

2. Copy to SharePoint and point to the folder that myDailyImage.jpg would be

3. Update Item and change the Name field to myDailyImage.jpg


Previously you could use the Copy Item action


Peter Behler​, please mark it as answered, if have solved it


Reply