Quantcast
Channel: SharePoint 2013 - General Discussions and Questions forum
Viewing all 26374 articles
Browse latest View live

Form based authentication for 2 web apps in a farm

$
0
0

Hi Friends,

I have one web app on my farm with Form based authentication set up. Can I use the same FBA roles and membership provider for another new web application that I am about to create?


uploading a document to library with folders, the document goes into a default folder rather than allowing the user to choose the folder

$
0
0

I have a sharepoint page I am supporting.  The page has a library on it with 10 folders.

When uploading a new document to the library, the document goes into a default folder.  However when uploading a new document, I want the user to be able to select the folder the document should go into.

When going to:

Site Settings / Site Library and Lists / Customize "libraryname" / Column value default settings. 

This lists the libraryname and the default folder.  

In this screen, when clicking on the column name which holds the folder name, it comes up with a dialogue box saying "Edit Default Value" and a button is enabled saying "Do not specify a default value for this location".  But there is a default value - which is the default folder name.

Note:  I am a business user who is not experienced with sharepoint.

Thank you for help on this,..David Mowll

Sharepoint 2013 : Powershell script for to change web.config settings from text/xml file to config file

$
0
0

Hi,

I need help on powershell to change web.config file settings(appsettings and connectionstring).

requirement is i data in text file as below, i need add/update in web config(SharePoint 2013).

Text/xml file data:

<connectionStrings>
<add name="new target" connectionString="newCSvalue" />
</connectionStrings>

Thanks in advance...

Update another field with an id of a lookup column

$
0
0
I have a list with around 1000 columns and I need to be a able to prepopulate another field with a lookupid of another lookup field on the same list

I have a list with around 1000 columns and I need to be a able to prepopulate another field with a lookupid of another lookup field on the same list

I am getting error when I use:

var LookUpColumnId = oListItem.get_item('LookUpColumn').get_lookupId();
Error:

Uncaught Error: The property or field has not been initialized. It has not been requested or the request has not been executed.

See snippet below:

function onUpdateSucceeded() {

    var itemEnumerator = items.getEnumerator();
    while (itemEnumerator.moveNext()) {
        var item = itemEnumerator.get_current();
        // You now have the item you were looking for!
        //console.log(item.get_item("ID"));
        IDs.push(item.get_item("ID"));
    }
    console.log(IDs);

    var siteUrl = '/sites/Dev/'; 
    var clientContext = new SP.ClientContext(siteUrl);
    oList = clientContext.get_web().get_lists().getByTitle('Test');

    var itemsToLoadForUpdate = Array(); // Holds our "current" items to update
    var totalItemsToUpdate = 900;
    var limitItemsToUpdate = 50; // Update every 90 items

    var batchUpdatesCounter = Math.ceil(totalItemsToUpdate / limitItemsToUpdate); // If you need to count the remaining batch updates
    var restItemsToUpdate = 0; // Items to update after (see below)

    for (var i = 0; i < IDs.length; i++) {
        var oListItem = oList.getItemById(IDs[i]);

        /* Newly addedd get lookup id of items*/

        //var lookupFieldValue = oListItem.get_item('LookUpColumn');
        //var lookupId = lookupFieldValue.get_lookupId();

        //console.log(LookUpColumnId);
        //alert(lookupFieldValue);

        //This works but when i set the lookupId above it doesn't i can;t even get the lookupId 
        oListItem.set_item('LookUpID', 1);

        oListItem.update();
        itemsToLoadForUpdate[i] = oListItem;

        clientContext.load(itemsToLoadForUpdate[i]);
        if (i && i % limitItemsToUpdate == 0) {
            console.log('Updating ' + limitItemsToUpdate + ' items...');
            clientContext.executeQueryAsync(this.onUpdateSucceeded, this.onUpdateFailed);
            restItemsToUpdate = 0;
        }
        else { // Remaining items to update
            restItemsToUpdate = i % limitItemsToUpdate;
        }

    }

    if (restItemsToUpdate) {
        //console.log('Updating rest items...');
        console.log('Updating ' + restItemsToUpdate + ' items...');

        clientContext.executeQueryAsync(this.onUpdateSucceeded, this.onUpdateFailed);
    }
}
Thanks in Advance



Thanks in Advance

User search is not working

$
0
0

Environment: SharePoint 2013, windows server 2012. 

User profile synchronization is not working on our farm . When I check the User Profile synchronization service application on central admin , I see there are only 15 profiles synchronized.  I am still working on re-configuring. 

However, on our SharePoint site when I search for a user in settings->permissions, I can find a user but it always shows 3 options for every user  and they all look same . This user can  be or active directory user name or some random name like James Bond. 

When I hover over these options it says RoleADFS Production QS(domain name) , UPN ADFS Production QS(domain name), EmailADFS Production QS(domain name) address. I always select email and able to assign permissions. Is it doing this because our user profile is not synchronizing at this point

My question is how does this user search works in SharePoint. When I am looking for a user to assign permissions does it look in user profile DB or does it get information from AD. 

I want it to show me only correct user. 


@R

Issue in Co authoring Excel spreadsheets on Sharepoint

$
0
0

Hi, 

We are particularly facing an issue in co-authoring excel spreadsheets on out SharePoint sites. Most of us use desktop apps and for editing documents and thought maybe its the initial 10 mins locking period, but it stays locked way longer than 10 mins. Hence we started using excel online to avoid the issue and it worked for a few days and now even on online, it shows that 'the user' has locked the document for personal use. 

It is really frustrating for the staff not being able to co-author documents.

Please let me know if I am missing anything... 


Saloni

