How to upload files to particular folder using Media Library

Customer care manager

Juraj Ondrus asked on September 1, 2009 07:12

How to upload files to particular folder using Media Library

Correct Answer

Juraj Ondrus answered on September 1, 2009 07:12

Actually there is a possibility to create folder for each user automatically while uploading file. It will be created regarding appropriate macro expression specified as follows.

Please follow steps below:

1. Please go to 'Media Gallery' webpart properties. Here you need to set 'Path' property using following macro: {%cmscontext.currentuser.fullname%}. Please note that if you click on 'Edit value' icon you can utilize the macro creator and use different user attribute to name the folder.

2. You might set 'Allow upload' to enable uploading within this webpart.

It will enforce that authenticated users will upload files to their independent folder within the media library.

Moreover it's also possible to set 'Destination Path' for 'Media File Uploader' webpart to work that way.

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.