sharepoint

SharePoint - ASP.Net Controls Integration

孤者浪人 提交于 2020-01-03 06:03:29
问题 I have basically two separate sites, a SharePoint collaboration site, and an ASP.Net application site. The only linkage between the two are the hyperlinks going back and forth, and the user validation on the behalf of the SharePoint site. The user will enter and be authenticated through the SharePoint site and then may browse to the ASP.Net application. What is the best way to integrate the two sites together? Is there an easy way to give the users a seamless experience while maintaining two

SharePoint - ASP.Net Controls Integration

。_饼干妹妹 提交于 2020-01-03 06:03:00
问题 I have basically two separate sites, a SharePoint collaboration site, and an ASP.Net application site. The only linkage between the two are the hyperlinks going back and forth, and the user validation on the behalf of the SharePoint site. The user will enter and be authenticated through the SharePoint site and then may browse to the ASP.Net application. What is the best way to integrate the two sites together? Is there an easy way to give the users a seamless experience while maintaining two

Get tbody next to one below the current tbody

断了今生、忘了曾经 提交于 2020-01-03 05:28:50
问题 I have a SharePoint table and would like to get the tbody of the table right one below the tbody with groupstring. Sample table <tbody groupstring=“%3B%23Application%3B%23”> <tr><td> : Application </td></tr></tbody> <tbody></tbody> <tbody> <tr><td><a href=“https://link1.com”>Link 1</a></td></tr> <tr><td><a href=“https://link3.com”>Link 3</a></td></tr> </tbody> I will be getting another link Link2 from Json and dynamically inserting it between Link1 and Link3 with Jquery var addRow=function

Sharepoint 2k7 - Custom WebPart not loading

拈花ヽ惹草 提交于 2020-01-03 05:16:49
问题 First off i am a big fat NOOB in regards to Sharepoint 2007 webpart development but i am working at it. Now for the real problem, so i develop this webpart and follow the 'Loose' advise from various sites on how to setup the features.xml, .xml, manifest.xml, solution.ddf and solution.build files. Basically, i have a all-in-one solution where i build the webpart and then in post-build event compile all the source files into the WSP deployment package. Problem i am having is that I can add the

Issue with database connection from sharepoint workflow with integrated security options

懵懂的女人 提交于 2020-01-03 05:15:15
问题 Good morning everyone, I'm running into an issue using a SharePoint workflow project (C#, VS 2008) and connecting to a database. Here is my database connection string: Data Source=DBSERVER;Initial Catalog=DBNAME;Integrated Security=True; When I attempt to run the following code I get the following error ... SqlConnection dbEngine = new SqlConnection(Constants.DBCONNECTION_STRING); dbEngine.Open(); "Login failed for user 'DOMAIN\MACHINE_NAME$'" What I need it to do is pass through the logged

Open Sharepoint Excel Files With VBA

邮差的信 提交于 2020-01-03 04:30:08
问题 I'm using VBA in Excel to loop through files on a sharepoint site and open all Excel files. The code crashes Excel the first time I run it, however, if I then reopen it it works fine. Are there any known issues around this? Thanks. Edit: Here is the code: Sub Refresh() With Application .ScreenUpdating = False .DisplayAlerts = False Dim fso As FileSystemObject Dim fldr As Folder Dim f As File Dim wb As Workbook Set fso = New FileSystemObject Set fldr = fso.GetFolder(SharePointSite) For Each f

SharePoint Feature Activation Form

蹲街弑〆低调 提交于 2020-01-03 03:26:07
问题 I'd like to collect some information from a user when they activate a feature on a site. Just like the WF Association form when you add a workflow to a list. My particular scenario is a feature that creates a timer job that will do a weekly export of a document library as PDFs to a special staging database. When the feature is activated I'd like to ask the user for the connection string of the database, the source document library and the interval between updates. 回答1: I do not know of a way

SharePoint 2010 Filter Web Parts

点点圈 提交于 2020-01-03 02:58:08
问题 I cannot seem to get the SharePoint 2010 Filter Web Parts to display. I tried enabling the SharePoint Server Enterprise Web application features at the Site Collection level (Central Admin - Manage Web Applications - Select Web Application - Manage Features - SharePoint Server Enterprise Web application features - Activate) as well as at the Site level (Site Actions - Site Settings - Manage site features - SharePoint Server Enterprise Site features - Activate), but they still don't show up

Add Wiki Page Library pages (not the publishing wiki) with PowerShell CSOM SharePoint 2013

混江龙づ霸主 提交于 2020-01-03 01:13:05
问题 Made a Wiki Page Library (not the publishing wiki) and can add pages with content like below, but when the page renders there is no SharePoint Chrome, just my content shows up. here is code. I it seems there may be one more property to add so master page takes effect? $FileCreationInformation = New-Object Microsoft.SharePoint.Client.FileCreationInformation $FileCreationInformation.Url = $FileRef $FileCreationInformation.Overwrite = $true $FileCreationInformation.Content = [System.Text

add multiple SPList to SPListItemCollection

空扰寡人 提交于 2020-01-02 20:10:05
问题 I have 1 SPList to 1 SPListItemCollection , I want to add two SPList to 1 SPListItemCollection 1 SPList list = SPContext.Current.Web.Lists[Constants.ListNames.Name]; SPListItemCollection allItems = list.GetItems(spQuery); 2 SPList list = SPContext.Current.Web.Lists[Constants.ListNames.Name]; SPList list2 = SPContext.Current.Web.Lists[Constants.ListNames.Name2]; SPListItemCollection allItems = list.GetItems(spQuery); allItems??? 回答1: I always like to use List<> to handle these. To do that,