All Questions
Tagged with web-part sharepoint-foundation
173 questions
0
votes
1
answer
376
views
Setup Response Header in SharePoint
I want to configure the following security header in SharePoint, however every time I do so, either at the site- or web-config-level, these headers end up being duplicated. Any suggestions?
<add ...
0
votes
1
answer
794
views
Unable to Configure Session Timeout in SharePoint 2013
As per the Information Security Requirement of my Organization, I am trying to configure Session timeout after 15 minutes in SharePoint 2016 On Premise Application but unable to achieve the same.
I've ...
1
vote
0
answers
26
views
Hyperlink in External List webpart isn't working
So I was able to add <a> <xsl:attribute name="href">....</xsl:attribute>View</a> in my xslt code for modifying my external list. It works when I view the list ...
0
votes
1
answer
244
views
Web Part problem (Content Query), "Sorry, Something went Wrong"
I'm trying to correct a broken web part that's not pointing to the correct list (Content Query Web Part). However, when I click to edit, I get the "Sorry, something went wrong"...File Not Found. ...
0
votes
1
answer
258
views
Add Water Mark on PDF SPFile
I am trying to add water mark on a pdf file which is saved in Document Library. I don't want to modify the file in document library although when User clicks the Print Button, it should add Water Mark ...
0
votes
2
answers
12k
views
Read Data from Excel file in SharePoint web Part C#
I need to read Excel Data in C# DataTable in my Visual web Part.
for this purpose I've uploaded the excel file in a temporary location in a document library, the file upload is successful, now I ...
0
votes
1
answer
5k
views
How to run AJAX call on page load and access that information from a custom webpart? [SharePoint Foundation 2013]
New to SharePoint development and not understanding how things work:
I have a "directory search" custom webpart on my home page.
It currently only works on the second search. I guess the AJAX call ...
1
vote
1
answer
753
views
Fill SharePoint People Picker from SharePoint List Column
I have a SharePoint List who has the column of type Person or Group.
In my webpart solution I am trying to use Caml Query to get the Data of the List based on Department column. Each Department is ...
0
votes
4
answers
602
views
Unable to access the site Using Alternate Name after Alternate Access Mappings
My server name is "dev" and I need to change the name to access the site Locally and as well as on LAN.
I changed the alternate name by using AAM to "abc":
On the Local Server, it says This page can'...
2
votes
2
answers
405
views
Chrome is opening Local Host site with HTTPS
In a SharePoint Development Environment whose server name is "dev", the site is deployed on the port 80.
I am accessing the site in Internet Explorer using dev:80 then internet explorer automatically ...
0
votes
1
answer
95
views
SharePoint DateTimeControl styling is getting out in google chrome
I am using a SharePoint DateTimeControl in my web part solution in SharePoint 2013. it is working fine in Internet Explorer:
but when I open the same page in Google Chrome, it looks like the ...
0
votes
1
answer
33
views
Sharepoint 2010 Word Webparts
I have a document library with a couple of Word docs with Webparts in them. Each pull a hand full of field data from a Sharepoint list. One of the Word Docs is working fine and getting populated with ...
1
vote
0
answers
99
views
Webpart randomly stopped working
We have a webpart running on SharePoint 2010 that displays our latest news that has been in use for at least 3 years. As of yesterday, it stopped working. It displays the webpart with title and the ...
0
votes
1
answer
42
views
Does NewsFeed web part works if my site host is on separate web application?
This is a test environment and I have two web application. One of the web application, my.contoso.com, has a site collection with My Site Host. The other web application, portal.contoso.com, has a ...
0
votes
1
answer
623
views
Office interop unable to open word document
I am trying to open word document using Word interop service, the file exists and I can see the file on disk and it is opening without any issue. Even I am checking if the file exists on disk before ...
1
vote
0
answers
38
views
Display contents from multiple subfolders
I am using SharePoint 2010's Form WebPart in junction with its Document Library WebPart.
The form is currently filtering results from a Document Library called Fruit (which is also being displayed ...
2
votes
2
answers
212
views
Web part in sharepoint 2013
I want to create a web part using VS, I found 3 types:
webpart,
visual web part,
visual web part farm solution only
which one should I start?
1
vote
1
answer
702
views
SharePoint 2013. "Request failed. List does not exist at site with URL 'http://sharepnt13'."
I am getting this pop up when clicking add new item to a list from a web part that lives on a site page. I am able to add the new item and it saves fine and even appears on the web part. I am unsure ...
5
votes
2
answers
3k
views
Help needed - picture library slideshow web part - photos not changing on time period
I'm using sharepoint 2013 for our works teamsite. On the home page I use the web part to display staff photos from a picture library. This has worked in the past fine - updating every 5 seconds. ...
0
votes
1
answer
453
views
Tasks list web part Timeline disappears
I have a page with Web Part layout. I add a Tasks list web part and Documents library web part in the same page and publish.
By default the Timeline is getting shown in Tasks web part however when I ...
1
vote
2
answers
2k
views
Live chat in sharepoint 2013
Does anybody have an idea on how to implement live chat(One on one like facebook) in sharepoint 2013 on-premise?
I have looked at https://www.cometchat.com/sharepoint-chat. It's close to what I'm ...
0
votes
2
answers
115
views
List is not showing in SharePoint page
I have created the SharePoint list. I have tried to add the list into page zone using PowerShell script. If I execute the script it will run without any error. But in page the list does not added. ...
1
vote
1
answer
523
views
Why there is a green start shows up on document?
my colleague uploaded five documents into the sharepoint in the earlier time. However, there is one of the documents appears a green start beside the document. Does anyone know what is that mean? And ...
3
votes
1
answer
2k
views
I cannot edit SharePoint 2013 custom page
I have created a custom page and it is deployed as globally.I have created a custom web part then exported the custom web part and added the XML reference in page layout Element.XML file.
If I go to ...
1
vote
0
answers
29
views
Getting error after editing web part
I added the content query web part in one of my subsites but after I done the editing and click 'ok', the site has turned into page error.
Does anyone know what is wrong?
0
votes
1
answer
1k
views
'An unexpected error has occurred' when trying to view/modify Document Library?
I'm a relative beginner at using SharePoint Foundation 2010.
When I try to view or modify 'Documents' or 'Assets' libraries, an unexpected error occurs:
And when I try to insert either of these ...
1
vote
2
answers
884
views
How to get an image link in site content and structure on SharePoint?
I want to change the picture in one sub site by using an address link. However, when I go to site content and structure to select the picture I want, I can't get the address link for the picture. I ...
1
vote
1
answer
2k
views
Get the list of users from User Profile in SP2013 with programmatically
I have to get all the users from User Profiles.
I have to implement search on those users on the basis of First Name & Last Name.
This question may be repeated but I don't get use-full solution so ...
5
votes
1
answer
574
views
Open 'Edit Form' Modal Box when a Document is Dragged into Library WP
I would like to force an 'Edit Form' modal box to open whenever a user drags a document into a Document Library Web Part. I have no idea how to do this -- is it possible?
This worked perfectly for me....
1
vote
2
answers
43
views
Concatenate and Display results in CEWP
I have two Content Editor Webparts in a page(CEWP) in a SharePoint page. In the first CEWP I have two html text boxes and one button. If i click on the
button in first CEWP the second CEWP will ...
0
votes
1
answer
138
views
Hide master page quick launch from sharepoint web part
I need to hide quick launch in certain subsites in sp 2013.
Below is the sample code (ascx.cs) i Tried, but quick launch is still visible.
Not sure what is wrong with the code below.
protected ...
0
votes
2
answers
327
views
SharePoint 2013 - How to make custom list searchable
I pulling list of documents through search results WebPart in SharePoint.
I am writing this query and it is working fine
path:"http://server-sharep/abc/*" FileExtension:pdf (IsDocument:"True" OR ...
1
vote
1
answer
1k
views
How can end users create bookmarks in SharePoint 2013?
How can end users bookmark their important documents, pages, etc within SharePoint 2013 sites? Are there any web parts for the same?
1
vote
2
answers
14k
views
How to set Date Field on insert form to null if date is not required
I am trying to set date field to allow null values on my insert form but every method I have tried comes back with " cannot insert null values". I simply want to allow users the option to insert a ...
0
votes
1
answer
91
views
Access Denied error with custom webpart
I have an internal portal/sharepoint site with a custom webpart used to serve up Crystal Reports reports. Currently I need to give Buitlin/Users Site Auditor permission in "User Policy" for the web ...
0
votes
0
answers
45
views
Need a Web Part for a Page to display a document library for selected subsite
In SharePoint Foundation 2010, I have a Site > Subsite structure in which all Subsites were created with a template, and house the exact same folder structure. What I would like to do is create a top-...
3
votes
3
answers
197
views
How do I create a WebPartPage using PowerShell?
I need to learn a PS script to create a WebPart Page on any library I want in my Sharepoint 2010 site.
Im brand new to PowerShell and Sharepoint, so far all I know is the little tought on a few MVAs I'...
3
votes
2
answers
5k
views
How to count total number of visitors to the particular item of the list in blog site
I have list named : "Posts" in Sharepoint 2010 - Blog site, I need to calculate total number of visitors to an indivadual post or item, Using Hit counter webpart I have tried but it shows total ...
5
votes
2
answers
5k
views
How to resize webpart content (Excel sheet) without scrollbars in SharePoint 2013?
I have a business data-excel web access web part. I need help for below issue.
How to resize webpart content (Excel sheet) without scrollbars in SharePoint 2013?
Please assist.
0
votes
1
answer
252
views
How to access and edit excel on SharePoint 2013 standard
As I have SharePoint 2013 Standard version, I will not get "Business Data" web parts. Hence I can't use Excel Web Access Web Part to display and edit Excel on SharePoint.
Do anyone know how to ...
1
vote
0
answers
172
views
Connecting DataView webpart to Listview webpart
For a customer I have to display related data on a CustomDispForm.aspx page. So I started to add a Listview webpart tot the page showing content from the list with the related data. But when I tried ...
2
votes
1
answer
94
views
Web Part or Custom .aspx Page for SharePoint
I am new to SharePoint.
I am confused on whether to use WebParts or custom.aspx page for custom development. Which is the better option out of the two? And why?
Also, what are the merits and demerits ...
2
votes
1
answer
4k
views
How can I validate that any attachments file name does not have ANY special characters in JavaScript?
By default SharePoint does not allow the following special characters to be present in attachment file names
~, #, %, & , *, {, }, \, :, <, >, ?, /, |, “
How can I validate that any ...
0
votes
1
answer
90
views
How the user is authenticated in SharePoint using Active Directory?
I am having a requirement when admin sets an account to "Force Password change at next login", the user will be redirected to password reset page.
But I don't know what happens at the back after user ...
0
votes
1
answer
142
views
Internl Server Error after using Itextsharp
when i try to use Itextsharp to create a pdf file from a webpart in sharepoint 2010 i get internal error on the 4 line of my code(Document) :
[WebMethod]
public static string PrintReq(string ...
4
votes
2
answers
2k
views
How can I validate against all special characters in the attachments file name?
By default SharePoint does not allow the following special characters to be present in attachment file names
~, #, %, & , *, {, }, \, :, <, >, ?, /, |, “
How can I validate that any ...
1
vote
0
answers
28
views
Unable to add item in SharePoint lists (many lists) programmatically [duplicate]
I am unable to add item in any sharepoint list programmatically from a custom web part.
list.AddItem() doesn't work.
0
votes
1
answer
196
views
Unable to add item to my sharepoint list
I try to add an item to my sharepoint list from a custom web part. Is there any mistake in my code?
[WebMethod]
public static string AjouterDemande()
{
SPList ...
0
votes
1
answer
845
views
How to disable drag and drop functionality in direct list web part on the page of sharepoint 2013 [duplicate]
I have a test.aspx page on which i have inserted a web part i.e. OOTB web part which is a library. According to the requirements, I need to disable drag and drop functionality for the users. User will ...
1
vote
1
answer
153
views
Any way to hide webpart from dashboard from particular user group?
I wan give user group permission on list view web part ,and I have sharePoint foundation version
for example: all item of list don't wan a see by user it only show to hr group but user created item ...