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

create a custom html form with create/update functionalitywith expand/collapse sections

$
0
0

I would like to create a custom html form with expand/collapse sections with client side code in SP Online.


Das


People Web part - force view setting on iPhone

$
0
0

Hi

I'm experimenting with the "People" web part.

There are two possible views: compact & descriptive

in the descriptive option is an additional text field.


When i set the web part settings to "descriptive" it works on PC & iPad, even if i use a very small browser window.

On the iPhone screen, the web part is always displayed as "compact", so the additional information in the text field is not visible.

Is there an option to force the view on the iPhone?

In the site settings the "Mobile Browser View" is not activated.


Thanks

SharePoint site page, Change title without changing URL

$
0
0

Long story short

I have a page called "Company Career Corner"

Right now <g class="gr_ gr_223 gr-alert gr_tiny gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" data-gr-id="223" id="223">i</g> can choose between 

URL= CompanyCareerCorner.aspx
Title= 
CompanyCareerCorner
OR
URL= Company%20Career%20Corner.aspx
Title= 
Company Career Corner

Can't I have 
URL= CompanyCareerCorner.aspx and Title= Company Career Corner

I have office 365 and SharePoint online


Unable to mark as "Best Reply" on discussion list using REST/Javascript CSOM

$
0
0

Hello,

I am unable to find API to mark reply as a "best reply" programmatically using javascript CSOM/REST.

From OOTB UI, when user mark any reply as a "Best Reply" then the field "BestResponseId" updated with the reply Id properly. However, when I try to update it using REST/CSOM it doesn't updated because this is a read only field.

I google a lot but didn't find the API to set "Best Reply" using REST/CSOM/JSOM.

I only found below API's related to discussion board,

     1. SPUtility.CreateNewDiscussion

     2. SPUtility.CreateNewDiscussionReply

     3. SPUtility.MarkDiscsussionAsFeatured

     4. SPUtility.UnmarkDiscussionAsFeatured

     5. Reputation.setLike, Reputation.Rating etc

Any help?

Thanks,

Uday G

Sharepoint Online Report

$
0
0

Hi guys,

I want to create a custom dashboard about page activity including reading, viewing and downloading documents.

For my policy, I can't use Sharepoint Online.

How can I do it?

Thanks,

Searching by Country or Region of user in sharepoint Online

$
0
0

Hello,

It's been several weeks that I'm strugling to add as refiner of my search page on sharepoint the COUNTRY filter of user.

I can retrieve the jobTitle, the department. but not the country.

1- I searched if there is an existing managed properties that can retrieve Country field, none of them works.

2- I also added custom managed properties that are mapped on some other unused CrawledProperties. also, can't find the right one.

So I suspected that the country value is not even sychronized from Active Directory to O365. but Not, it's synchronized, and following this link, https://social.technet.microsoft.com/wiki/contents/articles/19901.dirsync-list-of-attributes-that-are-synced-by-the-azure-active-directory-sync-tool.aspx; MS said that the Synced Object Attribute for Country is : CO.

Not that for the country value, I can see it in my sharepoint profile

I can't uderstand at this moment How I can find this attribute on the sharepoint Side (crawled property) so I can use it on my refiner.

thank you for your help

Not able to sync SharePoint Calendar with outlook

$
0
0

Hi,

I'm not able to sync SharePoint calendar with my outlook. When I try to sync it with outlook i'm getting an error like "Error (0x80070005) performing the task "SharePoint":  "You are not authorized to view this SharePoint Calendar" HTTP 401.

I have permission for this calendar.

eSignAnyWhere

$
0
0

Hello,

I would like to know if i install this add-in on sharepoint online, to sign the document it be necessary that the document will be uploaded on the  namirialgroup cloud to perform the sign all will be done in the sharepoint enviroment

unfortunately i have not found anything on the web

thank you


Timeline disappears from All Tasks view

$
0
0

I synched a Microsoft Project schedule to my sharepoint site. The tasks show up. But the timeline disappears. The page renders and initially leaves a space for the timeline at the top. But then the space collapses and no timeline shows. I am speculating here, but I wonder if it has to do with the years long length of my project... it can't render the necessary timescale then fails?

I've done this before and it usually works great. But on some sites, that space collapses after a few seconds and no timeline ever appears. Just to clarify, I definitely have the checkbox selected to show the timeline view, I am in All Tasks, and I have selected items to appear in the timeline. 

Any help you can provide would be helpful.

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.


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..

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?

One or more services were unregistered from the Microsoft Azure Service Bus. Cannot register Services/AppEventReceiver.svc on Microsoft Azure Service Bus: Unable to connect to the remote server

$
0
0

I am developing a remote event receiver for our site collection. so inside Visual Studio 2015, i did the following:-

1. i created a new sharepoint add-in. i added the code as per this link https://blogs.msdn.microsoft.com/kaevans/2014/02/26/attaching-remote-event-receivers-to-lists-in-the-host-web/.

for the debugging site collection i chose a test enterprise wiki online site collection which I have enabled its Sideloading of apps feature.

2. inside Azure i created a new service bus, as follow >> i copied the primary connection string:-

3. inside the visual studio project >> Properties >> SharePoint >> i added the above service bus's primary connection string, as follow:-

4. i run the project >> where i got this message >> i select the list >> click on "Trust":-

