using (SPSite site = new SPSite("http://appes-pc/my/personal/dotnet")) // Site Collection
using (SPWeb web = site.OpenWeb()) // Site
SPList list = web.Lists["My Contacts"]; // Listint i = 1;
foreach (SPListItem item in list.Items)
Console.WriteLine("Item: " + (i++).ToString());
in the current project, the client request advance search which enable the user to type search keyword and specify date range and choose the the entity type to search in (entity type like news , events , image gallery, document library, etc .........nearly, all the modules of the project)
so, i'm trying to implement this by the SharePoint out of the box features
i know that advanced search web part had been removed starting form SharePoint 2013
Can a SharePoint WFE be added to a farm to host unique web applications that are not part of the existing farm?
We have a test farm which currently hosts our flagship product and other supporting web applications for testing. Can a 2nd WFE be added to the farm to host a distinct/unique separate version of one or more of those apps?
Our goal is to create an area where we can test upgraded versions of the integrated analytics product and support controls (eg- latest version of infragistics). The reason for the 2nd WFE is to have a different GAC for these products and our own to keep things segregated.
We are migrating user's mailbox to cloud and we have script for that. We want to create a page on sharepoint and delegate access to the users that they can accept the terms and when they submit the request workflow trigger the script to move their mailboxes on cloud.
Is there any way through which we can trigger the powershell script through workflow.
We have an OLAP project which uses Sharepoint 2013 Excel Services to show excel files that contains external data from SQL Server Analysis Services (SSAS) cube. Our Authentication method to login users is FBA (Forms Based Authentication)
Our Goal is to show only subset of data from SSAS cube for each user based on their role which has already been defined in SSAS side.
FBA authenticates users against AD and all authorized user are already member of respective role in SSAS based on their clearance level. We need Excel Services passes EffectiveUserName to SSAS and for that we enabled the EffectiveUserName in global settings of Excel Services on SharePoint central admin.
Than in Excel, we have enabled the Windows Authentication in the Excel Service Authentication Settings of Connection Properties as we read on some blog posts. But after accessing it via the SharePoint, the following error occurred.
"The data connection uses Windows Authentication and user credentials could not be delegated." As I already stated, I don't want to delegate user credentials to SSAS. It's already been configure for Excel Services to use single account to connect to Analysis Services. I only want to pass EffectiveUserName.
Using windows authentication is not an option because users access the site from extranet and internet
Everything works fine until it gets to the extended properties of the webpart. Within that logic, the panel title will set correctly. This is a direct string assignment to the custom property. However, the CSPUElevel and PanelType are dropdowns and the assignment is never made. What is more interesting is that the CSPUElevel and PanelType don't seem to be exposed as custom properties in the same way as the Panel Title. In other words, the test for $prop.Name is never equal to "CSPUElevel" or "PanelType".
I am new to SharePoint and need to allow a SharePoint portal to load my asp .net application into the portal from the application server where I have hosted the asp .net application. I think I can use a SharePoint WebPart page viewer to do this by assigning the application URL to the page viewer. I don't know if this will allow the SharePoint user's to use the fully functional asp .net application or will it just show a specific web page and not allow the user to use the full functionally of the website. Can someone help?
Before showing info-path form ,need to open model popup (i.e) confirmation Box , if user clicks "ok" then open infopath form in Edit mode, "cancel" then open infopath form in Read-only mode.
public void FormEvents_Loading(object sender, LoadingEventArgs e)
StringBuilder sb = new StringBuilder();
sb.Append(@"var r = confirm('do you want to Checked-Out?');");
sb.Append(@"if((r == true))");
string s = Success();
string s1 = Failure();
How can I change what is written on the Report viewer web part when it is waiting for the parameters to be set like :
Microsoft SQL Server Reporting Services
Specify Parameter Values
Report parameter values must be specified before the report can be displayed. Choose parameter values in the parameters area and click the Apply button.
Also, how to change the text of the apply button in the parameters area:
Im using rich text editor while adding the eventin calender page.In demo server rich text editor working fine in Internet explorer.but in live server its not working in any of the browser its showing message like "Click for help about adding basic HTML formatting.".please help me.
I just want like this , there are to buttons 1is upload from file dialog and another scan from scanner ,if they click upload it will fetch file from file dialog (working now) & if they click scan it has to open scan dialog , then it has to scan & document should come, then if i click submit it will save in corresponding custom list as attachment.
i need programmatically