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

Highlight empty date column

$
0
0

Hello,

In SharePoint I would like to remind users to enter a date in a date column. Is there a way to create a pop-up or highlight empty date columns?

In SharePoint I am able to filter by empty columns, so I am thinking this should be possible.

I found this json script online but it only works if the column is a text column. Thank you in advance.

{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
  "debugMode": true,
  "elmType": "div",
  "attributes": {
    "class": "=if(@currentField == '','sp-css-backgroundColor-errorBackground','')"
  },
  "children": [
    {
      "elmType": "span",
      "style": {
        "display": "inline-block",
        "padding": "0 4px"
      }
    },
    {
      "elmType": "span",
      "txtContent": "@currentField"
    }
  ]
}


which webpart in modern SPO site that accommodates an image with text wrapped around ?

$
0
0

I need to put a Bio info on the page which has the person's photo and description about the person wrapped around the photo, as you can do in word document using "wrap text" button in the ribbon in image format.

I can't find an out of the box webpart or combination of that can achieve that.

Appreciate any tips!


Deployment failed when i try to add "sp-dev-fx-webparts" inside our app catalog

$
0
0

I want to deploy the https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-script-editor to our app catalog. so i did these steps:-

1. I download the zip file.

2. extract the zip file

3. i run these 2 commands:-

gulp --ship
gulp package-solution --ship

on the last command i got this error/warning (The build failed because a task wrote output to stderr.) :-

Warning - [package-solution] The "cdnBasePath" in "config/write-manifests.json"
has been changed from its default value ("<!-- PATH TO CDN -->") to "https://****.sharepoint.com/SiteAssets/SPFX", however the "includeClientSideAssets" setting in "config/package-solution.json" is "true" and will be ignored. If yo
u meant to deploy your assets in your SPPKG to SharePoint, reset the value of "c
dnBasePath" to "<!-- PATH TO CDN -->".
[15:48:42] Project pzl-script-editor version:0.0.1
[15:48:42] Build tools version:3.7.4
[15:48:42] Node version:v8.11.4
[15:48:42] Total duration:4.07 s
[15:48:42] Task warnings:1The build failed because a task wrote output to stderr.
Exiting with exit code: 1

so i thought it is just a warning. but when i try to upload the .sppkg file to our app catalog site collection, i got this error that the deployment has failed, as follow:-

here is the full command output for the above 2 commands:-

C:\****groupHomeSiteMigration\sp-dev-fx-webparts-master\samples\react-script-edit
or>gulp --ship
Build target: SHIP
[15:48:19] Using gulpfile C:\****groupHomeSiteMigration\sp-dev-fx-webparts-master
\samples\react-script-editor\gulpfile.js
[15:48:19] Starting gulp
[15:48:19] Starting 'default'...
[15:48:19] Starting subtask 'configure-sp-build-rig'...
[15:48:19] Finished subtask 'configure-sp-build-rig' after 5.89 ms
[15:48:19] Starting subtask 'pre-copy'...
[15:48:19] Finished subtask 'pre-copy' after 8.66 ms
[15:48:19] Starting subtask 'copy-static-assets'...
[15:48:19] Starting subtask 'sass'...
[15:48:21] Finished subtask 'sass' after 1.87 s
[15:48:21] Starting subtask 'tslint'...
[15:48:22] Starting subtask 'typescript'...
[15:48:22] [typescript] TypeScript version: 2.4.2
[15:48:22] Finished subtask 'copy-static-assets' after 3.22 s
Warning: no-duplicate-case rule is deprecated. Replace your usage with the TSLin
t no-duplicate-switch-case rule.
Warning: valid-typeof rule is deprecated. Replace your usage with the TSLint typ
eof-compare rule.
[15:48:24] Warning - tslint - src\webparts\scriptEditor\ScriptEditorWebPart.ts(1
78,29): error prefer-const: Identifier 'hackReload' is never reassigned; use 'co
nst' instead of 'let'.
[15:48:24] Finished subtask 'tslint' after 3.08 s
[15:48:24] Finished subtask 'typescript' after 1.8 s
[15:48:24] Starting subtask 'ts-npm-lint'...
[15:48:24] Finished subtask 'ts-npm-lint' after 21 ms
[15:48:24] Starting subtask 'api-extractor'...
[15:48:24] Finished subtask 'api-extractor' after 1.29 ms
[15:48:24] Starting subtask 'post-copy'...
[15:48:24] Finished subtask 'post-copy' after 933 µs
[15:48:24] Starting subtask 'collectLocalizedResources'...
[15:48:24] Finished subtask 'collectLocalizedResources' after 1.5 ms
[15:48:24] Starting subtask 'configure-webpack'...
[15:48:26] Finished subtask 'configure-webpack' after 2.06 s
[15:48:26] Starting subtask 'webpack'...
[15:48:31] Finished subtask 'webpack' after 4.57 s
[15:48:31] Starting subtask 'configure-webpack-external-bundling'...
[15:48:31] Finished subtask 'configure-webpack-external-bundling' after 1.86 ms
[15:48:31] Starting subtask 'copy-assets'...
[15:48:32] Finished subtask 'copy-assets' after 787 ms
[15:48:32] Starting subtask 'write-manifests'...
[15:48:33] Finished subtask 'write-manifests' after 1.89 s
[15:48:33] Finished 'default' after 14 s
[15:48:34] ==================[ Finished ]==================
Warning - tslint - src/webparts/scriptEditor/ScriptEditorWebPart.ts(178,29): err
or prefer-const: Identifier 'hackReload' is never reassigned; use 'const' instea
d of 'let'.
[15:48:34] Project pzl-script-editor version:0.0.1
[15:48:34] Build tools version:3.7.4
[15:48:34] Node version:v8.11.4
[15:48:34] Total duration:21 s
[15:48:34] Task warnings:1
The build failed because a task wrote output to stderr.
Exiting with exit code: 1

