Adding a file name to a SharePoint list

%3CLINGO-SUB%20id%3D%22lingo-sub-1937353%22%20slang%3D%22en-US%22%3EAdding%20a%20file%20name%20to%20a%20SharePoint%20list%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1937353%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20looking%20for%20some%20assistance%20with%20a%20task%20I%20am%20trying%20to%20accomplish.%20I%20have%20a%20folder%20inside%20a%20document%20library%20in%20SharePoint.%20Whenever%20a%20new%20file%20is%20created%20inside%20that%20folder%2C%20I%20would%20like%20to%20add%20the%20file%20name%20for%20that%20document%20in%20a%20SharePoint%20list%20I%20have%20created%20inside%20the%20same%20document%20library.%20I%20assume%20one%20would%20use%20the%20'Get%20File%20Properties'%20to%20isolate%20the%20file%20name%2C%20but%20how%20would%20I%20then%20automatically%20copy%20that%20filename%20to%20my%20SharePoint%20list%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3EAsh%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1937353%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1937425%22%20slang%3D%22en-US%22%3ERe%3A%20Adding%20a%20file%20name%20to%20a%20SharePoint%20list%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1937425%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F884076%22%20target%3D%22_blank%22%3E%40Ash1ZN%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20are%20using%20SharePoint%20online%20then%20you%20can%20easily%20achieve%20this%20using%20simple%20Power%20Automate%20flow.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EConfigure%20your%20flow%20similar%20to%20below%20image%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Copy%20file%20name.png%22%20style%3D%22width%3A%20610px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236438iE07BBE3A6F09469A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Copy%20file%20name.png%22%20alt%3D%22Copy%20file%20name.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELet%20me%20know%20if%20you%20have%20any%20doubts%20in%20creating%20this%20flow.%3C%2FP%3E%3CHR%20%2F%3E%3CP%3EPlease%20click%20%3CSTRONG%3EMark%20as%20Best%20Response%3C%2FSTRONG%3E%20if%20my%20post%20helped%20you%20to%20solve%20your%20issue.%20This%20will%20help%20others%20to%20find%20the%20correct%20solution%20easily.%20It%20also%20closes%20the%20item.%20If%20the%20post%20was%20useful%20in%20other%20ways%2C%20please%20consider%20giving%20it%20%3CSTRONG%3ELike%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hi,

 

I am looking for some assistance with a task I am trying to accomplish. I have a folder inside a document library in SharePoint. Whenever a new file is created inside that folder, I would like to add the file name for that document in a SharePoint list I have created inside the same document library. I assume one would use the 'Get File Properties' to isolate the file name, but how would I then automatically copy that filename to my SharePoint list?

 

Regards

Ash

1 Reply

@Ash1ZN 

If you are using SharePoint online then you can easily achieve this using simple Power Automate flow.

 

Configure your flow similar to below image:

Copy file name.png

 

Let me know if you have any doubts in creating this flow.


Please click Mark as Best Response if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.