SharePoint document library not showing actual user's name in 'Modified By' on Custom List's meta-data - sharepoint

I have created an utility for browsing and uploading file from user's machine (OS is Windows10) to a SharePoint site's document library. This utility is created using 1. a canvas form created in Power App, 2. a workflow created in Power Automate and 3. destination document library of SharePoint site.
To briefly summarize about its working; when any user uploads any file using this form, workflow is triggered to store this file as an entry to a SharePoint list, and it is then sent to designated reviewers to get it reviewed and approved. On approval, file is moved from SharePoint list to another site's document library.
Files are successfully being moved to the destination document library.
Here is the problem I'm facing for the moved files - The document library has 'modified by' meta-data column associated with files. This field does not display actual user's name whoever uploads a file or replaces an existing file by uploading a modified version of this file. It always shows my name in 'Modified By' field.
Is there any way to fix this and show the actual user's name in this field who uploads any new file or replaces any existing one.
Any help is really appreciated.
Thank you.

The issue you are having is by design.
The kind of trigger you are using in SharePoint connector always operate in context of the owner of the flow (you)
Please check the following for detailed description and possible workarounds: https://sharepoint.stackexchange.com/questions/269396/microsoft-flow-always-run-in-context-of-user-who-published-it

You can try using 'update file properties'. I have not tested if this works or not, but it seems practical solution to test.

Related

How to trigger a flow when a document is pasted in a synced sharepoint folder?

I want to trigger a flow whenever a file is added to a Sharepoint folder.
When using the "When a file is created in a folder" trigger, the flow is triggered if I upload a new file from the Sharepoint Web UI or if I save a new file into the synced folder on my computer.
But if I copy/paste or move a file from my computer's filesystem to the Sharepoint synced folder, the flow isn't triggered.
This is expected behavior and it is by design it seems.
Files uploaded to SharePoint have a modification date of today
and the document that I copied locally and Synced to
SharePoint kept their original date. ...
A lot of the Flow technology
depending on web hooks and one of the things webhooks does is use a
last change token. This is to ensure that you only pickup changes
since a certain date.
... make sure that you upload document to SharePoint rather than
synchronising document to SharePoint.
Uploading documents to SharePoint using OneDrive/Sync and Microsoft Flow ignores these
Author in comment:
I’ve not found a solution for this yet. The only real option at the moment is to use a recurring flow.

Opening documents after checkout from SharePoint

Why won't my document that i'm checking out from SharePoint not open after the checkout?
The status of the document after the check on SharePoint shows that I checked out the document but it won't open automatically.
What's even more annoying is that I don't know where the file has been checked out to.
Is there any way to find out where the document is being checked out to and how to get it to open automatically after the checkout?
I tried it both on Chrome and IE.
Check Out in short means "Reserve the file for me so that no one else makes any changes to it. It does not mean "Open the document"
SharePoint also shows the Checkout status and to whom it is checked out. I will be able to explain more if you tell me "what exactly you see" and why you think these details are missing.
In Sharepoint the checkout prevents other user to modify the document.
You can then open the document clicking on the title.
Your client application (Word for example) will open the document directly from the Sharepoint site.
When you will save the document after changes, it will be saved on the site.
You don't need to save a local copy because the document library works like as a shared folder.
You can even connect the document library on a drive letter if you want.
Try this from a command prompt:
net use k: http://YourSite/YourDocumentLibrary
This will create a network drive that point on the library.
(it works only with WebClient service running on client machine).
The best way to "checkout and edit" is to open the document using its sharepoint url.
For example, if you have a Word file to edit, you can copy its sharepoint url and go to MS Word and paste it in Open dialog box.
You will be asked for credentials and then it shows the checkout button on top of the document.
Later, you can checkin the edited doc using checkin option in file menu.

Sharepoint 2010: Copy or add file to Document Library

I have a silverlight application inserted in a SharePoint page. The SilverLight application runs on a different server thatn that of SharePoint. From an event in the SilverLight, I generate a document on the server side from SQL Server. I can generate the doc on the server hosting the silverlight application and also copy it to the SharePoint server. I wanted to know if I can include this file in a sharepoint document library automatically. I was thinking if like emailing to a list allows us to copy the file into the library, can we configure the reverse, means copying the file make it part of the list.
Update:
I wanted to avoid uploading. For me uploading is sending the file from one location to the target location. But what I am saying is, if I copy the file into the folder where SharePoint keeps the file physically for the particular list, can it be added to the list automatically?
I am not sure, how well I am being able to describe the point. Please elaborate if required or I can answer your queries.
SharePoint stores the files in a database, not a folder.
WebDAV access may be what you're looking for - it's a backbone of the the Explorer View feature that allows a user to access a document library as if you were accessing a file system through a Windows Explorer window.
You can configure "incoming e-mail" properties for the document library, and assign an e-mail address.
After that, when you e-mail a document as attached to e-mail to this e-mail address, then attachment will be saved to that library by sharepoint automatically.

How to create folders base on external datasource in SharePoint 2010?

My goal is to extend functionality of the current asset tracking system.
Basically I would like to pull list of Clients and related assets from external system into sharepoint 2010.
Then I would like to associate documents with each asset. My first intention is to create a list of folders where each folder would be named respectively.
Tell me, if I am going in the wrong direction.
You can open your document library in explorer view and easly copy your content from external sorce to document liabrary, as windows explorer.
You can reffer the below link for more details
http://msmvps.com/blogs/shane/archive/2006/01/12/80843.aspx

How do I add attachments to MOSS list from WSS doc library?

Following a recent merge of companies, we are in the process of migrating documents from WSS off one server to MOSS on another, along with reviewing our filing structure.
I've created a list which needs attachments adding to the new items when created, however these are presently stored on WSS as pdfs in a document lirary. If I browse and add the document to be attached from WSS, it will not accept this as it states "The file or folder name contains characters that are not permitted. Please use a different name". Is there a way around this other than downloading the document using xplica to my home drive and then re-uploading them?
So you do "Actions" and "Open with windows explorer" in 1 library and create a new item in a list and attach files from the same location as in the windows explorer window? Something like http://server/doclib.
I never tried this before but it does work. Interestingly the file that I actually get to upload is from the Internet Explorer temporary internet files. What actual filename do you get to see? That temporary storage does add additional characters to the filename that may be valid for a filesystem but not SharePoint.

Resources