C:\****groupHomeSiteMigration\sp-dev-fx-webparts-master\samples\react-script-edit
or>gulp package-solution --ship
Build target: SHIP
[15:48:41] Using gulpfile C:\****groupHomeSiteMigration\sp-dev-fx-webparts-master
\samples\react-script-editor\gulpfile.js
[15:48:41] Starting gulp
[15:48:41] Starting 'package-solution'...
[15:48:41] Starting subtask 'configure-sp-build-rig'...
[15:48:41] Finished subtask 'configure-sp-build-rig' after 5.7 ms
[15:48:41] Starting subtask 'package-solution'...
[15:48:41] Warning - [package-solution] The "cdnBasePath" in "config/write-manif
ests.json" has been changed from its default value ("<!-- PATH TO CDN -->") to "
https://****groupinfra.sharepoint.com/SiteAssets/SPFX", however the "includeClien
tSideAssets" setting in "config/package-solution.json" is "true" and will be ign
ored. If you meant to deploy your assets in your SPPKG to SharePoint, reset the
value of "cdnBasePath" to "<!-- PATH TO CDN -->".
[15:48:41] [package-solution] Found manifest: C:\****groupHomeSiteMigration\sp-de
v-fx-webparts-master\samples\react-script-editor\temp\deploy\3a328f0a-99c4-4b28-
95ab-fe0847f657a3.json
[15:48:41] Verifying configuration...
[15:48:41] Done!
[15:48:41]
[15:48:41] Normalizing solution information...
[15:48:41] Attempting creating component definitions for {1} manifests
[15:48:41] Created component definitions for {1} manifests
[15:48:41] config.solution.features not set! Instead generating a feature for ea
ch component.
[15:48:41] Creating feature for Modern Script Editor...
[15:48:41] Done!
[15:48:41]
[15:48:41] Reading custom Feature XML...
[15:48:41] Done!
[15:48:41]
[15:48:41] Validating App Package...
[15:48:41] Done!
[15:48:41]
[15:48:41] Reading resources...
[15:48:41] Done!
[15:48:41]
[15:48:41] Reading Sharepoint Assets & Creating XML...
[15:48:41] Done!
[15:48:41]
[15:48:41] Writing solution XML to sharepoint\solution\debug...
[15:48:41] Cleaned sharepoint\solution\debug
[15:48:41] Created file: sharepoint\solution\debug\_rels\AppManifest.xml.rels
[15:48:41] Created file: sharepoint\solution\debug\feature_3a328f0a-99c4-4b28-95
ab-fe0847f657a3.xml
[15:48:41] Created file: sharepoint\solution\debug\AppManifest.xml
[15:48:41] Created file: sharepoint\solution\debug\_rels\.rels
[15:48:41] Created file: sharepoint\solution\debug\[Content_Types].xml
[15:48:41] Created file: sharepoint\solution\debug\_rels\feature_3a328f0a-99c4-4
b28-95ab-fe0847f657a3.xml.rels
[15:48:41] Created file: sharepoint\solution\debug\feature_3a328f0a-99c4-4b28-95
ab-fe0847f657a3.xml.config.xml
[15:48:41] Created file: sharepoint\solution\debug\3a328f0a-99c4-4b28-95ab-fe084
7f657a3\WebPart_3a328f0a-99c4-4b28-95ab-fe0847f657a3.xml
[15:48:41] Created file: sharepoint\solution\pzl-script-editor.sppkg
[15:48:41] Done!
[15:48:41]
[15:48:41] ALL DONE!
[15:48:41]
[15:48:41] Finished subtask 'package-solution' after 94 ms
[15:48:41] Finished 'package-solution' after 103 ms
[15:48:42] ==================[ Finished ]==================
Warning - [package-solution] The "cdnBasePath" in "config/write-manifests.json"
has been changed from its default value ("<!-- PATH TO CDN -->") to "https://tdm
groupinfra.sharepoint.com/SiteAssets/SPFX", however the "includeClientSideAssets" setting in "config/package-solution.json" is "true" and will be ignored. If yo
u meant to deploy your assets in your SPPKG to SharePoint, reset the value of "c
dnBasePath" to "<!-- PATH TO CDN -->".
[15:48:42] Project pzl-script-editor version:0.0.1
[15:48:42] Build tools version:3.7.4
[15:48:42] Node version:v8.11.4
[15:48:42] Total duration:4.07 s
[15:48:42] Task warnings:1
The build failed because a task wrote output to stderr.
Exiting with exit code: 1

