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

Repeating tables creating different ID for each row in sharepoint list

$
0
0
I have made a material request form published in sharepoint list. I made the form in infopath and it looks great. One small problem I am encountering. When the users submit the form with multiple line items (using repeating table), sharepoint shows each line item as a separate ID. For eg: If they have listed 5 line items in the form, I am seeing 5 different ID's in sharepoint. ID 1 showing line item 1, ID 2 showing item 2 and so on. How can I have 1 ID with all the line items in the same form.

Sharepoint App: call to GetPreAuthorizedAccessUrl produces error

$
0
0

I am trying to get a guest link for a file in a document library with a Sharepoint App I have written. 

To run this url via embedded javascript in a page within the site where the document library resides, i can use the following url/code and it returns a link that opens the file:

$.ajax({
url: "https://tenant.sharepoint.com/_api/Web/getfilebyid('BF548...')/GetPreAuthorizedAccessUrl(24)",
type: "GET",
  headers: {
    "Accept": "application/json;odata=verbose",
    "X-RequestDigest": $("#__REQUESTDIGEST").val()
  }
});

To call this from a Sharepoint App the url needs to be changed as the app runs from a separate domain to where the library is stored, so the url used in the Sharepoint App is as follows:

executor.executeAsync({
url: "https://tenant-33a6e860282121.sharepoint.com/my-app/_api/SP.AppContextSite(@target)/web/getfilebyid('BF548...')/GetPreAuthorizedAccessUrl(24)?@target='https://tenant.sharepoint.com'",
type: "GET",
  headers: {
    "Accept": "application/json;odata=verbose",
    "X-RequestDigest": $("#__REQUESTDIGEST").val()
  }
});

This function returns a link that is in the same format as the first example and on the face of it would appear to be a valid link.

However, when I click thislink the result is a blank page.

If I open the developer console I find the following message thrown by download.aspx

The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.

if I click on "download.aspx" link next to the message i get:

Error loading this URI: Could not load the source for [the link] [Exception... "Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIInputStream.available]"  nsresult: "0x80470002 (NS_BASE_STREAM_CLOSED)"  location: "JS frame :: resource://devtools/shared/base-loader.js -> resource://devtools/shared/DevToolsUtils.js :: onResponse :: line 569"  data: no]
Stack: onResponse@resource://devtools/shared/base-loader.js -> resource://devtools/shared/DevToolsUtils.js:569:25
onStopRequest@resource://gre/modules/NetUtil.jsm:126:17
Line: 569, column: 0

Any help in deciphering this to get it working would be much appreciated.

Cheers



SharePoint Online Site Collection Templates

$
0
0

Hi There

I'm trying to confirm which sites in SPO are modern sites and if there is duplicaiton in the way to create the sites collections. As now its possible to create MS Groups and MS Teams through Outlook, in the background SharePoint is being utilised. 

1. I assume for these sites they are Modern.? Please confirm.

When I launch SharePoint I then get options to create either a Team Site or Communication site.

1. Are these the same as the above, if not are they Modern Sites ?

Finally, in the SharePoint Admin section I can also create site collections.

1. Can all the above sites be also created from here?
2. In this section (which is divided into Collaboration, Enterprise, Publishing and Custom) which are modern sites ?

Library folders restrictions

$
0
0

Good evening,

I created some folders in a library but ran into the fact that users are able to rename or move the folders...

Is there a way to lock the folders from being modified (either from website or network share) or moved while users can create and open files inside?

The goal is to create a fixed structure in which users can work without altering it.

Thanks for your help!


CISA, CISM, CRISC

Title field is changed to hidden, but it is still required

$
0
0

Title field is by default required, but I changed it to hidden in the content type "item".

But when create an new item it keeps saying title is required, why is this?

Thanks for any tips!

Connect-PnPOnline : The remote server returned an error: (403) Forbidden. Works Ok on Local PC

$
0
0

I know this error is somehow related to a software version issue on the Server I am attempting to run the PowerShell Script on.  I developed and tested on local PC and works 100% Ok.  I have spent 8 hours looking for a solution and attempting to use fixes/examples from various online posts without success.  Any help is "greatly" appreciated. 

$URL='https://XXXXXX365.sharepoint.com/mysites/AGROUP'
  Connect-PnPOnline -Url $URL -Credentials:'MYSVCACCT'   #Using a Generic Saved Credential

After a connection; My complete block of code, will next attempt to upload a file via

Add-PnPFile -Path $f_source -Folder $f_folder -ErrorAction SilentlyContinue

