Quantcast
Channel: Microsoft Online: SharePoint Online forum
Viewing all 10096 articles
Browse latest View live

IRM and site

$
0
0

Hi,

Is it possible to enable  IRM only for one site in one site collection ? 

Or is it possible to create documents  other than the default documents  which is created  when a site is created 

Thanks



sharepoint online IRM

$
0
0

Hi,

Office 365 Business Premium license  can support Sharepoint online IRM 

Thanks

Add the SharePoint Version Number to a Word Document

$
0
0

Hello,

I will try to explain this as best as I can so forgive me if I fail!

When updating and saving a document in SharePoint the version number is changed automatically in the version history (1.0, 2.0, etc)

Is there any way to automatically add these version numbers from the version history "No." field to the document that is being edited automatically? 

I have created a template and would like to pull the version history from SharePoint so that it automatically populates in the document itself along the header (so it can be seen as the document is edited). E.g. fill in the "Version" field in the header as below with whatever version number is displayed in "Version history" on SharePoint.

I hope this makes sense?

Many thanks


Product Catalog in SharePoint Online?

$
0
0

I read this post about setting up a product catalog in SharePoint server 2013 https://blogs.technet.microsoft.com/tothesharepoint/2013/02/13/how-to-set-up-a-product-centric-website-in-sharepoint-server-2013, and I was looking for something similar to that but in SharePoint online, I did not found a complete tutorial online about Catalog feature in SharePoint online.

What do you suggest about the best way to make a product catalog in SharePoint Online?

Moving data between custom issue tracking list

$
0
0

Hi

i have created 2x custom issue tracking list

  • 1x called devHelpDesk (Test)
  • 1x called HelpDesk (Live)

I am trying to find a way to move the data from the devHelpDesk list to HelpDesk list

The 2 lists are not on the same site

Is this achievable?

Can't un-declare files as records

$
0
0

Hi

We are getting a correlation ID when trying to click on the compliance detail option in <g class="gr_ gr_50 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="50" id="50">sharepoint</g> online:

Sorry, something went wrong An unexpected error has occurred. TECHNICAL DETAILS Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: cdaccf9e-c01d-8000-8946-6752ca9a7bdd

 

We have also tried <g class="gr_ gr_79 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="79" id="79">powershell</g>  scripts shown below:

function Declare-Record

{

param (

[Parameter(Mandatory=$true,Position=1)]

        [string]$Username,

        [Parameter(Mandatory=$true,Position=2)]

        [string]$Url,

[Parameter(Mandatory=$true,Position=3)]

        $password,

[Parameter(Mandatory=$true,Position=4)]

        [string]$ListTitle

        )

$ctx=New-Object Microsoft.SharePoint.Client.ClientContext($url)

[Microsoft.SharePoint.Client.ClientRuntimeContext]
$rctx=[Microsoft.SharePoint.Client.ClientRuntimeContext]$ctx.Site.Context

$ctx.Credentials = 
New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Username,
$password)

$ctx.Load($ctx.Web)

$ctx.ExecuteQuery()

$ll=$ctx.Web.Lists.GetByTitle($ListTitle)

$ctx.Load($ll)

$ctx.ExecuteQuery()

$spqQuery = New-Object Microsoft.SharePoint.Client.CamlQuery

$spqQuery.ViewXml ="<View Scope='RecursiveAll' /><Where><Eq><FieldRef Name='ServerRelativeUrl'/><Value Type='Text'>/VersionTest/Folder2/FolderWithinFolder</Value></Eq></Where>";

$itemki=$ll.GetItems($spqQuery)

$ctx.Load($itemki)

$ctx.ExecuteQuery()

foreach($item
in $itemki)

{

Write-Host "Processing item no "
$item.ID

$ctx.Load($item)

$ctx.Load($item.File)

$ctx.ExecuteQuery()

[Boolean] $bool=[Microsoft.SharePoint.Client.RecordsRepository.Records]::IsRecord($rctx,
$item)

if($bool)

{

[Microsoft.SharePoint.Client.RecordsRepository.Records]::UnDeclareItemAsRecord($rctx,$item)

$ctx.ExecuteQuery()

Write-host $item.File.Name
" " $item.File.ServerRelativeUrl
"has been undeclared as a record" -ForegroundColor Green

}

else

{

Write-Host $item.File.Name
" " $item.File.ServerRelativeUrl
" is not a record." -ForegroundColor Red

}



}




}



#Paths to SDK

Add-Type -Path 
"C:\Users\MyName\Downloads\Microsoft.SharePointOnline.CSOM.16.1.8715.1200\lib\net45\Microsoft.SharePoint.Client.dll"

Add-Type -Path 
"C:\Users\Myname\Downloads\Microsoft.SharePointOnline.CSOM.16.1.8715.1200\lib\net45\Microsoft.SharePoint.Client.Runtime.dll"

Add-Type -Path 
"C:\Users\Myname\Downloads\Microsoft.SharePointOnline.CSOM.16.1.8715.1200\lib\net45\Microsoft.Office.Client.Policy.dll"

#Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"

#Enter the data