PowerPoint error - Microsoft Office cannot complete the operation because the network is unavailable. Check your network connection

$
0
0

Receive an error in SharePoint 2013 document library whenever a PowerPoint document is opened. Below is the error.

Microsoft Office cannot complete the operation because the network is unavailable. Check your network connection and try again.

Sharepoint SOP

$
0
0

Hello All,

Apologies if this is a repost, I need some advice if at all possible, Our Quality manager wants me to setup a team site called SOP (Standard Operating Procedures) and he wants to upload individual department SOP's and have people read, acknowledge said documents.  My question is, is this possible? He only wants people to see the SOP for their specific department, HR, IT etc. 


JS Can you make a Hyperlink Field on EditForm page Read Only

$
0
0

I know you can make other field types read only, ex: Text box

$(function() {
  $("Input[Title^='Title']").attr('disabled','disabled');

but is is possible to somehow make a hyperlink field read-only?

Sharing part of a list

$
0
0

I have an employee list for whom each employee belong to a different department within the organisation.  Each department have their own admin personnel so I want to give them access only to see and manage their personnel and not personnel of other departments.  I'm the SharePoint administrator but I don't have SharePoint Designer.  I thought I could create a different view of that list with a filter based on Department name for each department and give them access only to this view but they would still be able to see other List view of other departments.

Any help would be appreciated!


Publicly-available pages not showing up in search results. Unless logged in. This seems really strange, what am I missing?

$
0
0

So not logged in, I can browse all the pages freely. When I search, there are no results. When I sign in, I see all the results.

This means it's crawling successfully, right? What else is there that could cause something like this?

Changing theme in SharePoint Server 2016 made all JS to not work

$
0
0

Hello,

Today i tried to change the sharepoint theme to another, and all of my JS started to not work in the site and libraries.

Like hidding some fields is libraries are not working anymore, also changing to another predetermined theme, it keeps same.

I check the JS link from the webparts and they are working property.

Please i need help with this because we have to finish a project and this little customization is broking everything.

Regards,

Luis.

Excel 2016 files from SharePoint always opening as read only by default even though user have Contribute access to all files and folders

$
0
0

Hi,

Excel 2016  files from SharePoint always opening as read only by default even though user have Contribute access to all files and folders


Thanks & Regards, Krishna


SP.FieldUserValue.fromUser object storing null value in people picker field

$
0
0

Hi 

In an O365 site using I used SP.FieldUserValue.fromUser(accountname) to update a people picker field of a list item. Of course this function returns a user object, which running fine. When I run the same function with the log in of external user of the site, this function is returning object and update operation was also successful. When I check the people picker field, it is null.

Please advice.

Regards,

Chaitanya.

To Get Details

$
0
0

Hi Team,

Based on below script, i got output sites level.

Add-PSSnapin Microsoft.sharepoint.powershell -ErrorAction SilentlyContinue $Webapp = "http://contoso.com" $site = Get-SPSite -webapplication $Webapp -Limit All $site | Get-SpWeb -Limit All | Format-Table -Property LastItemModifiedDate,URL,created,title -AutoSize | Out-string -width 3000 >C:/output_webapp.txt

Please help me to get details like below.

- need which list /document/page has been modified under the site.

-Who modified

Note: I didn't configure audit list

Please help me to get details


To Export excel / csv

$
0
0

Hello Team,

Please help me to export excel or csv file to below function script

Add-PSSnapin Microsoft.sharepoint.powershell -ErrorAction SilentlyContinue
$site = Get-SPSite http://contoso.com
$web = $site.OpenWeb()
$groups = $web.sitegroups
foreach ($grp in $groups) {"Group: " + $grp.name;
    $groupName = $grp.name
    write-host "Group: " $groupName   -foregroundcolor green
    foreach ($user in $grp.users) {"User: " + $user.name
            write-host "User " $user.UserLogin   -foregroundcolor red
    }
}                

Form based authentication for 2 web apps in a farm

$
0
0

Hi Friends,

I have one web app on my farm with Form based authentication set up. Can I use the same FBA roles and membership provider for another new web application that I am about to create?

0365 User profile property change notification

$
0
0

Hi Experts,

I am new to 0365, I have requirement to get the notification when user profile properties (Phone number,Job Title etc) changes.

I was going through the 0365 search and audit log (https://protection.office.com/unifiedauditlog) and under administrative activities I can see activity "Updated Users" but events are not getting captured in the audit logs.

so kindly help how can i set alert or get the data if the user values get changed.

Kindly help.

O365: Changin Reg. Settings throws Error: "Published Package Id" has been marked for indexing.

$
0
0

On SP Online:

When trying to change Regional Settings of a site > Error prevents:

"

The column "Published Package Id" in the list or library "Shared Packages" has been marked for indexing. Please turn off all indexed columns before changing the collation of this site. You may re-index those columns after the collation of the site has been changed.

"

What to do?

Here is an answer but I don't have Public sites: all are team sites:

https://support.office.com/en-us/article/error-when-you-change-the-locale-setting-for-the-sharepoint-online-public-website-868f42bb-47b1-4178-b643-9b3e25083bb8


Detached a web server from the farm but still showing warnings in the health analyzer for that server

$
0
0

Hi Guys,

I have detached a server from a farm but in the health analyser it is still showing 2 warning for that server

1) Accounts used by application pools or service identities are in the local admin groups

2) The distributed cache host may cause a cache reliability problem

My question is why it is still picking detached web server?

Can this cause a big issue for patching the farm in the future?

In the "managed servers" of the farm, it is not showing the detached web server, which is good.


Viewing all 26374 articles
Browse latest View live