Including comments entered from Document Library to Records Center Record Library
We are currently sending documents from a SharePoint 2010 site to a Records Center.
We are using the Collect Signatures workflow, and edited this default workflow in SharePoint Designer to then send the document to a Records Center when both signatures have been applied.
Everything is working well, but we'd like to enter comments @ the originating document library...which we can do now...and have those comments get sent over to the Records Center as well when the document is signed by both people.
Are we able to do this? ...have comments entered in the Document Library show up in the Records Center Records Library?
Thank you!
Hi Joe,
If your settings are configured as below,
The site collection Record Declaration Settings are set to "Block Edit and Delete"
The Record Library is set to "Automatically declare items as records when they are added to this list."
The Drop Off Library Record Declaration Setting is set to site collection default: Do not allow the manual declaration of records;
then the item(e.g. Test.xlsx) routed from "Drop Off Library" will be declared as a record in this Record Library, which is inherited from site collection setting "Block Edit and Delete" and auto declare on library option is enabled, then
this "Test.xlsx" item will be read-only as record and it can not be edited and deleted by design.
From the following error message you provided, it seems you secondly upload the Test.xlsx file in "Drop Off Library", then this time the "Content Organizer" will route
this second Test.xlsx file to the Record Library again, however it cannot update a read-only item with the same name for Test.xlsx previously existed in the Record Library.
"Unexpected Routing Engine: File DropOffLibrary/Test.xlsx could not be routed to /sites/records/Records/101-01 in site http://records/sites/records : This item cannot be updated because it is locked as read-only."
If above is the case, for resolving this issue, you can use the following two methods:
1. Use the option "<label for="ctl00_PlaceHolderMain_versioningSection_appendUniqueCharsRadioButton">Append unique characters to the end of duplicate filenames</label>" for "Content Organizer" settings.
2. Or use the option "<label for="ctl00_PlaceHolderMain_recordBehaviorSection_recordBlockDeleteRadioButton">Block Delete</label>" for site collection "Record Declaration" Settings.
Thanks,
Daniel Yang
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]
Daniel Yang
TechNet Community Support
Similar Messages
-
Drag and drop the file from document library to desktop in sharepoint 2013
can we drag and drp the file from document library to desktop in sharepoint 2013
BlitzWe are using third party tool called PageLight for
SharePoint Outlook Integration which provides drag and drop functionality of emails from Outlook to SharePoint. Other features includes
Save Outlook emails to SharePoint and also moving files/folders from file share.
Thanks
Alfred -
HI
I created a web application and configured rbs storage ,
I uploaded documents (for ex: 18 number)
after uploaded documents , and observed the RBS storage folder, number of files are increasing (39 number) , its working fine
and also I run the querys to check the rows increasing or not , (when I upload new doc rows are increased its fine also)
select count(*) from alldocs
Select count(*) from AllDocstreams
but when I delete some docs from document library ,
1)the doc itself deleted from document library
2)when I check the rbs storage there is no number of files are decreased(its still 39 files ), its same as before doc deleted from doc library
after some time I found the number of files are decreasing from RBS storage folder in sql server,
here I want to know the how the files are decreasing from RBS storage after some time, where shld I check the settings for this? and how I control on it
here how I know the settings for cleaning up orphan BLBOS how these deleted BLOB
adil1. WHen you delete the file from Sharepoint, it is still present in Recycle bin. This is a default setting in sharepoint for 30 days. Once files are deleted fro Recycle bin, it can also be delete from RBS
2. There is a RBS cleanup job which deletes files from RBS. for more info check
http://mehuljamod.blogspot.in/2012/09/remote-blob-storage-maintainer-rbs.html -
Retrieve all folder & sub folder from document library in sharePoint 2013
Hi,
I want to retrieve all the folder and sub folder from document library and bind it to the dropdownlist using server object model.
I used the below query to get all folder and sub folder.\
query.Query = @"<Query><Where><Eq><FieldRef
Name='FSObjType' /><Value Type='Lookup'>1</Value></Eq></Where></Query>";
query.ViewAttributes
="Scope='RecursiveAll'";
query.ViewFields
= "<FieldRef Name='Title'/>";
query.ViewFieldsOnly
= true;
but when I bind result with the dropdownlist,it displays the output as below
Please Help
Thank YouHi,
Thanks for posting your issue, Kindly try out below mentioned CAML query to get all the Folders and Subfolders from Document Library
<Query>
<Where>
<Contains>
<FieldRef Name='FileLeafRef' />
<Value Type='Text'>token</Value>
</Contains>
</Where>
<OrderBy><FieldRef Name='FileDirRef' /></OrderBy>
</Query>
<ViewFields>
<FieldRef Name='ID' />
<FieldRef Name='LinkFilename' />
<FieldRef Name='FileDirRef' />
<FieldRef Name='FileLeafRef' />
</ViewFields>
<QueryOptions>
<ViewAttributes Scope='Recursive' />
<OptimizeFor>FolderUrls</OptimizeFor>
</QueryOptions>
Also, check out below mentioned URLs to fix this issue
https://social.msdn.microsoft.com/Forums/office/en-US/35e799a1-9360-46e5-8719-dd35fdace7ea/filter-document-library-folder-through-caml-query?forum=sharepointdevelopmentlegacy
http://www.ktskumar.com/blog/2009/07/retrieve-all-folders-from-list/
I hope this is helpful to you, mark it as Helpful.
If this works, Please mark it as Answered.
Regards,
Dharmendra Singh (MCPD-EA | MCTS)
Blog : http://sharepoint-community.net/profile/DharmendraSingh -
PowerShell script to find and remove duplicate items from document library
Hi Friends,
Please check this below script, It is finding the duplicate items and removing it. This script is not working to find the duplicate items from document
library and remove. Can you please let me know where it is wrong.
Add-PSSnapin microsoft.sharepoint.powershell
$web = Get-SPWeb -Identity "http://zapltvsspdev02:4333/bu/EXCO"
$list = $web.Lists["AECI Documents"]
$AllDuplicates = $list.Items.GetDataTable() | Group-Object INumber | where {$_.count -gt 1}
$count = 1
$max = $AllDuplicates.Count
foreach($duplicate in $AllDuplicates)
$duplicate.group | Select-Object -Skip 1 | % {$list.GetItemById($_.ID).Delete()}
Write-Progress -PercentComplete ($count / $max * 100) -Activity "$count duplicates removed" -Status "In Progress"
$count++
Remove-PsSnapin Microsoft.SharePoint.PowerShell
Note:
In the above code, duplicates are found using the "INumber" column.
valmikicheck this
http://stackoverflow.com/questions/21337158/delete-duplicate-items-in-sharepoint-list -
Link from Document Library to UNC Path
Can anyone tell me if it is possible to create a link from a document library to a UNC path?
I need to establish links to resources in an existing document repository, but Sharepoint presents the following message when attempting to add the link "Enter a valid document name and URL. Valid URLs must begin with 'http:' or 'https:'"
Thanks in advance.
DaveFollowing are the steps to achieve this.
1) Create a site content type of type "link to a document" with "Document" as a parent content type.
2) Add the same to the document library.
3) Go in the layouts folder open newlink.aspx in Visual Studio IDE
4) add the following function to the script tag
Code Snippetfunction HasValidUrlPrefix_Override(url)
var urlLower=url.toLowerCase();
if (-1==urlLower.search("^http://") &&
-1==urlLower.search("^https://") && -1==urlLower.search("^file://"))
return false;
return true;
5) Replace "HasValidUrlPrefix" to "HasValidUrlPrefix_Override" in the newlink.aspx
6) IISReset and when adding a link to a file share. It shoudl be done in the following format "file://\\{ComputerName}\\}FileName}" it should work
7) Change the wss resource file present in app_globalresources to show the following message "Enter a valid document name and URL. Valid URLs must begin with 'http:' or 'https:' or 'file://'"
Hope this should help.
Regards,
Mayur -
Get/retreive managed metadata column value from Document Library using SharePoint 2013 JSOM
Hi,
I am trying to retrieve managed metadata column (NewsCategory) value in SharePoint 2013 Document library using JSOM.
I get "Object Object" rather than actual value.
I tried:-
var newsCat = item.get_item('NewsCategory');
alert(newsCat) //Displays [Object Object]
var newsCatLabel = newsCat.get_label();
var newsCatId = newsCat.get_termGuid();
But, I get the error "Object doesn't support property or method get_label()"
I also tried :-
var newsTags = item.get_item(' NewsCategory ');
for (var i = 0; i < newsTags.get_count() ; i++) {
var newsTag = newsTags.getItemAtIndex(i);
var newsTagLabel = newsTag.get_label();
var newsTagId = newsTag.get_termGuid();
Even now I get the error "Object doesn't support property or method get_count()"
I have included " NewsCategory " in the load request:- context.load(items, 'Include(File, NewsCategory)');
Any idea what the issue is? Do I have to add any *.js file using $.getScript?
I added following .js files
var scriptbase = _spPageContextInfo.webServerRelativeUrl + "/_layouts/15/";
$.getScript(scriptbase + "SP.Runtime.js", function () {
$.getScript(scriptbase + "SP.js", function () {
$.getScript(scriptbase + "SP.Core.js", function () {
Thanks in Advance,Hi Patrick,
I already added those references. I just pasted the parts of script snippet in my initial post. To avoid confusion I am pasting here complete script.
2.1.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var scriptbase = _spPageContextInfo.webServerRelativeUrl + "/_layouts/15/";
$.getScript(scriptbase + "SP.Runtime.js", function () {
$.getScript(scriptbase + "SP.js", function () {
$.getScript(scriptbase + "SP.Core.js", function () {
function getdata() {
var context = new SP.ClientContext.get_current();
var web = context.get_web();
var list = web.get_lists().getByTitle('Documents');
var camlQuery = new SP.CamlQuery();
var filterCategory = 'Solutions';
var IDfromTaxonomyHiddenList = 15;
camlQuery.set_viewXml('<View><Query><Where><Eq><FieldRef LookupId="TRUE" Name="'+filterCategory+'" /><Value Type="ID">' + IDfromTaxonomyHiddenList +'</Value></Eq></Where></Query></View>');
/*the above CAML query successfully gets all the list items matching the criteria including "NewsCategory" managed metadata column values
But when I try to display the value it retrieved it ouputs/emits Object Object rather than actual values */
var items = list.getItems(camlQuery);
context.load(items, 'Include(File,NewsCategory)');
context.executeQueryAsync(
Function.createDelegate(this, function (sender, args) {
if (items.get_count() > 0) {
var listItemEnumerator = items.getEnumerator();
while (listItemEnumerator.moveNext()) {
var oListItem = listItemEnumerator.get_current();
var file = oListItem.get_file();
var name = file.get_name();
var newsCat = oListItem.get_item('NewsCategory'); alert(newsTags.constructor.getName());
alert(newsCat) //Displays [Object Object]
var newsCatLabel = newsCat.get_label(); // Here it errors out with message "Object doesn't support property or method get_label()"
var newsCatId = newsCat.get_termGuid();
} //end while
}//end if
Function.createDelegate(this, function (sender, args) {
alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
ExecuteOrDelayUntilScriptLoaded(getdata, "SP.Core.js");
</script>
In the above script "var name = file.get_name(); " gets the exact file name.
But the line "var newsCat = item.get_item('NewsCategory');
alert(newsCat) //Displays [Object Object] rather than actual value.
Issue resolved replace "oListItem.get_item('NewsCategory');" with oListItem.get_item('NewsCategory').get_label();"
Thanks -
Editing Excel in Browser deletes title from document library.
We just noticed an issue where if we update an Excel file using Office Web Apps, when we return to the library the excel title is missing from the document library. The name and other metadata in the library all seem to be preserved, it's only the Title
field that seems to be deleted. We confirmed this behavior on several different site collections and on our test environment which has SP1 installed as well.
Anyone know of a fix for this?
Thanks.
Nick HurstHi Nick,
According to your description, my understanding is that the Title became blank after you edited the excel file with Office Web app.
Whether this issue occurred when you edited the files of other types, like word or ppt.
Please install SharePoint 2013 SP1, compare the result.
SharePoint 2013 SP1
http://support.microsoft.com/kb/2817429/en-us
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
XSL variable-of document name from document library list does not render
I'm currently building a custom XSL file that is to be linked to a webpart so I can create a custom view. I must say I am new to XSL coding though I have background in html, javascript, php.
I'm able to render general columns that has been added (from document properties) in the document library I'm pulling data from but cannot seem to figure out how to render out the title. It is a document library so it is to be pulling the name of the document
added to the library.
In the aspx, I did try changing all name types (ones with links, without, with edit etc.) but no luck.
Here is my xsl code so far:
<xsl:template name="block.rowview">
<style>
.sktile{
width:200px; height:200px; border:#000 solid thin;
float:left; margin:5px; overflow:hidden
</style>
<div class="sktile">
<xsl:value-of select="@LinkFilename" />
<xsl:value-of select="@Description0" disable-output-escaping="yes"/>
<xsl:value-of select="@Recording_x0020_Date" />
<xsl:value-of select="@Presenter" disable-output-escaping="yes"/>
<xsl:value-of select="@Tools" disable-output-escaping="yes"/>
</div>
</xsl:template>
And here are the field references:
<FieldRef Name="LinkFilename"/>
<FieldRef Name="Recording_x0020_Date"/>
<FieldRef Name="Presenter"/>
<FieldRef Name="Tools"/>
<FieldRef Name="Description0"/>
So the field I'm struggling to show is the "LinkFilename" It would be great if someone can point out what I'm missing or what I'm doing wrong. Thanks in advance!Hi, Paul
Here are two VIs. Local1 return an error while building and local2 works fine.
Please let me know what's wrong!
In previous messege I've asked for a list of bugs in 8.20 and 8.0.1, do you know if it is available?
Thank you,
Andrej
Attachments:
local1.vi 11 KB
local2.vi 12 KB -
How to open links from document library in a new window?
I have a column called "Links" in document library, i want to open those links in a new window. Please guide me on this how to achieve this.
Thanks
Ramanjulu Naidu Nhi,
See whether these links help you -
http://preachingsharepoint.blogspot.com/2012/06/open-document-in-new-window-from.html
http://stackoverflow.com/questions/5119919/sharepoint-links-how-to-open-in-new-tab-window
http://www.benramey.com/2011/04/25/opening-all-sharepoint-2010-documents-in-a-new-window/
http://social.technet.microsoft.com/Forums/sharepoint/en-US/9db08c4a-b53c-419a-84f8-001c194d1311/how-to-open-sharepoint-document-library-pdf-file-in-new-window?forum=sharepointadminlegacy
http://www.andrewconnell.com/Adding-OpenInNewWindow-option-to-SharePoint-Links-lists
http://www.uccorner.com/32/sharepoint/sharepoint-open-links-in-new-window/
Hope this helps!
MCITP: SharePoint 2010 Administrator
MCTS - MOSS 2007 Configuring, .NET 2.0
| SharePoint Architect | Evangelist |
http://www.sharepointdeveloper.in/
http://ramakrishnaraja.blogspot.com/ -
Update Symbol and Symbol Script without removing from Document library
Is there a way in fireworks CS5.1 to update a symbol and the corresponding symbol script without removing it from the document library like it suggests in the below article
http://www.adobe.com/designcenter/fireworks/articles/frwcs3_richsymbol_print.htmlI have done some more research on this question and there appears to be no way to update a symbol script without removing it from the document library, hopefully this bug will be patched in the near future
-
How to fast attach files from document library to e-mail?
Hi
I have SP2013 , and i love it to drag and drop the documents into Document library,
it is posible that i can drag and drop the files from SharePoint document library to new E-Mail or Internet Explorer?
tanxs for answer.Harmon.IE provide an outlook plug-in that provides drag-drop functionality for SharePoint within outlook and could be worth taking a look at.
I believe it's license free up to 100 seats, but you'll need to verify that.
Paul.
Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times. -
SharePoint excelservice.asmx - Delete documents from document library
Hi,
How to delete a document from SharePoint Document Library using excelservice.asmx xml.
Thanks.Hi Synoverge,
Yes the batch command you mentioned should work provided you use ListWebServices, For more details check this out
http://msdn.microsoft.com/en-us/library/lists.lists.updatelistitems.aspx
http://sridharu.blogspot.in/2008/10/createdelete-folers-using-listsasmx-web.html
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/61466984-1844-48a1-8c1e-1c59a0f9876a/move-and-delete-files-remotely-using-sharepoint-web-services-?forum=sharepointdevelopmentlegacy
Raghavendra Shanbhag | Blog: www.SharePointColumn.com
Please click "Propose As Answer " if a post solves your problem or "Vote As Helpful" if a post has been useful to you.
Disclaimer: This posting is provided "AS IS" with no warranties. -
How to restrict users to download, copy and print the documents from document library
I want in SharePoint documents which I uploaded in documents library. no user will be able to download, copy and print.
How it can be possible these types of restrictions apply?You can't achieve this goal by just setting appropriate access rights on SharePoint. You need to setup and configure Information Rights Management: https://support.office.com/en-in/article/Apply-Information-Rights-Management-to-a-list-or-library-6714cfe3-ef39-43b0-bb65-a887726bb63c
-
Sharepoint 2010 -Script to get file name from Document Library
Hi
can anybody send be script that works in "SharePoint 2010 management Shell" to get list of file names in document library.
ThankSee my updated answer. The double quotes need to be removed. Also note that you need to use $item.File.Name
and not $item.Name to get the name of the files.
Blog | SharePoint Learnings CodePlex Tools |
Export Version History To Excel |
Autocomplete Lookup Field
Maybe you are looking for
-
How can i bring the data from an old Identity on old mac into new identity on new mac?
I have bought a new mac and transferred all the old data in. I do not want it to live in the old identity though, i want it to be in the new ID on the new computr=ter. Is this possible?
-
Itunes compatibility with shuffle and nano
HI,, i bought an ipod nano, and then I installed the itunes, I have two computers. One is of my mom, and the other one of everyone else. I installed the i-tunes in my mom's computer, and everything was ok until she told me that she doesn't want i-tun
-
ITunes does not open when icon is clicked
Ever since I downloaded the latest update for iTunes, it has refused to open. I went through the troubleshooting page, but they all related to installation issues, and this seems to have been installed, just not accessible for some reason. I have com
-
In IR Adapter objects are there, in that what is the Adapter Metadata ? At what time it is useful ? Edited by: Venkataramesh B on Feb 19, 2008 10:17 PM
-
The apple TV 1 doesn't connect with iPad why
I upgrade the apple TV 1 software and now the remote with iPad/iPhone doesn't work any more why