C:\****groupHomeSiteMigration\sp-dev-fx-webparts-master\samples\react-script-edit
or>

so can anyone advice why i am unable to deply the web part?

Thanks

Global vs Site Term Stores

$
0
0

Hi,

With SharePoint Online, I am trying to decide whether a global or site term store would be best for recovery.  I assume site term stores would restore with the site, and if so, then it seems site level term stores may be a better choice than having the whole company use the Global Term store?

I actually prefer the Global for management, but not sure how to best backup/restore Global term store groups or the full store.

Questions:

Is there a backup and restore method of global term store groups?

Thx


Robert


In SharePoint Online, which web part should I use to paste code to show stock ticker?

$
0
0

Hi there

In SharePoint Online, which web part will I use to paste code to show stock ticker? (Code sample below).

Thanks.

<!-- TradingView Widget BEGIN --><div class="tradingview-widget-container"><div id="tradingview_ab4e5"></div><div class="tradingview-widget-copyright"><a href="https://www.tradingview.com/symbols/NASDAQ-MSFT/" rel="noopener" target="_blank"><span class="blue-text">MSFT chart</span></a> by TradingView</div></div><script type="text/javascript" src="https://s3.tradingview.com/tv.js"></script><script type="text/javascript">
    new TradingView.widget({"width": 400,"height": 200,"symbol": "NASDAQ:MSFT","interval": "D","timezone": "Etc/UTC","theme": "Light","style": "1","locale": "en","toolbar_bg": "#f1f3f6","enable_publishing": false,"allow_symbol_change": true,"container_id": "tradingview_ab4e5"
    });</script><!-- TradingView Widget END -->


What is the minimal modifications that i need to do to enable "custom scripting" inside our root site collection, without affecting other sites.

$
0
0

Hi All,

I have the following question about the steps that i need to do to enable custom scripting inside our root site collection, currently we have the following settings:-

1. If i run the following PnP script to check the root site's custom scripting settings, i will get that custom scripting is disabled, as follow:-

PS C:\windows\system32> $Url = "https://*****.sharepoint.com/"
PS C:\windows\system32> Get-SPOSite -Identity $Url -Detailed | select DenyAddAnd
CustomizePages

                                                       DenyAddAndCustomizePages
                                                       ------------------------
                                                                        Enabled

2. Now this is understandable, as inside the "sharepoint online admin" >> "setting", we have prevented custom scripting on self-service sites (where root site collection is considered as self-service site), as follow:-