$AdminPassword=Read-Host -Prompt
"Enter password" -AsSecureString

$username="My.Name@contoso.com"

$Url="https://contoso.sharepoint.com/sites/Contoso"

$ListTitle="contoso"

Declare-Record -Username $username -Url 
$Url -password $AdminPassword -ListTitle
$ListTitle

I have made sure that I have made one file to be declared as a record but after running the script above, it keeps saying it is not a record. It gives the below message even though it is a record:

Cannot convert argument "context", with value: "Microsoft.SharePoint.Client.ClientContext", for "IsRecord" to type
"Microsoft.SharePoint.Client.ClientRuntimeContext": "Cannot convert the "Microsoft.SharePoint.Client.ClientContext"
value of type "Microsoft.SharePoint.Client.ClientContext" to type "Microsoft.SharePoint.Client.ClientRuntimeContext"."
At C:\users\myname\Documents\Fix Records.ps1:35 char:9
+         [Boolean] $bool=[Microsoft.SharePoint.Client.RecordsRepositor ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodException
    + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument

Hello.docx   /sites/contoso/Records/Hello.docx  is not a record.

What am I doing wrong?? 

Many thanks.


How to build a Tree View document library in shareppoint online.

$
0
0

Hi,

I need to build an Tree View Document Library in sharepoint online as below structure.

R & D Workflow

+ Product Development

+ Customer Project

   + Optimization

       - Excel Document

+ QS & Admin

   QS

I read a link which recommended by Microsoft support 'https://yetanothersharepointblog.wordpress.com/2012/08/28/adding-a-treeview-to-a-document-library-using-sptreeview-and-sphierarchicaldatasource/'

But I really don't know how to apply the coding into the view.

Can someone show me step by step on how to apply the coding in sharepoint designer.

Thanks

      

Azure Right Managment and IRM service in sharepoint

$
0
0

Hi,

What is the difference between Azure right Management and  IRM service in sharepoint 

Thanks


document library modern site search folder not showing contents

$
0
0

Hi

I have this weird issue regarding searching for documents in a folder in a document library. This is via the modern experience

For example this is my folder structure in the document library

If i go the root of the document library and search for P124, i get the search results of the P124 folder and its content. However, if i then click on the P124 folder, i dont see anything in there at all?

Has anyone experienced this? It doesn't seem to be the case with Classic experience


Needing to hide the Recycle Bin link

$
0
0

Hello, I am attempting to hide the recycle bin link on my Sharepoint Online site.

Only the admin (me), has access to upload files, so I don't need/want the recycle bin available for all users to have access to. I have searched this topic in other places, but no clear-cut answer on how to do this.

Any suggestions from this forum?

New-SPOPublicCdnOrigin returns error

$
0
0

Hello

When I run the following command

New-SPOPublicCdnOrigin -Url https://{tenant}.sharepoint.com/sites/dev/SiteAssets/cdn

I get the following error:

New-SPOPublicCdnOrigin - CDN feature is not enabled by the tenant administrator.

Running Get-SPOTenant | select PublicCdnEnabled returns False

So then I run the Add-SPOTenantCdnOrigin command which runs successfully.

My question is: Why did the New-SPOPublicCdnOrigin fail? How do I get it to work?

Thanks

Yoshi

how to add javascript code to all pages in sharepoint online site

$
0
0

i want to add javascript to all pages in sharepoint online site , please help


Audit All External Links Sent to External Users from SharePoint Online

$
0
0

Hi,

I am trying to audit a large 365 environment to discover what external links have been created from items located OneDrives and SharePoint that have been shared to external users.

Ideally, I am looking for a report that will give me:

  • What Item was Shared (Name and location)
  • When Item Was Shared
  • Who It Was Shared With
  • Who Shared the Item

Does anyone know of any PowerShell or admin tool to create the above report?

Many thanks,

Karl

Sharepoint online - Folder sharing from a Site

$
0
0

A user has a private Sharepoint site, and has several folders in the site. User is sharing a particular folder to a user and the end user is also getting automatic email of the folder shared thing, but the end user gets ÿou need necessary permission to this element error.

Checked for the lockdown feature on site, and it is not activated.

Any help on this is appreciated..

Approval Status in List no longer showing values

$
0
0

Hello,

I have a sharepoint list for a Budget Approval system, which has been working fine up until this morning.

When a new item was created, the approval column (built into SharePoint) was set to Pending, a flow was then carried out requesting approval from the selected manager, and would then set the column to Approved or Declined depending on what the manager selects.

A new item was created this morning, and for some reason, although the flow ran correctly (and all tests afterwards also run correctly), the approval status column now shows no values, a "X" next to it and highlighted red - I think this is just a graphical issue as when you filter by whats approved / pending / declined it does place the items into their correct categories.

I have tried turning the approval required setting off, and then back on to see if it would re-apply the column but it just stays the same with no values - any help would be appreciated on this as I've never seen an issue like this before.

Thanks

Liam


Customizing list forms inside modern experience, by adding cusotm JavaScripts + custom CSS

$
0
0

I am working on a sharepoint online site collection, and i have 2 custom lists (Depts + Employees), where i want to do these modifications to their lists' forms:-

1. inside the Dept display form to add a hyper link, which reference the create form of the Employees list + pass the current Dept display form url inside the "Source=" parameter. so users can add employees under the current Dept, and when they finished adding the employee item, they will be redirected back to Dept display form.

2. hide certain fields inside the Edit forms, based on the selected item status. for example setting the item status to be "closed", will disable all the fields inside the display form, etc..

now i can achieve the above points inside classic interfaces by modifying the relate list forms and then adding some JavaScript code + CSS.

but if i render the 2 lists in modern experience , seems i do not have the ability to modify these forms. so my question is, if this is currently a limitation inside sharepoint modern experience? or there are ways of customizing the lists' forms in modern experience to allow me to do the above 2 customization ?

Thanks in advance for any help.


Repercussions of editing workflows that have already started

$
0
0

Hi all,

I can't find this answer anywhere, so I thought I'd see if anyone has any experience they could share. I built a workflow in Sharepoint Designer to add time to the variable date, then pause until that date to send an email. (Essentially, it sends an email to a document reviewer 14 days prior to the "due date.") I was wondering if there are any unintended consequences to editing a workflow that has already been started for a bunch of documents. For example, if I want to add a Stage 2 to this workflow to Pause until due date and send a final follow-up email, then pause for another week or so and maybe even archive or something. Currently, all my documents are paused in Stage 1.

I don't want to screw it up because it took an annoyingly long time to "start" the workflow--I moved all non-PDFs out of the library, then back in, which counted as "creating" an item and was very fast. However, none of the PDFs would retain metadata following the same workflow so I had to manually kick off the workflow on ~60 documents. :( 

Also, in case someone wants to set up the workflow I've mentioned above, I followed this great YouTube video: 

https://www.youtube.com/watch?v=r0lBhBGzPiA

Missing Add To Calendar button under calendar event details

$
0
0

Hello,

I created a calendar and added events. When clicking on a particular calendar event to get the details, I used to have a button there that would allow me to add it to my Outlook calendar. I believe it would actually download an .ics file. Now, that button to Add to Calendar is no longer there. Please help in returning that feature.

Access folder on the site using PS.

$
0
0
Hello,

I need to get information about all files in the folder on the site.
Try to access the site using CSOM. I am using account which has SPO admin access:

[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client")
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client.Runtime")
$user = "admin@company.ca"
$pw = Read-Host -Prompt "Enter password" -AsSecureString
$url= 'https://companygroup.sharepoint.com/sites/business'
$ctx = New-Object Microsoft.SharePoint.Client.ClientContext($url)
$creds = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($user,$pw)
$ctx.Credentials = $Creds
$ctx.ExecuteQuery()
$web = $ctx.Web
$ctx.load($web)
$ctx.ExecuteQuery()
$web.Title

Have issue with $ctx.Web, it returns:
format-default : The collection has not been initialized. It has not been requested or the
request has not been executed. It may need to be explicitly requested.
    + CategoryInfo          : NotSpecified: (:) [format-default], CollectionNotInitializedE
   xception
    + FullyQualifiedErrorId : Microsoft.SharePoint.Client.CollectionNotInitializedException
   ,Microsoft.PowerShell.Commands.FormatDefaultCommand

In the same time $ctx.ExecuteQuery() does not return any error, and $ctx returns object:
Web                          : Microsoft.SharePoint.Client.Web
Site                         : Microsoft.SharePoint.Client.Site
FormDigestHandlingEnabled    : True
ServerVersion                : 16.0.8720.1222
Url                          : https://companygroup.sharepoint.com/sites/business
ApplicationName              : .NET Library
ClientTag                    :
ValidateOnClient             : True
AuthenticationMode           : Default
FormsAuthenticationLoginInfo :
Credentials                  : Microsoft.SharePoint.Client.SharePointOnlineCredentials
WebRequestExecutorFactory    : Microsoft.SharePoint.Client.DefaultWebRequestExecutorFactory
PendingRequest               : Microsoft.SharePoint.Client.ClientRequest
HasPendingRequest            : False
Tag                          :
RequestTimeout               : 180000
StaticObjects                : {[Microsoft$SharePoint$SPContext$Current,
                               Microsoft.SharePoint.Client.RequestContext]}
ServerSchemaVersion          : 15.0.0.0
ServerLibraryVersion         : 16.0.8720.1222
RequestSchemaVersion         : 15.0.0.0
TraceCorrelationId           : bff3ce9e-6069-8000-90d5-bf18683024b5


PowerShell version: 5.1.14393.2828

Modern Team Site - Width of Side bar

$
0
0

Hello,

We've noticed that on a Modern SharePoint Team site  the "Display Name" of links on the side menu get truncated and don't get auto wrapped onto a 2nd line in the Classic view

Does anyone know how to get around this ?  or know if there are any planned changes on the Road Map to rectify this  ?

I've investigated the use of the top menu  but this is only available on a Communication Site and not on a Team Site

thanks, Simon

 

Viewing all 10096 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>