Sure hope this is a simple fix/setup on Server.  Thanks in Advance. 

Server is running Win 2012 R2 and I did run "Install-Module SharePointPnPPowerShellOnline"

Backup & Restore in Office 365 (SharePoint/Exchange Online)

$
0
0

I am using Office 365 Dedicated vNext platform & have query on content backup & restore

for ex: If particular document/file is corrupted from SharePoint online site. What would be the way to restore this file/document?

Can Microsoft help restore it from server because as per your Service Description, 'Microsoft will make a backup every 12 hours and keep it for 14 days.'

At what level MS will take backup & then restore the content? Is it at Site collection level, List/Library level or Document level?

Is there any alternative approach to restore such documents?

Would you also recommend any third party tool for regular backup&restore.

Really appreciate your support

Kind Regards,

Akshay

Office 365 backup and restore policy

$
0
0

Hello,

I want to understand the policy and process to request the backup for any of the SharePoint online site collection.

What is the process and SLA for the same. How to test the backup being taken every 12 hour as per Microsoft Service Description.

Ref: SharePoint Online Service Description - Data backup

Best Regards,


Vaibhav Antriwale




open a modal dialog or another wiki page or site page on save button click in newform.aspx of custom SPList

$
0
0
I am looking for something which like, on click of save button click ( on my splist's default newform.aspx ) , i need to show a modaldialog and i need to write the jQuery, spservices code. is t possible to open a modal dialog / another sitepage/wikipage in between, and it will show like loader kind of an image (ajax loader image -spinning wheel)   and redirect to a  different page.

Switching Sharepoint Form view based on list field value

$
0
0
Hi, I would like to be able to open different screens of my custom form based on a field value in the list item being edited. Is this possible?

Is there an Enterprise wiki site collection template which work on the new experience (modern interface)

$
0
0

On each project i worked on i always add an Enterprise wiki site collection, as it is a very powerful template to build an intranet knowledge base for our customers.

and i do these main steps on the enterprise wiki site collection:-

1) i add some metadata site columns to the enterprise wiki page layout and content type. so users can link the wiki page to multiple metadata columns (which are Type, Security & customer in my case).

2) using sharepoint designer, i define a cusotm page layout which contain these custom metadata columns. the wiki pages' page layout will be as follow:-

3) i enable the metadata navigation for the wiki page library, so users can filter and search the wiki pages using the metadata columns, as follow:-

I did this inside sharepoint online, on-premises 2013 & on-premises 2016. but one drawback i am currently facing inside my sharepoint online, is that the Enterprise wiki site collection does not have Modern/New experience. Where all the above features (providing custom page layout, enable metadata navigation/filtering and viewing the wiki page itself) which I have implemented will be rendered in the classic experience.

so can anyone advice on these 2 points:-

1. Can we enable the New/Modern experience for our Enterprise wiki site collection and its features?.

2. Are there other templates which i can use to build an enterprise wiki site collection (with similar functionalists to my current site collections) which have modern/New experience?

Thank

While using MS Flow approvals via Sharepoint , can we change the name of "Approve" and "Reject" tags?

$
0
0

While using MS Flow approvals via Sharepoint , can we change the name of "Approve" and "Reject" tags?

For instance i would like to use the approval for Review so can we change the tag names to 

"Approve"--->"Reviewed"

"Reject"------>"Needs more Work"

I want to change the tag names , i get in the approval email

.I hope you understand what i am trying to say

Best Regards.

SP.Web.CreateAnonymousLinkWithExpiration cannot generate a read only link

$
0
0

Hi,

I have been experimenting with the above command, running it from a Sharepoint App and its working perfectly in generating the correct link to the document. 

However...

It has a parameter called "isEditLink" and it does not matter if the value provided is either true or false, the link generated allows the target document to be edited.

I tried passing the value as a string (ie "true", "false") and also tried passing 0 or 1 instead but this generated an error saying "Cannot convert a primitive value to the expected type 'Edm.Boolean'. See the inner exception for more details.

My code is as follows:

function getTimedGuestAccessLink(itemurl, hours, isEditable, getTimedGuestAccessLink_success, getTimedGuestAccessLink_fail) {

    UpdateFormDigest(_spPageContextInfo.webServerRelativeUrl, _spFormDigestRefreshInterval);

    // presume no expiry date
    var url = _spPageContextInfo.webAbsoluteUrl + "/_api/SP.Web.CreateAnonymousLink";

    var expire = moment().add(hours, 'h').format();

    var data = {};

    data.url = itemurl;
    data.isEditLink = isEditable;

    // only include expire time if one has been set and change the method
    if (hours > 0) {
        data.expirationString = expire;
        url = _spPageContextInfo.webAbsoluteUrl + "/_api/SP.Web.CreateAnonymousLinkWithExpiration";
    }

    $.ajax(
    {
        'url': url,
        'method': 'POST',
        'data': JSON.stringify(data),
        headers: {
            'accept': 'application/json;odata=verbose',
            'content-type': 'application/json;odata=verbose',
            'X-RequestDigest': $('#__REQUESTDIGEST').val()
        },
        success: getTimedGuestAccessLink_success,
        error: getTimedGuestAccessLink_fail,
    }
    );
}

And advice would be appreciated.

Cheers

Greg J


Cheers Greg J


Does SharePoint online provide a appraoch to show our Company LinkedIn Recent Updates inside a Modern page

$
0
0

I am working on a sharepoint online classic team site. and i am searching for an approach to show our LinkedIn account's Recent Updates inside our modern page. now if any user directly access our LinkedIn account,  the URL will be something as followhttps://www.linkedin.com/company/OurCompany*** , he/she can view our profile's Recent Updates. so i am not sure if there is a way inside my sharepoint modern page to show these Recent Updates ??

Here is the Recent Updates i am referring to, and those are available to public users (users do not have to login to LinkedIn to see them):-

Thanks in advance for any help


Screenshot in Rich Text Box doesn't display when send to email

$
0
0

Hi,

I have created a feedback button on our Intranet. Users can click on the button and enter feedback for that page which will go to the Page Owner and user in an email ( using Sharepoint Designer workflow ). It works ok till the user tries to copy->paste a screenshot in the rich text box. Email arrives but the screenshot image doesnt load. cannot even save it to be able to open it. It fails.

I have checked that there are no outlook settings blocking it. I have even tried rich text box and enhanced rich text box for the field type and still no luck. Any suggestions?

Thanks


SharePoint 2013 Search - Custom Refiners not appearing

$
0
0

Hi All,

I have setup 5 refiners, followed exact steps as mentioned in MSDN, configured the refinement panel. But the webpart only shows the default refiners and not the custom refiners that I have defined.

Any idea on what the issue is?

The error is get is:

No values found

We don’t have any refiners to show you


Manoj

Regarding SharePoint Online Environment Plans

$
0
0

Hello,

I would like to know about the O365 Plans where i want to implement SharePoint Online site where it will be having access to the external users also and i need to implement the site for unlimited users and the plan must have ability to use the features like Microsoft Flows, Outlook etc.

Please suggest me the different plans in O365 and the subscription fee per annum to maintain the entire SharePoint set up.

Thanks

Srini

Errors using "Current Item" in 2013 list workflow in SharePoint Online

$
0
0

I am creating a 2013 Workflow using SharePoint Designer on a list in SharePoint Online.

It only has one action, to send an email with a link to the list item.

In the email action body, I am getting the ID of the "Current Item".  When I start the workflow, it goes into the "Started" internal status and stays there.  When I view the workflow status, I click the "i" next to Internal Status and it says:

Retrying last request. Next attempt scheduled after 10/24/2018 10:54 AM.

Details of last request: HTTP NotFound to https://mydomain.sharepoint.com/sites/TheSite/_api/web/lists(guid'c9bf3461-2a28-4fc9-a49f-24a361e066dd')/Items(3)?%24select=ID%2CID

Correlation Id: eafd62eb-b97c-e9ae-873a-7b34205201c7 Instance Id: 1a739187-4c59-4a67-85a2-cce7e656e09e

Item does not exist. It may have been deleted by another user.

The item does exist. The list does have Content Approval enabled, and the item is Pending. But that should not matter.

I also tried referencing Absolute Encoded URL instead of ID and it does the same thing.

Any ideas about why I cannot reference data in the current item in my workflow?

Microfeed/Newsfeed

$
0
0
Hi, 

I want to delete the microfeed entries from the newsfeed webpart. I have full right to the microfeed list, but i get the message that i dont have sufficient right.

"Access denied. You do not have permission to perform this operation or open this resource"

Is there a way to delete the items without deactive the site feature? 

Thanks in advance!

Searching for a string contained in a file name across all SharePoint Online groups, including Microsoft Teams-enabled groups?

$
0
0

Hello,

is is possible to search for a string contained in a filename across all SharePoint Online groups including Microsoft Teams-enabled groups?


Viewing all 10096 articles
Browse latest View live


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