now i know that the short path is to enable the above 2 custom scripting settings, but i do not want to do so, because doing so will affect all current and future sites. so i am trying to find a way to just enable the custom scripting inside the root sites collection (which is of type "classic team site"). now i read that i can run a power-shell script to enable custom scripting per site collection as follow:-

Connect-SPOService -Url https://tenant-admin.sharepoint.com

Set-SPOSite -Identity https://tenant.sharepoint.com/sites/contoso -DenyAddAndCustomizePages 0

but per this Allow or prevent custom script documentation it is mentioned that "If you change this setting for a user's OneDrive or a classic team site, it will be overridden by the Custom Script setting in the admin center within 24 hours.". so this mean if i enable custom scripting on my root site (using the above pnp script), while i keep it disabled inside the Custom Script setting in the admin center site, then the root site's custom scripting will be disabled again within 24 hours..

so what is the minimal modifications that i need to do to enable "custom scripting" inside our root site collection, without affecting other sites?

Thanks


Unable to stop inheriting permissions on a subsite

$
0
0

Hi

I am unable to stop inheriting permissions on a subsite, we have done it on other subsites so not sure why I can't now. 
I can stop inheriting permissions on the document libraries in this subsite but I don't want to do that.
When I go into the site permissions the Stop inheriting permissions button is greyed out. I have the permissions as I am a global admin so not sure whats going on.

Any help would be appreciated.

Peter

In SharePoint Online Modern UI page - How to show stock ticker price?

$
0
0

Hi there

In SharePoint Online Modern UI page - How to show stock ticker price?

Thanks.



Get all SharePoint Site last modified date in Office-365 Tenant using powershell.

$
0
0

Hi Everyone

I have user below code to get last modified date in office tenant.

I am getting wrong date because, I generate the report in tenant level and cross checked here it is showing different and my code is returning different date.

I have used properties called:  LastContentModifiedDate

#Variables for Processing 
$results = @()
$AdminUrl = "TEST" 
$UserName= "TEST" 
$Password = "test" 
   
 
$SecurePassword = $Password | ConvertTo-SecureString -AsPlainText -Force 
$Credentials = New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $UserName, $SecurePassword 
  
 
Connect-SPOService -Url $AdminUrl -Credential $Credentials 
 
$SiteColl = Get-SPOSite 
$6monthsBackDate = (Get-date).AddDays(-1)
$FMT6monthsBackDate = $6monthsBackDate.toString("yyyy-M-dd")
write-host $today

foreach($Site in $SiteColl) 

   
 $FMTsiteLastModDate =  ($Site.LastContentModifiedDate).toString("yyyy-M-dd")
 
 
 if ($FMTsiteLastModDate -le $FMT6monthsBackDate)
 {  
  $lockResult = "success"
  
  Try
  {
   #Set-SPOSite -Identity $Site -LockState "NoAccess"   

  }
  Catch
  {
   $lockResult = "Failed to lock : "
  }
  
  
   $details = @{
   SiteURL = $Site.Url
   SiteLastModifiedDate =$FMTsiteLastModDate   
   LockResult = $lockResult
   
  }
  $results += New-Object PSObject -Property $details
  
 }

}

$results | export-csv -Path c:\temp\UnusedSharePointOnlineSite.csv -NoTypeInformation

Delete users from SPGroup and insert a same/different set of users into SPGroup newform.aspx

$
0
0

Based on the below thread 

https://social.msdn.microsoft.com/Forums/office/en-US/ac93c698-a2ab-4955-b1c1-48f1776b97e4/fetch-clientside-people-picker-multi-user-values-and-insert-into-custom-sp-group-programmatically?forum=onlineservicessharepoint

 Below is the scenario: 

 1) Load the people picker field from SPGroup, when my splist's newform.aspx page is loaded

 2) Bind the ppl picker field with the values from SPGroup  

  3) Now, when i simply click on save button, the members selected in the ppl picker control should be saved in the SPGroup ( jsom??)

 4)  strange thing happened, when i dont remove one person from ppl picker or if i dont add a new person in the people picker field and save button click :

   The members from the group were GOT DELETED!! :-(  --- > its Empty

 Still didnt get why this happened! may be there is some conflict with asynchronous call??. 

 5) now, another test case:

    i have added new members (say user10, user11) , in the pplpicker , after removing everyone from the existing ppl picker.

 its worked without any issues. user10, user11 are added successfully in the spgroup.

 am stuck at , why the initial case didnt work!! 

 the procedure am following is:

 1) When user clicks on the Save Button:

      am deleting all the members from spgroup as an initial step

      then am fetching the values from people picker field, using user[i].key -->loginname values

      and these values are going to be inserted into the spgroup. 

      this is the process, am following.

