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

Can we dynamically link the modern "People" web part with a sharepoint group. so adding users inside the sharepoint group will automatically show its users inside the "People" web part

$
0
0

I have created a new modern page inside our sharepoint online classic team site, which is under E3 license plan. and inside the modern page, i have added the new "People" modern web part,as follow:-

enter image description here

Where inside this web part i can manually add users to it. but my question is:- if i can link the "People" web part with a sharepoint group? So adding users inside the sharepoint group will automatically show them inside the "People" web part. or the other way, adding users inside the web part will automatically add them to a sharepoint group,, is this possible to achieve ?

second question, is there any ready=made web part which i can use to achieve this?

Thanks in advance for any help and suggestions


Open pdf file in adobe reader in Sharepoint Online

$
0
0

Hi

Is there a way to configure the system so that pdf files will not be opened via the browser but via Acrobat Reader?

The Document Libraries are configured to open office files in client applications but the PDF opens via browser. this is very frustrating for the users

Thanks for your help

Gali


Gali Gonen

Site Assets and Conditional Access

$
0
0

Hello,

We have conditional access policies turned on for our classic team site collections. I want to upload our company logo to replace the generic SharePoint logo. By default SharePoint uploads this to the Site Assets library. This works fine for devices that are compliant. For visitors that aren't compliant, they don't have permissions to download the logo, which breaks the site layout. Any suggestions for how to accomplish this?

Many Thanks,

David

onedrive\sharepoint links

$
0
0

I am hoping someone can help.. I have a user who for now has been sharing links in one drive for business.  These links work fine for a while then when someone tries to access it they get the

This link has been disabled.  Sorry, access through this link has been removed by admin policy.

where exactly does this policy reside?  I can't seem to locate where to resolve this issue.

What is the purpose of adding "Everyone except external users" group in SharePoint Online site by default?

$
0
0

Hi,

As we are handling the migration from SharePoint 2013 to SharePoint Online, we have noticed that there is a special group called "Everyone except external users" been added automatically under members group which has contribute permission - AND THIS IS DANGEROUS especially for confidential data through this change anyone can access data who were not allowed for on-premises - I wonder why this group is added under members group ? why this group has a default permission level of Contribute ?

Please help !

Best Regards,


Dipti Chhatrapati



Hiding the X in people picker

$
0
0

Hi guys

I have an issue with removing delete image (x) in people


The code below is what i used and it seems to partially work. Just need to hide that (x)

$(".sp-peoplepicker-delImage").hide();
$("input.sp-peoplepicker-editorInput[title='Copy User']").prop('disabled', true);
$("div.sp-peoplepicker-topLevel[title='Copy User']").addClass("sp-peoplepicker-topLevelDisabled");

I did quite i a bit of research but unable to find anything. I has also tried something like this:

$("input[id^='internalColumnName']").prop("disabled", true);
$(".sp-peoplepicker-delImage[id^='internalColumnName']").prop("disabled", true);
$(".sp-peoplepicker-delImage[id^='internalColumnName']").css({"display": "none"});

didn't work as well. help anyone?


Copy a file from one Library to another library across Site collection using CSOM code

$
0
0

Hi

i have written this below code but getting a run time error. Please help me out. and i have include a button on click Button1_Click1 function will execute.

