Managing Office documents (content & permission) inside SharePoint 2013 document libraries
I have a document library inside my SharePoint 2013 publishing site collection. And I have the following scenario:-
Someone add a word document to the document library,
I can click on the word document inside the document library, and it will open inside my word client application:-
Then I can click on “Edit document” button inside the word document.
Do some modifications.
Click on “Save” button.
And the changes will be saved to the sharepoint document library (which is great).
But I have the following questions:-
Who can basically edit the word document and publish the edit to the SharePoint again? is this restricted to only users who have “edit” permissions on the document library,?
Can I specify that only me or certain users can edit specific documents?
If I open the word document using Firefox or chrome , I will not be able to edit the document and publish it back to SharePoint? So is this feature within IE only ?
Can anyone advice please?
Thanks
Hi,
According to your post, my understanding is that you have some questions about the documents in library.
For the first question: yes, only the user that has more than edit permission can edit/publish the documents.
For the second: we can set item level permission for libray using PowerShell to restrict only the created user can create and edit the items.
http://www.hersheytech.com/Blog/SharePoint/tabid/197/entryid/28/Default.aspx
For the third question: we can install the
IE-Tab in the Chrome or Firefox to support opening the documents directly.
http://stackoverflow.com/questions/14455212/how-to-open-sharepoint-files-in-chrome-firefox
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support
Similar Messages
-
Office web apps Server for Sharepoint 2013
Hello,
I used the following article to install office web apps server and hook it up to a test sharepoint server:
http://technet.microsoft.com/en-us/library/jj219455(v=office.15).aspx. The OWAS service was verified as working by loading:
https://owas.companyname.com/hosting/discovery
For the sharepoint configuration phase, the following commands were run on the sharepoint machine:
1) New-SPWOPIBinding -ServerName "owas.companyname.com" -- (owas.companyname.com) is the host name of the owas server)
2) Get-SPWOPIZone
3) Set-SPWOPIZone -zone "external-https"
However, office documents are still launching in the desktop office applications, not in the browser. Any ideas of what else I may need to do?
thanks,
SherazadHi ,
According to your description, my understanding is that you fail to configure Office Web Apps for your SharePoint 2013.
How about run Get-SPWOPIZone? If you can get a result, it says that your SharePoint have connected with Office Web Apps.
Then you can run below command to change the zone to internal-https.
Set-SPWOPIZone -zone "internal-https"
Reference:
http://technet.microsoft.com/en-us/library/ff431687(v=office.15).aspx
http://stevegoodyear.wordpress.com/sharepoint-2013-build-guide/office-web-apps-2013-server-install-and-configuration/
Thanks,
Eric
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]
Eric Tao
TechNet Community Support -
Cmis content search in sharepoint 2013
For content search using cmis to work with SharePoint 2013, does it require some service to be enabled ?Issue is :while executing the query " SELECT * FROM cmis:document where contains ('Test') " , this returns empty result; whereas
it should have returned some matching documents which I have added. The same query with out the 'where' clause returns all the documents. I tried apache chemistry client libraries ( webservice ).Thanks for the reply. I tried the federated search. Configuring the results source works fine and gives me search results in the query builder. However i am getting the following error in the search results web part.
1¾System.Net.WebException: The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.GetResponse() at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute() at Microsoft.SharePoint.Client.ClientContext.GetFormDigestInfoPrivate() at Microsoft.SharePoint.Client.ClientContext.EnsureFormDigest() at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery() at Microsoft.Office.Server.Search.RemoteSharepoint.RemoteSharepointEvaluator.RemoteSharepointProducer.RetrieveDataFromRemoteServer(Object unused) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at Microsoft.Office.Server.Search.RemoteSharepoint.RemoteSharepointEvaluator.RemoteSharepointProducer.ProcessRecordCore(IRecord record) -
Setting up records management for a custom list in SharePoint 2013
In a workflow 2013, I am planing to 'declare a record' on a custom list. I am doing this since I do not want users to be able to change the custom list once the record is submitted to workflow 2013.
There are options in record declarations settings that I am not certain what to set like what values are appropriate in 'declaration of records can be performed by'.
Since I am my own administrator on my test SharePoint 2013 website, would you tell me what I can do at the administrator's site level to enable the 'mark a record and/or declare a record feature? Basically I would like to know what options to set for a custom
list so the records can not be modified once the custom list has been submitted to the workflow.Hi Wendy,
There are 2 ways either in place records or records archive it will depend on your requirments.
check this article it will guide you about how to configure each way
https://support.office.com/en-nz/article/Implement-Records-Management-0bfe419e-eb1d-421a-becd-5be9fed1e479?ui=en-US&rs=en-NZ&ad=NZ
To decide which one you will choose check the comparison in this link
https://technet.microsoft.com/en-us/library/ee424394.aspx
Kind Regards,
John Naguib
Senior Consultant
John Naguib Blog
John Naguib Twitter
Please remember to mark this as answered if it helped you -
Error when click Manage in Business Data Connectivity Service Sharepoint 2013
Dear all,
In Sharepoint central administration, I click manage service applications. Then, I click New > Business Data Connectivity Service. After create new Business Data Connectivity Service, when I click Manage to manage this new Business Data Connectivity Service,
there is error "Cannot complete this action as the Business Data Connectivity Shared Service is not responding. Please contact your administrator." In event viewer, there is error ""The BDC Service application is not accessible. The full
exception text is : The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'NTLM'.
I have tried to delete and create the BDC Service application, but it still did not work. I have tried to restart BDC Service and do iisreset, but it still did not work.
Please help. Thank you.
Best regards,
JohannaHi,
According to your post, my understanding is that you get an issue about the Business Data Connectivity Service.
To quickly and accurately find the issue, I recommend you can check the event log and ULS log to see if anything unexpected occurred.
For SharePoint 2013, by default, ULS log is at
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
You can check the ULS log by the methods here:
http://blogs.msdn.com/b/opal/archive/2009/12/22/uls-viewer-for-sharepoint-2010-troubleshooting.aspx
http://msdn.microsoft.com/en-us/library/gg193966(v=office.14).aspx
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Share content between sites SharePoint 2013
Hi folks,
I have 2 sites on sharePoint 2013 (intranet site + Internet site), each one has its own content (lists, master page, etc...) except some pages like "about us", "daily news"...
My problem is the following:
The content administrator is doing the work twice; when he wants to add/ edit those pages content he needs to add/edit it in the intranet site AND in the internet site...
Then, i want to have some solution to that allowing this user to add/edit content ine the intranet site and the content of the internet site would be updated automatically... Is there any way to do this?
Any help will be appreciatedHi,
We can customize a management tool using .Net Client Object Model.
The following code snippet your reference:
private void AddFile(string targetUrl, string targetListName, SPListItem item)
using (MemoryStream memoryStream = new MemoryStream())
ClientContext context = new ClientContext(targetUrl);
KeyValuePair<string, string> ssCredentials = SecureStoreUtils.GetSecureStoreCredentials();
context.Credentials = new NetworkCredential(ssCredentials.Key.Split('\\')[1], ssCredentials.Value, ssCredentials.Key.Split('\\')[0]);
var web = context.Web;
context.Load(web);
context.ExecuteQuery();
CopyStream(item.File.OpenBinaryStream(), memoryStream);
memoryStream.Seek(0, SeekOrigin.Begin);
Microsoft.SharePoint.Client.File.SaveBinaryDirect(context, web.ServerRelativeUrl + "/" + targetListName + "/" + item.Name, memoryStream, true);
static private void CopyStream(Stream source, Stream destination)
byte[] buffer = new byte[32768];
int bytesRead;
do
bytesRead = source.Read(buffer, 0, buffer.Length);
destination.Write(buffer, 0, bytesRead);
} while (bytesRead != 0);
More information:
Sync files SharePoint files between web applications using the client object model
http://sacarter.wordpress.com/2011/12/08/sync-files-sharepoint-files-across-web-applications-using-the-client-object-model/
Best Regards
Dennis Guo
TechNet Community Support -
How to delete Content Source in Sharepoint 2013 Search Service
I want to delete Default Content Source in Search
Service in SharePoint 2013 but delete button is disable?Please see the below image. Content Source Type=SharePoint Sites
How to do it?
If In Content Source type=Files than delete button enables but
not for the Content Source type=Sharepoint sites
Vishal GoyalHi,
try to remove it using powershell
$searchapp = Get-SPEnterpriseSearchServiceApplication "NameofSearchAPp"
Remove-SPEnterpriseSearchCrawlContentSource -SearchApplication $searchapp -Identity "Name"\Regards
Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer -
Show 2 level hierarchy in Managed Navigation menu(Current Navigation) in SharePoint 2013
We have enabled Managed Navigation in SharePoint 2013 Publishing Site. Now when a user browses a page we want to show the current page siblings are its parent links in the Managed Navigation. Right now its showing only current page siblings in managed navigation.
Is there any way to show current page parent links in Managed Navigation menu?
For example I have a term set enabled for managed navigation with following terms:
Level1
Level 1.1
Level 1.1.1
Level 1.1.2
Level 1.1.3
Level 2
Level 2.1
Level 2.1.1
Level 3
Level 3.1
Level 4
Level 4.1
Now if a user is on page Level1.1.1 then Current Navigation should show following hierarchy in using Managed Navigation :
Level 1.1
Level 1.1.1 -> This node will be shown as selected
Level 1.1.2
Level 1.1.3
Level 2.1
Level 3.1
Level 4.1
Is the above behaviour possible by doing any out of box configuration or using SharePoint designer?
Thanks,
Anna JhaveriHa i was given the same task by my client but they wanted it to be done in client side rather than creating new user control and inheriting from actual control.
i used Jquery and css to achieve staticlevel 3+ left navigation in sharepoint 2013. first of all let me explain the structure i had created.
HR department
-->Level 1
---->Level 1.1
------>Level 1.1.1
------>Level 1.1.2
-->Level 1.2
(same as above structure)
all i did was setting up the staticlevel ="2" and dynamiclevel="3"
so this would make left navigation with two level and remaining of its sub sites as flyouts
Part-1:
so i used Js to convert all the flyout(dynamic class ) to static $(function(){
$("ul.dynamic").removeClass('dynamic').addClass('static');$(".dynamic").removeClass('dynamic').addClass('static'); $(".static").removeClass('dynamic-children'); $("#zz12_RootAspMenu > li:nth-child(n) > ul").removeClass('dynamic-children');
$("leftnavigation ID"> li:nth-child(n) > ul > li.static > ul").removeClass('dynamic-children'); $("leftnavigation ID" > li:nth-child(n) > ul > li.static > ul > li:nth-child(n) > ul").removeClass('dynamic-children')
$(".ms-navedit-flyoutArrow").removeClass('dynamic-children').removeClass('ms-navedit-flyoutArrow');
by using this script all the dynamic classes get convert to static. after getting rid of classes call "dynamic" and "dynamic-children"
second part :
now we have convert all the dynamic level to static (just look wise) but functionally its behaviors is like flyout menu items.so the following js adds the static behavior classes so it just functions like static menu
$(function()
var path = window.location.pathname;
path = path.replace(/\/$/, "");
path = decodeURIComponent(path)
$("left nav ID" > li > ul > li.static.selected > ul > li > a").each(function () {
var href = $(this).attr('href');
if (path.substring(0, href.length) === href)
$(this).closest('li').addClass('selected');
$(this).removeClass('ms-core-listMenu-selected').addClass('selected').addClass('ms-core-listMenu-selected');
else
$(this).closest('li').removeClass('selected');
$(this).removeClass('selected').removeClass('ms-core-listMenu-selected');
How above code works:
it takes the url path of current page and compare it with the all the anchor elements href ,so when it finds the match it would go insert the static level class like "selected" in the <li> and "ms-core-listMenu-selected" in the <a>
tag so they function like static.
so i have done it for 4 levels so i had to put one more function as shown above to target and read <a> tag href values for 4th level and compare it with current page url.
i didn't explain in detail in here, i'll be writing up again on this issue on my blog with screen captures soon.
Till then you can leave comments and questions.
Disadvantage :this doest work if you have anything listed other then Subsites(pages,list,libraries) in left navigation. -
How to create custom content placeholder in sharepoint 2013
Hi, I would like to create custom content placeholder don't know how to and add to my custom master page in sharepoint 2013. I have no luck searching on how to create custom content placeholder, any help?
Thanks,
JohnwebHi,
If you’re not fixed your requirement with the Out of the box SharePoint place holders, you can create as many as you want as long as the ID doesn’t conflict. On the master page add the content place holder
<asp:ContentPlaceHolderid="CustomName" runat="server"></asp:ContentPlaceHolder> and add this to your page layout
<asp:Contentrunat="server" ContentPlaceHolderID="CustomName"></asp:Content>.
I suggest you provide your basic requirement for further research.
If you want to customize a master page, the Rajendra's method would be helpful.
Best Regards,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Problems when trying to return information for External Content Types in Sharepoint 2013
This is my first post on the forum, until I tried on this problem but have not found anything.
When trying to return the information from the external content displays the following error:
Error retrieving data from mill. Administrators: query the server log for more information.
I do not know what else to do...Hi,
According to your post, my understanding is that you got an error when tried to return the information from the external content.
Did the error occur when you created a new external content type or created a external list?
You can check the steps with the following articles about how to create a external content type.
http://lightningtools.com/bcs/creating-an-external-content-type-with-sharepoint-designer-2013/
http://wyldesharepoint.blogspot.in/2012/12/sharepoint-2013-setting-up-external.html
If the error occurred with the external list, you can check the steps with the following article.
http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2013/01/08/how-to-create-external-data-column-in-sharepoint-2013.aspx
You can also check the event log and ULS log to see if anything unexpected occurred.
For SharePoint 2013, by default, ULS log is at
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Prevent Site Members to view Site Contents Page in SharePoint 2013
I created SharePoint 2013 Site and it has 5 variation sub sites as well. Each site has several pages. I have end users added to Site Members group who should access all the Custom pages. Customer has raised a security issue, end users are able to access
Site Contents page by supplying the link in the URL. I tried adding these end user to site visitors but unfortunately they are not able to access variations sub sites custom pages.
Kindly help me how to solve this.Little confuse.
You want to stop users from viewing page or you want them to to be able to view pages
Which pages are they able to view.
Just follow below steps to prevent users form accessing application pages
http://blog.mastykarz.nl/preventing-authenticated-visitors-browsing-system-pages/
You can even try this powershell
param (
$WebApplicationUrl
$wa = Get-SPWebApplication $WebApplicationUrl
$wa.PolicyRoles.Add("Deny System Pages",
"", "EmptyMask", "ViewFormPages")
$wa.Update()
$claimType = "http://schemas.microsoft.com/sharepoint/2009/08/claims/identityprovider"
$claimValue = "AspNetMembership"
$claim = New-Object Microsoft.SharePoint.Administration.Claims.SPClaim($claimType,
$claimValue, "http://www.w3.org/2001/XMLSchema#string", [Microsoft.SharePoint.Administration.Claims.SPOriginalIssuers]::GetIssuerType("SecurityTokenService"))
$encodedClaim = $claim.ToEncodedString()
$policies = $wa.ZonePolicies("Default")
$policy = $policies.Add($encodedClaim
, "Authenticated visitors")
$policy.PolicyRoleBindings.Add($wa.PolicyRoles["ViewFormPagesLockDown"])
$wa.Update()
If you want restrict users to access some specific page, the you need to remove inheritance of the site
If this helped you resolve your issue, please mark it Answered -
Workflow for Changing Item Level Permission in SharePoint 2013 (Office365)
I am using OOTB Tasks List in SharePoint 2013 (O365). Now my scenario is like this:
I have two user groups: 1.Sales Managers 2. Sales Executives
Sales Managers can create & assign task to Executive. I want something like Sales Managers Can view all tasks (Which is by default view of tasks list i.e. perfact) but Executives can see only their tasks assigned to them. How can I achive this?
Can I use WorkFlow for this to Change item level permission or to assign permission to assigned to user? or JS
Can anyone have proper solution? thanks1. make 2 SharePoint group 1>Sales Managers 2>Sales Executives
2. Show 2 WP of same task list in same page.
3. Use Audience Target for Sales Managers Sharepoint group in first Webpart property. (All
Iten view)
4. Show "My Task" view (assign to =[Me]) Bottom WP for same task list and use Audience Target for Sales Executives. Or if you want it to see
Sales Managers as well, the dont use any Audience Target.
Bottom line - SharePoint group use in Audience Target will do the trick. OOTB
Regards Sudip Misra [email protected] +1-412-237-5435 Pittsburgh, PA -
I already read this blog "http://sharepoint-community.net/forum/topics/lotus-notes-to-sharepoint-2013-migration?commentId=6614983%3AComment%3A94114&xg_source=activity"
In this just the information is not that good enough. I need more details and clarity about the interop.domino.dll ?
Ramesh SHi Ramesh,
Here are some posts about this topic of get info from Lotus notes, which should help, you can take a look.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/96b405b4-2550-42c2-9126-3872c51b9515/im-looking-for-the-difinitive-guide-on-the-domino-library-within-net-vs-2008?forum=csharpgeneral
http://www.ibm.com/developerworks/lotus/library/domino-msnet/
https://naimmurati.wordpress.com/2014/01/11/basic-operations-with-domino-net-api-for-export-purposes/
http://rprabhala.com/2013/01/retrieving-documents-and-their-attributes-from-lotus-domino-using-the-com-based-api/
http://stackoverflow.com/questions/4264434/documentation-for-the-lotus-notes-domino-dll-respectively-interop-domino-dll
For further more about interop.domino.dll documentation, I would recommend you post in lotus forums for a better assistance with more experts regarding this field.
http://www.ibm.com/developerworks/lotus/forums.html
Thanks
Daniel Yang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Assigning permission to SharePoint 2013 group using REST API
Hi All,
I was trying to assign permission to a group using REST but it failing with error message "Bad Request". Below is my REST code to assign Contribute permission to group with ID 95, It would great help if someone can help me to fix this.
// Set permission on a specific group
$.ajax({
url: "<Site URL>/_api/web/roleassignments/addroleassignment(principalid=95, roledefid=1073741827)",
type: "POST",
contentType: "application/json;odata=verbose",
headers: { "Accept": "application/json; odata=verbose","X-RequestDigest": $("#__REQUESTDIGEST").val(),"X-HTTP-Method": "POST" },
success: function (data) {
// Returning the results
alert('Contribute permission set on group');
alert("Error: " + JSON.stringify(data));
error: function (data) {
alert("Error: " + JSON.stringify(data));
~HarishHi Harish,
I have same problem and I just find solution for this error.
You must set body/data to null value --> It's work for me !!! :)
See my code with RequestExecutor (I develop an SharePoint App)
// Set the new role assignment for the group on the list.
this.setNewRoleForGroup = function (listTitle, newRoleDefId, groupId) {
var deferred = $.Deferred();
//First we must call the EnsureSetup method
JSRequest.EnsureSetup();
var hostweburl = decodeURIComponent(JSRequest.QueryString["SPHostUrl"]);
var appweburl = decodeURIComponent(JSRequest.QueryString["SPAppWebUrl"]);
//Tip to have a title formated to REST call
var arrayTitle = decodeURIComponent(listTitle).split("'");
var restQueryUrl = appweburl + "/_api/SP.AppContextSite(@target)/web/lists/GetByTitle('" + arrayTitle.join("''") + "')/roleassignments/addroleassignment(principalid=" + groupId + ",roledefid=" + newRoleDefId + ")?@target='" + hostweburl + "'";
var executor = new SP.RequestExecutor(appweburl);
executor.executeAsync({
url: restQueryUrl,
body: null,
method: "POST",
headers: {
"Content-Type": "application/json;odata=verbose",
"Accept": "application/json; odata=verbose",
"X-HTTP-Method": "POST"
success: function (data, textStatus, xhr) {
deferred.resolve({ updated: true });
error: function (xhr, textStatus, errorThrown) {
deferred.reject(JSON.parse(xhr.body).error.message.value);
return deferred; -
Installation - Office Web Apps Server on SharePoint 2013 Foundation - Download missing
Hi all,
I'm trying to download Office Web Apps Server.
As of November 24th, the download was relocated on the Volume Licencing Center (as per this
link ).
Connected to VLCS, I'm trying to find the download from the tree / using filter..... I'm not finding anything.
Was the product renamed / not available at this time ?
ThxAre you aware of the type of subscription needed to download it?
The client I work for is a government department.... I think they have quite a big subscription!
Thx.
Update
I just found a great link to the list of products available thru the Volume Licensing Program
(http://www.microsoft.com/licensing/products/products.aspx#tab=2).
Office Web Apps Server requires an Office 2013 Licence.... We are checking this requirement right now...
Maybe you are looking for
-
Change Reconciliation account to normal account
Dear Friends, We have a requriement of Changing the reconciliation account to Normal account, This Business requirement is due to Miscelleneous advance booking made for Employees earlier and now the same are booking now individually with different Sp
-
How to change default Icon in Java form
Ian writing small GUI test applications. How can I change the image in the header bar of the form such that at run t ime I see a customised icoon (or image)
-
How to send mail through java program in solaris server
hi i am writing java code to send the mail using my company SMTP ,the program is working fine when i run and deploy in windows environment but at the same time when i deploy the war to sun solaris server ,it is not working and throwing the Error sayi
-
Hello everyone, My name is Tim Woo from China, an user of O2 iphone4 unlocked months ago, and I successfully activated FaceTime days ago. However, In wifi condition, my iphone4 cannot react to the Facetime invitation by Mac or other iphone4 and can
-
Assistance in converting/downgrading CS5 file to CS3 version?
Hi, I noticed in a few other threads that several kind members of this forum have offered to convert files that were created in InDesign CS5 (in my case a trial version) into a format compatible with InDesign CS3 (which I have installed on my system)