The issue is, when already some existing user is available in the group and hence binded with people picker field and when I retain them and clicked on Save button the group became empty!!

how to  resolve this !!

 help is appreciated!

 

  

<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script><script type="text/javascript" src="/_layouts/15/clientpeoplepicker.js"></script><script type="text/javascript">  
$(document).ready(function () 
{  
GetUserFromGroup();  
});

function GetUserFromGroup() {  
var requestUri = _spPageContextInfo.webAbsoluteUrl + "/_api/web/sitegroups/getbyname('QATESTGROUP')/users"; 
var requestHeaders = { "accept" : "application/json;odata=verbose" };  
$.ajax({  
  url : requestUri,  
  contentType : "application/json;odata=verbose",  
  headers : requestHeaders,  
  success : QuerySuccess,  
  error : QueryError  
});  
}
function QuerySuccess(data, request)
{  
   //alert(data.d.results);
   //console.log(data.d.results);

   for(var i=0;i<data.d.results.length;i++)
   {
       var loginName =  data.d.results[i].LoginName.split('|')[2];
       doSetTimeout("pplpickerField",loginName);
   }
 }  
function doSetTimeout(fieldName,LoginName) 
{
    //alert('field -- ppl picker');
    setTimeout(function() { SetAndResolvePeoplePicker(fieldName, LoginName); }, 100);
}

function QueryError(error)
{  
  alert(error);  
}  
function SetAndResolvePeoplePicker(fieldName,LoginName) 
{
 		var controlName = fieldName;

        
		var peoplePickerDiv = $("[id$='ClientPeoplePicker'][title='" + controlName + "']");
	    var peoplePickerEditor = peoplePickerDiv.find("[title='" + controlName + "']");
		var spPeoplePicker = SPClientPeoplePicker.SPClientPeoplePickerDict[peoplePickerDiv[0].id];
        peoplePickerEditor.val(LoginName);

        //alert(spPeoplePicker + ' --- is the sppeeople picker');

		spPeoplePicker.AddUnresolvedUserFromEditor(true);  
   }