using Microsoft.SharePoint.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace CopySCTaskWeb
{
    public partial class Default : System.Web.UI.Page
    {
        
        protected void Button1_Click1(object sender, EventArgs e)
        {
           
             string filePath = "/Document1/Doc1.docx";
             var spContext = SharePointContextProvider.Current.GetSharePointContext(Context);

             using (var sourceContext = spContext.CreateUserClientContextForSPHost())
             {
                 Microsoft.SharePoint.Client.File sourceFile = sourceContext.Web.GetFileByServerRelativeUrl(filePath);
                 //file stream will be used to upload in destination library
                 var fileStream = sourceFile.OpenBinaryStream();
                 sourceContext.Load(sourceFile, k => k.ServerRelativeUrl, k => k.Name);
                 sourceContext.ExecuteQuery();

                 //generate destination context
                 string destinationSiteUrl = "https://...";     //I used mysite url here
                 Uri destinationSiteUri = new Uri(destinationSiteUrl);

                 //target realm of the tenant (This is constant per tenant)
                 string targetRealm = TokenHelper.GetRealmFromTargetUrl(destinationSiteUri);

                 //generate access token for destination site
                 string accessToken = TokenHelper.GetAppOnlyAccessToken(TokenHelper.SharePointPrincipal, destinationSiteUri.Authority, targetRealm).AccessToken;
                 //get destination site context using access token
                 using (var destinationContext = TokenHelper.GetClientContextWithAccessToken(destinationSiteUrl, accessToken))
                 {
                     //load server relative url of destination library
                     var destinationLibrary = destinationContext.Web.Lists.GetByTitle("Drop Off Library");

                     FileCreationInformation fileCreationInfo = new FileCreationInformation();
                     fileCreationInfo.ContentStream = fileStream.Value;
                     fileCreationInfo.Url = sourceFile.Name;
                     fileCreationInfo.Overwrite = false;
                     Microsoft.SharePoint.Client.File destinationFile = destinationLibrary.RootFolder.Files.Add(fileCreationInfo);
                     destinationContext.Load(destinationFile, k => k.ServerRelativeUrl);
                     destinationContext.ExecuteQuery();
                 }
             }
        }
    }
}

and i am getting an error i.e


SharePoint365 & ADFS

$
0
0
I am new to SharePoint 365 and have a couple of questions. Is there any difference in ADFS requirements for SharePoint 365 and Office 365? 

SharePoint Online - OneDrive - Whitelist the domain for external sharing

$
0
0

Hello Team,

We are planning to turn on the OneDrive sharing for external users by white listing the specific domains on OneDrive site collections using powershell script.

Just want to confirm that It wont impact the other office 365 group/teams sites. Can someone please confirm? Will the OneDrive sharing feature will impact the other office 365 features?

Thanks.

[WebPart] Skype for Business for SharePoint Online

$
0
0

Dear All,

Is there any option to add Skype for Business into WebPart SharePoint Online?

For example, see image below:

Regards,

Alu Ozy

SharePoint Onine some Users' Profile Photo are not showing

$
0
0

I have bit odd situation. Any advice will be much appreciated. 

SharePoint Online profile photos are no showing for some users, such as in the people search result, some user dont have picture showing beside their name in the search result. In the my-site-url/user photos/, I found some users photo are there with 3 different size thumbnails created, but some users just with silhouette placeholder pictures. 

Photos are showing properly on Delve, Azure AD - users, O365 Admin Portal - Active users, Outlook Desktop Application and its address book/contact card. However some users do NOT have their profile photos showing at SharePoint oniine, Outlook Online (OWA) and its address book/contact card.

Many thanks. 

Modern Team Site Page - Link to network folder

$
0
0

Hi Guys,

Is there any way I can create a link on a modern page that has a path that doesnt start with http or https.  I have tried the usual suspects, QuickLinks, Link, etc, none allow a UNC type path as in this example //server/path/morepath/file.xlsx

Any suggestions?

Many Thanks,
Warren

associate workflow app in SharePoint Online

$
0
0

Hello ,

I'm created workflow in visual studio ,but when i deploy this workflow in SharePoint Online ,the workflow  don't view in add a workflow page 

I'm did all steps to add SharePoint App Workflow To host web List  what should be doing to add my workflow app in  my list 

Please Help me 

Sorry, this site can't be saved as a template. It contains apps that don't work in templates: Modern Script Editor web part by Puzzlepart

$
0
0

I am working on a sharepoint online classic team sub-site, and i added this "sp-dev-fx-webparts" from https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-script-editor to allow me to add custom scripts inside modern pages. so i went to the subsite's site content link >> i add the web part app, as follow:-

After that i reference the web part inside the sub-site's home page, and i added a javascript inside it. then i tried to save the sub-site as template but i got this error:-

Sorry, something went wrong
Sorry, this site can't be saved as a template. It contains apps that don't work in templates: 
Modern Script Editor web part by Puzzlepart