5. i got the app showed the home page:-

6. i got the app added correctly inside my site content

but the visual studio stop running and showed these 2 messages:-

One or more services were unregistered from the Microsoft Azure Service Bus.
Cannot register Services/AppEventReceiver.svc on Microsoft Azure Service Bus: Unable to connect to the remote server

Here is a screen shot from VS:-

so i am not sure what is going on ? why the service bus is not working?

here is my AppManifest.xml:-

<?xml version="1.0" encoding="utf-8" ?><!--Created:cb85b80c-f585-40ff-8bfc-12ff4d0e34a9--><App xmlns="http://schemas.microsoft.com/sharepoint/2012/app/manifest"
     Name="CustomerServiceKB"
     ProductID="{28e4281a-1114-4d41-82dd-6277e01c7d34}"
     Version="1.0.0.0"
     SharePointMinVersion="16.0.0.0"><Properties><Title>CustomerServiceKB</Title><StartPage>~remoteAppUrl/?{StandardTokens}</StartPage><InstalledEventEndpoint>~remoteAppUrl/Services/AppEventReceiver.svc</InstalledEventEndpoint><UninstallingEventEndpoint>~remoteAppUrl/Services/AppEventReceiver.svc</UninstallingEventEndpoint></Properties><AppPrincipal><RemoteWebApplication ClientId="*" /></AppPrincipal><AppPermissionRequests AllowAppOnlyPolicy="true"><AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web/list" Right="Manage" ><Property Name="BaseTemplateId" Value="100" /></AppPermissionRequest></AppPermissionRequests></App>


Groupby Calculated Column

$
0
0

Hi All,

I am using a Calculated Field and the data type returned is string in SharePoint Online modern library. I am then using this column to group by in a view.

So it all works good. When I click on group by header in the view and then come back to the library by clicking on breadcrumb navigation, still all good.

But, when I click on the group by header again, it does not work and it shows some text "string," on the breadcrumb navigation.

Do anyone know what could be the cause and how to fix it? Everything is on modern page.

Thanks!



Use additional field in Data List in Calculated field in secondary list

$
0
0

Ok, I've looked all over and I can't find an answer to this so my hopes aren't high but here we go.

I have a list of Countries with three columns. Each has a Name, a Rating and a Code field.

I have a list that has a lookup field to the Countries list that has to allow the user to select a Country by name.

I also have a field that needs to perform a calculation based on this lookup field but that will use the Rating value of the Country based on the user's selection.

Is this even possible or am I kidding myself?

I am using SharePoint 2016 (would like to have this available on SharePoint online too if possible)

Thanks.


If you haven't got anything nice to say about someone then come sit here by me.


SharePoint Online Search Analytics

$
0
0

Hello Team,

I'm looking to see if is there a way to get some SharePoint online search analytics like,

1. The top keywords search

2. # of results shows up in the search.

3. Which link users clicked on results page.

Can you please recommend the best practice around it? 

Much appreciated!

Thanks!

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?

Sharing not working

$
0
0

Hi,

I'm trying to say to a customer to use Teams or SharePoint Online to share some media files for his business... but it just seems really buggy when it comes to sharing, so far he doesn't want to use it because it just doesn't work as it's supposed to.  He's now wanting to pay for Dropbox but I just feel he should be able to use the MS products he is paying for.

The requirement is:

- allow edit access for some internal staff
- be able to share a folder or files with external users

Simple right?  You would think Teams or SharePoint is the perfect solution seeing as they use Office 365, but here are the issues:

First I tried creating a SharePoint site... all the settings were default, versioning on but no check in should be required.  He drags lots of files into a folder, but noone with Edit permission can see them as they haven't been checked in.. but the settings are definitely set so this shouldn't happen.  So I tried using teams to create and now it works!  Yay... but in both scenarios the external sharing just doesn't work.

- Share a folder, with a specified external user (view / edit doesn't matter)
- External user gets an email, logs in, gets sent a code, enters code, site attempts to load and says 'You need permission to access this item.'  With an option to request...
- now we go round in circles... if I 'request access', the owner gets an email with the access request, approves the request, gets advised the request is approved.  External user gets an email saying 'Good news. You now have access to sitename'.  BUT.. we click again on the link and get 'You need permission to access this item'...

Simple things that just don't seem to work properly!

Cheers,
Simon

is it possible to make the SharePoint Online Admin Centre accessible only from inside corporate firewall?

$
0
0

for security reasons, we'd like to control how SPO admin can be accessed.

Right now technically the Admin Centre can be accessed from outside corporate firewall. We want to know if there is a way to make the admin centre accessible only within corporate firewall, ie must VPN in if the person is accessing it from outside office.

Anyone has ideas?

Thanks in advance!

Cannot undeclare records from my docuemt library

$
0
0

Hi all, I've tried manually undeclaring records in my document library but get this error when cllicking on compliance details of the files in the document library '' Sorry, something went wrong An unexpected error has occurred. TECHNICAL DETAILS Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: cdaccf9e-c01d-8000-8946-6752ca9a7bdd Date and Time: 04/04/2019 06:53:12''

We have also tried various powershell options after googling them online but no luck yet.

Has anyone experienced anything similar or have any solutions?

Regards


kegan1

Viewing all 10096 articles
Browse latest View live


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