// Query the picker for user information.  
// PeoplepickerId = Id of the people picker  
function getUserInfo(PeoplepickerId) {  
    // Get the people picker object from the page.  
    var peoplePicker = this.SPClientPeoplePicker.SPClientPeoplePickerDict[PeoplepickerId + "_TopSpan"];  
    if (!peoplePicker.IsEmpty()) {  
        if (peoplePicker.HasInputError) return false; // if any error  
        else if (!peoplePicker.HasResolvedUsers()) return false; // if any invalid users  
        else if (peoplePicker.TotalUserCount > 0) {  
            // Get information about all users.  
            var users = peoplePicker.GetAllUserInfo();  
            var userInfo = '';  
            var promise = '';  
            for (var i = 0; i < users.length; i++) {  
                UsersID += GetUserID(users[i].Key);  
            }  
            return UsersID;  
        }  
    } else {  
        return UsersID;  
    }  
}  
// Get the user ID.  
function GetUserID(logonName) {  
    var item = {  
        'logonName': logonName  
    };  
    var UserId = $.ajax({  
        url: _spPageContextInfo.siteAbsoluteUrl + "/_api/web/ensureuser",  
        type: "POST",  
        async: false,  
        contentType: "application/json;odata=verbose",  
        data: JSON.stringify(item),  
        headers: {  "Accept": "application/json;odata=verbose",  "X-RequestDigest": $("#__REQUESTDIGEST").val()  
        },  
        success: function(data) {  
            return data.Id + ';#' + data.Title + ';#';  
        },  
        error: function(data) {  
            failure(data);  
        }  
    });  
    return UserId.responseJSON.d.Id + ';#' + UserId.responseJSON.d.Title + ';#';  
  }   

     function PreSaveAction()
       {

    //alert(' inside  presaveaction ');

 /////////////////////////////////// FIRST GET GROUP USERS and CALL DELETEUSER function ////////////////
 
   //alert('going to get the getgroupusers');

    var groupName="QATESTGROUP";
    getGroupUsers("/_api/web/sitegroups/getbyname('"+groupName+"')/users?$select=Email").done(function(data){            
        data.d.results.forEach(function(user){
            var email = user.Email;
            //alert('one user email is ...'+ email);
            deleteUser("/_api/web/sitegroups/getbyname('"+groupName+"')/users/getbyemail('"+email+"')").done(function(d_data){
              //  alert('deleted user' + email);
                console.log(JSON.stringify(d_data));
            });
        });
    });

     //alert(' all users been deleted ');

     //alert('starting of check== false');

   //////////////////////////////////////////////////////////////////////////////////////////////////////
  
            /*var check = false;
            var controlName = 'Delegates';
            // Get the people picker object from the page.
            var peoplePickerDiv = $("[id$='ClientPeoplePicker'][title='" + controlName + "']");
            var peoplePickerEditor = peoplePickerDiv.find("[title='" + controlName + "']");
            var peoplePicker = SPClientPeoplePicker.SPClientPeoplePickerDict[peoplePickerDiv[0].id];  
            if (!peoplePicker.IsEmpty()) {

                if (peoplePicker.HasInputError) return false; // if any error
                else if (!peoplePicker.HasResolvedUsers()) return false; // if any invalid users
                else if (peoplePicker.TotalUserCount > 0) {
                    //alert('get information about all users -- inside ppl picker count ');

                    //alert(peoplePicker.TotalUserCount + ' --- is the ppl picker usercount');

                    var users = peoplePicker.GetAllUserInfo();                                     
                    for (var i = 0; i < users.length; i++) {
                        console.log(users[i].Key);
                        var requestUri = _spPageContextInfo.webAbsoluteUrl + "/_api/web/sitegroups(2116)/users";
                    //    alert('going to add the users into group');
                        $.ajax({
                            url: requestUri,
                            type: "POST",
                            async: false,
                            data: JSON.stringify({ '__metadata': { 'type': 'SP.User' }, 'LoginName': '' + users[i].Key + '' }),
                            headers: {"accept": "application/json;odata=verbose","content-type": "application/json;odata=verbose","X-RequestDigest": $("#__REQUESTDIGEST").val()
                            },
                            success: function(data) {
                                console.log('User Added');
                                check = true;
                            },
                            error: function (error) {
                                console.log(JSON.stringify(error));
                                check = false;
                            }
                        });                                                
                    }                    
                }
            } else {
                console.log('No user');
           }
          return check;*/

     return true;
   }

   function getGroupUsers(url){
    return $.ajax({
        url: _spPageContextInfo.webAbsoluteUrl + url,
        type: "GET",
        headers: {"accept": "application/json;odata=verbose",
        }
    });
  }

  //Delete user
function deleteUser(url) {
    return $.ajax({
        url: _spPageContextInfo.webAbsoluteUrl + url,
        method: "POST",
        headers: {"accept": "application/json;odata=verbose","X-RequestDigest": $("#__REQUESTDIGEST").val(),"IF-MATCH": "*","X-HTTP-Method": "DELETE"
        }
    });
 }</script> 




Sharepoint online pdf files not open in windows exploler

$
0
0

Hi,

last week one of the site collection department user facing issue. the pdf files not open in windows exploler, but its working in IE browser. local computer pdf reader DC version.

Regards,

How to validate a value entered in a text box in Power Apps

$
0
0

Hi

I have a requirement,if the user enters a value in a single line text field and it contains certain character(e.g "PR"). It should save, if not it should show a validation message and restrict from submitting the form. By Power Apps how can I achieve this?

Regards,

Rahul.

Error opening PowerPoint linked with Excel data in SharePoint Online.

$
0
0
Getting popup message "Sorry, we couldn't find all the linked files. You might be able to re-establish the links by clicking the File tab, then clicking "Edit Links to Files" on the info tab." when opening PowerPoint linked with Excel in SharePoint Online.

Error when creating a hub site

