Asset Library Upload - hide Destinationfolder option
Hi All,
How can we hide "Destination Folder ",
option in the Asset library while uploading a document in sharepoint 2013 environment.
Thanks,
Pavankumar.
Hi,
By design, the "Destination Folder" will appear when the library has folders.
If you want to hide the option, the following PowerShell script for your reference:
$SiteURL="http://SiteURL"
$site = new-object Microsoft.SharePoint.SPSite($SiteURL)
$web=$site.OpenWeb()
if ($web.CustomUploadPage -ne "")
$web.CustomUploadPage = ""
$web.Update()
$web.Close()
$site.Close()
We also can modify the upload.aspx page or customize your own upload page.
Best Regards
Dennis Guo
TechNet Community Support
Similar Messages
-
My 365 site is developed this rather odd behaviour.
I think its as a result of something I did when I tried and failed to use Document Sets to mange video files.
Anyway the result is like the title say's I know get two files in the library. What's interesting is the one that is content type = Video opens up the properties dialog for Video but does not play.
The copntent type = Image file opens the image property dialog and does play.
Note that I'm the admin for the sub-site, have very litle experience, no training and have ticked the site administrator off so much with stupid questions he's not talking to me so any help is very welcome.
ThanksHi Rebecca,
Thanks for responding.
I can't confirm that it's an OOB Asset Library becasue I don't know how to find that out. When I'm in Suite Content and click on ... then on About I get "Asset Library A place to share, browse and mange rich media ssests, like image, audio and
video files.' I so hopefully it is. Additional information - it worked okay before I messed something up when I was trying to create a documet set. It's broken all the libraries of this type on the site.
Just tried creating a new library and I get the same problem.
Just tried uploading an MP4 file and I get the same problem.
I'm not sure what you mean by "When you uploaded the file, did you choose the content type as Video?" I use drag and drop or the Upload button and I am not prompted for a content type. The default content type is Video and I can't change the content
type to video on the file that does actually play the video. The other file is a video content type but does not play.
Sorry this is all very confusing I'm sure.
I know I've done something to mess the site settings us when I fooled with Document Set's but exactly what I did and how to fix I know not.
Thanks again for your help. -
How can i get a full url of video uploaded in asset library on sharepoint 2013
Hi All,
I have videos in SharePoint 2013 Asset Library, now i want display that videos in my SharePoint webpage as a webpart.
Now, how can i get a full url of video uploaded in asset library?
Thanks in Advance!The Asset library does a pretty good job of hiding the full URL. An "asset" item is actually a folder. The folder contains the video and support files like preview thumbnails.
So, if you upload a video named butterfly.wmv to http://yourSite/sites/demo/Assets the path to the video would be http://yourSite/sites/demo/Assets/butterfly/butterfly.wmv. If the user changed the name while uploading the file to "Pretty bugs"
the URL would then be http://yourSite/sites/demo/Assets/Pretty%20Bugs/butterfly.wmv.
Probably the best way to explore these hidden folders and discover the "real" URL is to use SharePoint Designer 2013.
Launch SharePoint Designer and open your site.
In the Navigation area click "All Files". (If you don't see All Files then your administrators may have partially locked down SPD.)
In the list of files and folders click the Assets library.
Find and click your video (you will see the "Name" as entered in the file's properties, not the file name.)
Find the video file, right-click it and click Properties.
Copy the Location.
If you just want to display the video in the page:
Edit the page
Click INSERT
Click Web Part
From the Media and Content category select Media Web Part and click Add.
Edit the web part (click the web part's dropdown)
From the MEDIA ribbon click Change Media
Click From SharePoint and navigate to your assets library and pick a video
Mike Smith TechTrainingNotes.blogspot.com
Books:
SharePoint 2007 2010 Customization for the Site Owner,
SharePoint 2010 Security for the Site Owner -
How to upload a video into Asset Library programmatically using server side code in sharepoint 2013
How to upload a video into Asset Library programmatically using server side code in sharepoint 2013
First you need to configure your asset library with video content type and then you can use SharePoint object model to upload the video files in it...
check this link for setting up Asset library
http://www.c-sharpcorner.com/UploadFile/54db21/asset-library-in-sharepoint-2010/
http://social.technet.microsoft.com/Forums/sharepoint/en-US/1d64a5f7-c7db-4ae0-8b0d-d0722cacf5f2/assets-library-video-files-and-c?forum=sharepointdevelopmentprevious
Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
INSQLSERVER.COM
Mohammad Nizamuddin -
Re Creation of Site Assets Library after Publishing site Title update
For some reason we don't need Site Assets library in publishing site so we have decided to delete that. But after Publishing site Title update Site Assets Library is getting re created . What would be the possible reason for that . Whether Publishing
feature is getting reactivated whenever title is getting updated.
Ashish Baranwal || To know what you know and what you do not know, that is true knowledgeHi Ashish,
SharePoint Designer has the setting "Hide from Browser' to hide the List/Library from browser.
It only restrict the user to view the List/Library links from browser,but if user directly use the URL to reach that List/Library and the user can edit or add new items.
Better set the ready only permission to users and set the "Hide from Browser" to the Site Assets library through SharePoint Designer.
Follow the steps to hide the Site Assets Library through Designer:
In Site Object Section, Select Lists and Libraries
Select Site Assets Library on right side, it's navigate to List Settings
In List settings-> General Settings, Uncheck option “Display this list on quick launch”. [This is necessary], Check the “Hide from browser”.
Save the list.
Now the links are hidden from SharePoint Site in browser.
Follow the steps to Unhide the Site Assets Library through Designer:
Open SharePoint designer 2010.
Click the “All Files” folder at the bottom in left pane.
Right click your hidden list from “All Files -> Lists” folder and choose property.
Now you have your hidden list open in SharePoint Designer.
In List settings-> General Settings: Uncheck the “Hide from browser” and save.
Now the links are visible in SharePoint Site.
Indul Hassan
Microsoft Community Contributor
http://www.indulhassan.com
You Snooze.. You Lose !! -
Unable to check-in, check-out and workflow videos in an Asset Library
Hi All,
This may seem like a silly question but I have yet to find anything official about why you cannot check in/out video files in an Asset Library or workflow them. We have an approval workflow in our publishing environment which works great and I'm able to
check in/out and workflow images and even documents in an Asset Library but not Videos. We want videos to go through an approval process as well and I'm not talking about simple Content Approval, we want it to go through an approval workflow but check in/out
is grayed out/disabled and of course we can't workflow the videos.
I take it there must be some reason for this but I haven't been able to find an explanation. Any info you can provide me was to why this functionality is disabled would be appreciated.
Kind regards,
LisaHi Lisa, it appears to me that Video content type do not have checkIn/Out feature as it derived from folder CT. You can use document library to upload video using document content type and then checkIn/CheckOut. Hope this helps.
[email protected] -
Asset Master Uploading from Legacy
Hi All SAP Gurus,
I am doing the Asset Master Uploading from the Legacy System. I am able to upload the data from transactions AS91, OASV. But I am facing a peculiar problem.
I want to uplad the balances in the middle of the year i.e. 1st Feb 09. My Fiscal year is from January to December. So whenever I am uploading the data & afterwards I am doing the Depreciation Run, the system is calculating the depreciation from January itself. I have maintained
The Date of the Legacy system transfer as 01.02.2009.
Last period of Posted Depreciation in Prv. System as 2009/01.
Can anyone tell me what is the problem? Whether this can be taken care by the shortened fiscal year?
Thanks in advance,When you want that SAP calculates the depreciation for Januari the set-up is:
Take over date 31-12-2008 and last depreciation run old system per 12-2008
Whit this you have the option to run the depreciati for Januari or to do an uplanned depreciation that you post in Februari January and February
When not:
Take over date 31-01-2009 and last depreciation run old system per 01-2009 in that case you have to upload the depreciation from period 01 with AS91?
There are some other options to! -
SharePoint REST API and Asset Library Problem
Hi dear friends,
Im having an issue about posting videos via rest to asset library and i couldnt solve yet.
My main task is to migrate a content(according to the scenario its video) from one farm to another.For that i've planned to use Rest API using server side(c#).While
any other kind of document types(images,texts) are migrated successfully,videos are giving me hard time.
I think theres something special going on while creating videos in an asset library,right?
When i post video as byte array it creates video as .mp4 file but the content type displayed as "Image".I followed this guide : https://msdn.microsoft.com/en-us/library/office/dn292553.aspx and
couldnt find a way.
Can someone give me a sample code or help me solve this issue? Looking forward help from SharePointers who worked with rest api :)
ThanksYou can look at this link to help you set the metadata using REST.
http://sharepointfieldnotes.blogspot.com/2014/04/uploading-documents-and-setting.html
Blog | SharePoint Field Notes Dev Tools |
SPFastDeploy | SPRemoteAPIExplorer -
How to Get a Video Thumbnail preview image in sharepoint Asset Library
namespace ConsoleApplication3
class Program
static void Main(string[] args)
using (var site = new SPSite("http://contoso/sites/teams"))
using (var web = site.OpenWeb())
var list = web.Lists.TryGetList("Videos");
var videoProperties = new Dictionary<string, object>();
videoProperties["Keywords"] = "Intranet Video";
//videoProperties["AlternateThumbnailUrl"] = "/_layouts/images/preview.jpg";
UploadVideo(list, @"C:\Downloads\Video3.mp4", videoProperties);
public static void UploadVideo(SPList list,string fileName,IDict ionary<string,object> properties)
SPFile file;
using (var fileStream = File.OpenRead(fileName))
var urlOfFile = SPUrlUtility.CombineUrl(list.RootFolder.ServerRelativeUrl, Path.GetFileName(fileName));
file = list.RootFolder.Files.Add(urlOfFile, fileStream, true);
list.Update();
//listid = list.ID.add();
SPListItem listItem = list.GetItemById(file.ListItemAllFields.ID);
//SPListItem listItem = list.GetItems("Video3");
var videoContentType = list.ParentWeb.Site.RootWeb.AvailableContentTypes["Video"];
// listItem["ContentTypeId"] = videoContentType.Id;
foreach (var property in properties)
listItem[property.Key] = property.Value;
listItem.Update();
in this code "SPListItem listItem = list.GetItemById(file.ListItemAllFields.ID); " im getting null reference exception.an i have tried with other line "var listItem = file.ListItemAllFields;" same error.any one help me to get solve this
issue.And how to Get a uploaded video Thumnail image.Hi,
I did a test with your code in my environment and it works fine.
For a better troubleshooting, I suggest you debug your code step by step. You may need to check if file.ListItemAllFields.ID is valid.
If you want to get video Thumnail image, there is a column named Preview Image URL, the internal name of the field is AlternateThumbnailUrl.
You can get the field value using Sever Object Model like below.
String url = item[“AlternateThumbnailUrl”].ToString();
Here is a similar thread for your reference:
http://social.technet.microsoft.com/Forums/en-US/251974d8-18ac-4ff9-88a2-633b5bd80fce/get-asset-library-column-value-preview-image-url-programmatically?forum=sharepointgeneralprevious
More information about how to get list item using Server Object Model:
http://msdn.microsoft.com/en-us/library/office/ms460897%28v=office.14%29.aspx
Best regards,
Zhengyu Guo
Zhengyu Guo
TechNet Community Support -
Assets Library in Record Center
Hi,
I am creating an Assets Library in Record Center Site Collection and the library got created, but it is showing some weird behavior.
The Images uploaded there appear as an icon, the thumbnail preview is not getting extracted.
The Default column values are not getting extracted (such as picture size and all)
The "WIC" metadata values are also not getting extracted.
But if I create the same library in other site collections (not using Record Center template) its working fine.
Can Anyone Please tell me what am i missing or is it a default behavior of SharePoint.Hi All,
So finally I found the Issue and the resolution.
The issue is that the site created on the "Record Center" template doesn't have the "ParserEnabled" property enabled by itself. So we need to enable for the site and it works perfectly.
Here is the powershell script to achieve the same:
$web=Get-SPweb "<Site Collection Url>"
$web.ParserEnabled=$true
$web.Update()
Hope this helps someone facing same issue. -
Asset library not working properly
Hi,
I have created an assets library in record center site collection. But its not working as expected. Below are the conditions which I found.
The Images uploaded there appear as an icon, the thumbnail preview is not getting showing.
The Default column values are not getting extracted (such as picture size and all)
The "WIC" metadata values are also not getting extracted.
But if I create the same assets library in other site collections (not using Record Center site template) its working fine.
Can Anyone Please tell me what am i missing or is it a default behavior of SharePoint.Hi Shanila, this seems to be a duplicate of this thread:
https://social.technet.microsoft.com/Forums/en-US/330c2558-54e4-45ad-9699-788c276c987c/assets-library-in-record-center?forum=sharepointdevelopmentprevious
cameron rautmann -
Upload multiple documents option is not visible for one user in SharePoint 2007.
Hi,
For one user Upload multiple documents option is not visible.
We are using SharePoint 2007 environment.
User is using IE 9 32 bit,Office 2010.
I did repair office 2010.
Active x controls are enabled.
Please anyone help me on this.
Thanks,
AshokHi,
According to your post, my understanding is that after client upgraded to Office 2013 the option for Upload multiple document was grayed out.
I try to reproduce the issue in my environment, however everything works well.
My configuration of system is:
Windows 8.1;
IE11;
Office 2013 32bit.
Please repair the Office 2013 to check whether it works.
In addition, there are many thing you need to check. Please refer to:
http://sharepointknowledgebase.blogspot.com/2013/09/upload-multiple-documents-is-disabled.html
Here is a similar thread for your reference:
http://social.msdn.microsoft.com/Forums/en-US/1a5af332-ed21-41ee-bf64-9122a7439623/sharepoint-not-activating-stsuplddll-upload-mutliple-documents-greyed-out?forum=sharepointgeneralprevious
More information:
"Upload Multiple Documents" is disabled in Document Library
SharePoint 2010 : How to Enable Uploading Multiple Documents Functionality
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Zoom the images in asset library thumbnail preview column in display form
Hi,
I have a requirement is:
i have an asset library with 1000 of images and on search of it in the results page, we customized to display the thumbnail preview of that image with title link which links to display form. in the search results on click of thumbnail image it will zoomin.
we need to have the same functionality on display form also. how to achieve it?
ArunaHow are you doing this?
If you delete in iPhoto and empty the iPhoto trash then all versions of the photo are gone
If you use the finder to delete photos then you trash your iPhoto library and will ahve to start over
As to faces - that is not an option so all iPhoto users have face thumbnails
And it is very strongly recommended that you simply stay out of the iPhoto library - there are NO user servicable [parts in it and going into it endangers your photos and other data
LN -
Media Manager Flex View Library upload crash
The Flex View library upload option crashes whenever I try to upload anything. I have Mac OS X Lion and am trying to sync my iPhoto library Which is 20 Gb ie well below the 32Gb limit. As soon as the upload starts the program quits unexpectedly. Anyone have the same problem and an answer? Sometimes there is a partial upload before the crash, but never more than a few minutes.
I have a similiar problem with my Mac Lion. After selecting files to upload (sync) the program just hangs. I have been able to successully sync with a PC, but the Mac program just won't do it and I tried many things.
-
Asset Library Video Customisation
Hi,
I have an asset library created on our Office 365 SharePoint Tenancy. We will be using this library for Video files. I have updated the library to have additional columns to reflect additional information required, for example our reference number
for the video we have uploaded. From the Asset library page, I have customised the list to display these additional columns of information. When I select the Video, the new page loads that has the video (which can be played on it), created information
and the description field.
What I would like to do is customise this page to include a box at the top that has the additional information that has been entered for the current video that is playing.
Any assistance will be greatly appreciated.
Thanks
AdamHi Damas,
According to your description, my understanding is that you want to add a custom field into the
videoplayerpage.aspx page.
For ahieving it, you can open videoplayerpage.aspx with SharePoint Designer 2013, then find
<div id="idVideoSetDescriptionContainer" class="TextGreyStyle DivSectionStyle"> and add
<SharePointWebControls:FieldValue FieldName="test" ControlMode="Display" runat="server"/>,
like the screenshot below:
Note: you need to change the "test" to the name of your custom field.
Best Regards,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback
for TechNet Subscriber Support, contact [email protected]
Wendy Li
TechNet Community Support
Maybe you are looking for
-
i want to know how the adapter works? does it call the database one time and collect the required data (the whole) in xml file or it call the database every time to get a reord forexample i have two rows in a a table and i invoked this procedure by d
-
Is it possible to purchase cellular service while traveling in Japan for an Ipad Air?
I am traveling to Japan and would like to know if it is possible to purchase cell service for my Ipad Air for several weeks? What are the possible cell providers?
-
Oracle not return results only in Oracle11g
Hello everyone. I have a very strange problem. I have this query: SELECT * FROM (SELECT objT.*, UP.UserId permissionUserId, UP.ObjectVersionLabel permissionObjectId, UP.DocumentAccessPermissions permissionDocAccessPermissions,
-
Moving iWeb project from one computer to another
Where does iWeb store locally the project? I'd like to move it off my old computer and onto my new one if possible - thanks!
-
"No License to Play this track" messages
2"No License to Play this track" messages?There seems to be a lot of "no license to play this track" error messages here, but none seem to match mine. I use my ZEN MX for audible books. I transferred the files numerous ways from Netlibrary and they w