as follow:-

so my question is; if there is a way to add the web part to my sub-site and be able to save the sub-site as template?

Thanks

Logging into a Sharepoint Online Site

$
0
0

Hi, regarding the use of a sharepoint online site as an intranet, how do you configure the site to recognise the user without them having to log in every time. Ideally I would like the site to be set to open when they open their browser (which I can do with group policy). But for sharepoint online, is there any way this can be set up. Our AD is on premise server 16, would this require some sort of migration to Azure AD in the cloud? 



Approaches we can follow to run timer jobs which check some custom lists' columns and send emails

$
0
0

Hi All,

I have a custom list inside sharepoint online classic team site. the custom list contain a date-time field named "Project Due Date". now i want  to send an email to a group of users if the "Due Date" is within the next month.

i have not done this before on SP online, while on SP on-premises i do this by following these steps:-

1. create a console application which integrate with SP.

2. add the console application to our sharepoint on-premises server.

3. using windows task scheduler , i will schedule the console application to run on daily basis >> check the due date >> send an email to the group >> update a field inside the list item to indicate that an email has been sent (to avoid sending duplicate emails).

but of course on SP online we can not do the above 3 steps. so what are the available approaches i can follow within SP online to achieve the above requirements (check if due date is within next month >> Send an email)?

Thanks.

Sharepoint Online - Server Cache?

$
0
0

Hi all,

I'm developing a website that's running on Sharepoint Online. And it seems like the css and js files are loading from previously saved cache. I've tried clearing the browser's history and tried refreshing with Ctrl + F5 to re-download the caches. But refreshing just seems to cycle through all previously saved cache.

This lead to my conclusion that it's not on the local side and on the server side, so is there a server cache? And if so how do i clear it?

Is it possible to get the alert when some one is added as site collection admin?

$
0
0

Environment: Office 365 SharePoint online

There are some users in our Office 365 environment who are Global admins. I know that Global admin can add themselves to any site collection as an administrator. But in some of the site collections we are having very sensitive data that we dont want to expose to any people even though those people are admins, but except one group of people. 

Questions:

  1. When user is trying to add him self as site collection admin, is there any way that group of people will get notified saying that "X" user has been added to site?
  2. Is there any rules that I can create under security and compliance to prevent people adding themselves as site collection admin?
  3. Is there any way to monitor audit reports which will show that people were added to sites. 

Out of above 3 questions, I know question1 is not possible to achieve. But I don't want to create any remote event receivers. 

I am more interested in checking with security and compliance can do this job?



Mihir



SharePoint Online & InfoPath

$
0
0

Hello All,

Looking for some feedback from the community.

1. Is InfoPath forms & SharePoint Designer Workflow compatible with Sharepoint Online Modern Look/UI?

2. Is there a way one can on the fly convert InfoPath forms into a PDF documents? If not out of the box any suggestion on third party tool that works with SharePoint Online?

thanks for your feedback!

AJ


Ajay Mandal

Colour formatting on one web part

$
0
0

Hi everyone

I am creating a page which has 3 web parts, each of these web parts show three different views of the same custom list.  I want to apply conditional formatting on one of these web parts but I can't get it to work.  The basic structure of the code is below:

    SP.SOD.executeFunc("clienttemplates.js", "SPClientTemplates", function () {

        SPClientTemplates.TemplateManager.RegisterTemplateOverrides({
            OnPostRender: function (ctx) {
		
        $Text = $("td .ms-vb2:contains('No')").filter(function() {

  return $(this).text() == "No";})

        $Text.css("background-color", "#e1f7d5");

In the past I would have used an if statement such as if (ctx.ListTitle == "List Name" so the formatting is only applied to the web part for that list.  However I can't do that this time as all three web parts are displaying the same list.  I've tried using an if statement checking ctx.viewTitle and ctx.WPQ but these don't seem to work as the formatting doesn't apply to any of the web parts when I add these.

I'd be grateful for any advice anyone has on how I can get this to work.

Thanks for your help in advance.

Viewing all 10096 articles
Browse latest View live


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