$
0
0
When trying to convert a site from a communication or group site to a Hub site within the new SharePoint admin menu it simply gives me an error that it can't update the site. When trying from powershell using the register-spohubsite command we receive an error "Operation is not valid due to the current state of the object."   Has anyone experienced and resolved this in the past?  We've yet to successfully create a hub site in this tenant so it has never worked.

Create a site collection with some set parameters

$
0
0

Hi, 

im wondering if someone can help me

I would like to create a site collection using PowerShell or PnP and set the site logo and disable some other fetures. 

I have managed to create the site collection, but i dont know how a) set the site logo for newly created site collection and b) how to disable the sync button for document libraries. 

For Powershell i have the the following command which creates the site collection

New-SPOSite -Url https://tenant/sites/sitename -Owner $Owner -StorageQuota $StorageQuota -Title $Title -CompatibilityLevel 15 -LocaleID 1033 -ResourceQuota 30 -Template "STS#3" -NoWait

(The variable are provided but i have not included that in the code above)

How can i set the site logo for that new site collection and disable the sync feature in all document libraries for that site collection 

For PnP i have 

New-PnPTenantSite -Url $Url -Description $Description -Title $Title -Template $Template -Owner $Owner -TimeZone $TimeZone -StorageQuota $storageQuota 

But same as above, i dont know how to set the site logo or disable sync setting for all libraries. 

Thanks in advance 


Not able to delete the alert set for a document

$
0
0

Hi,
When I try to delete an alert which was set for a document for manage my alerts, I am getting an error message like you dont have permission to perform this action. I'm the owner of the sharepoint site but still it is access denied for me

Please help

Adding sections and web parts to the modern pages is not working

$
0
0

Hi Guys,

I am trying to create a modern site page through SPFx webpart, once it is created I am adding sections and OOB web parts using pnpjs. The code was working fine, suddenly it stopped adding sections and web parts without any error. I am not able to find out either it is the SharePoint issue or pnpjs issue.

I have tried in 1.2.3/.7/.8/.9 @pnp/sp versions, but no luck.

The code I am using to create a page and add sections is:

(async () => { var web = new Web("https://tenant.sharepoint.com/sites/test"); const page = await web.addClientSidePage("test.aspx", "My site Page"); const section = page.addSection(); const column1 = section.addColumn(4); const column2 = section.addColumn(4); const column3 = section.addColumn(4);

column1.addControl(new ClientSideText("Write introduction here..."));
column2.addControl(new ClientSideText("Write body text here..."));
column3.addControl(new ClientSideText("Write page details here..."));

await page.save(); })().then(_ => { }).catch( error => console.log(error) );

The page.save() is returning the item with empty CanvasContent1

item: Item
Approved_x0020_byId: null
Approved_x0020_byStringId: null
AuthorId: 10
BannerImageUrl: {Description: "/_layouts/15/images/sitepagethumbnail.png",
Url: "[https://tenant.sharepoint.com/_layouts/15/images/sitepagethumbnail.png"}](https://tenant.sharepoint.com/_layouts/15/images/sitepagethumbnail.png%22%7D)
CanvasContent1: null


Could anyone please help me with any suggestion/solution.

Thanks in advance...


Can't load the application on this page.

$
0
0

Hi,

Getting attached error message when trying to access Sharepoint.

"Can't load the application on this page. Use the browser back button to retry. If the problem persists, contact the administrator of the site and give them the information in Technical Details".

Any suggestions?

Thanks

Unable to Share Via SharePoint

$
0
0

Hi,

I'm not sure why, but when I click 'share' and type in an email or name, it just continuously searches for that email or name without finding a result. My document is located on SharePoint online and I am using the powerpoint native app to edit. Does anyone know what I am not doing correctly to use the coauthor feature?


In SharePoint Online InfoPath form, how to have a drop-down bring only most recent 10 items without loading all items in the back-end?

$
0
0

Hi there

In SharePoint Online InfoPath form, how to have a drop-down bring only most recent 10 items without loading all items in the back-end? As of now users get this error on form:

The amount of data that was returned by a data connection has exceeded the maximum limit that was configured by the server administrator.
Click OK to resume filling out the form. You may want to check your form data for errors.
HIDE ERROR DETAILS
The amount of data that was returned by a data connection has exceeded the maximum limit that was configured by the server administrator. Form elements, such as drop-down lists, may be blank.

Thanks.

Viewing all 10096 articles
Browse latest View live


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