sharepoint

How can I see the exception call stack in SharePoint 2010?

落花浮王杯 提交于 2020-01-01 02:42:06
问题 I am trying to port a SharePoint 2007 site collection feature to 2010. During the feature activation, SharePoint shows the "yellow screen of death" stating "The current custom error settings for this application prevent the details of the application error from being viewed.". AFAIK I have configured everything that is need to see the error: in c:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config I have set <system.web> <customErrors mode="Off" /> <compilation debug="true" /> <SharePoint>

Identify if request is coming from local network (intranet)

房东的猫 提交于 2019-12-31 23:00:30
问题 I need to identify if a request comes from Internet or Intranet using either client-side or server-side. The problem I'm trying to solve is: our web site can be accessed from internet and intranet. The intranet user (user inside company), does not have access to internet. We are using Google Anylitics, when intranet user access the page, the page take so long to upload because it tries to download (ga) JavaScript file generated from Google. Any solution? 回答1: You can check the ip address of a

Identify if request is coming from local network (intranet)

安稳与你 提交于 2019-12-31 23:00:12
问题 I need to identify if a request comes from Internet or Intranet using either client-side or server-side. The problem I'm trying to solve is: our web site can be accessed from internet and intranet. The intranet user (user inside company), does not have access to internet. We are using Google Anylitics, when intranet user access the page, the page take so long to upload because it tries to download (ga) JavaScript file generated from Google. Any solution? 回答1: You can check the ip address of a

How to Access Sharepoint 2007/2010/2013 _layouts folder

拈花ヽ惹草 提交于 2019-12-31 11:45:10
问题 I'm trying to insert some data in the location mysiteurl/_layouts/ 'cause I had to use a third part software which uses data stored in that folder... I'm admin of the machine (Sharepoint 2010 on Windows server 2008R2) but the Sharepoint said I cannot access directly to that folder... Is there any trick to insert data in that specific folder? 回答1: If you're using SP 2007 the folder path is: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\ Sharepoint 2010

OnTaskChanged event being fired within ListenActivity, but not OnWorkflowItemChanged

£可爱£侵袭症+ 提交于 2019-12-31 05:34:16
问题 I'm monitoring for either Workflow Task Change Workflow Item Change OnApprovalTaskChanged is being fired, but not onWorkflowItemChanged. Is this a known issue and what could be a workaround? If i remove ListenActivity, onWorkflowItemChanged gets triggered! Here is part of my workflow: Workflow diagram http://img28.imageshack.us/img28/8397/ss20100217113727.png 回答1: Solved this issue. This article helped me. What you must do is to set InitializeWorkflow activity and create new correlation token

load sharepoint 2007 webpart to microsoft online emea?

倾然丶 夕夏残阳落幕 提交于 2019-12-31 05:17:16
问题 i have in my visual studio 2007 implemented webpart "Hello World". in project there are webpart.cs, webpart.xml and webpart.webpart files. i builded hole project, and tryed to load webpart.webpart in my online sharepoint project which is on emea microsoft server. loaded followinig: webpartcatalog->load->"webpart.webpart". its loaded allright. but when i want to add it in aspx page coming follow error -> "Cannot import webpart webpart" please help me load "Hello World" webpart. there is XML of

How to find item count in a SPFolder?

◇◆丶佛笑我妖孽 提交于 2019-12-31 03:08:09
问题 I have a List that stores items in a folder hierarchy. I notice that SPFolder.Files.Count is always zero. Is there a way to find out how many list items are there in a folder? 回答1: I presume you are looking for direct children and not descendants (like items within a sub-folder). Do you also want to include sub-folders in the count? In which case you can use: SPFolder.ItemCount . If you just want only the direct child listItems which are not subfolders then you can do something like the

VBA MKDIR in SharePoint fails

天涯浪子 提交于 2019-12-31 01:54:22
问题 Here is my issue: I am trying to make a folder in a SharePoint shared document library. But it only works after I enter my credentials using the "open with windows explorer" menu item. My users will not understand if I tell them they need to do this first. So, my questions is either: (A) is there a way to force this credential popup from VBA OR... (B) is there a way to pass these credentials through VBA myWorkbookBasePath= "\\sharepoint.buckeye.com\sites\transportation\cc

Sharepoint: Calculated column based on another list

你说的曾经没有我的故事 提交于 2019-12-30 18:49:07
问题 I could be looking at the wrong way to do this, but here I go: I have a Sharepoint list (titled "Trips"), which has a list of trips scheduled to particular zones. I have a second list ("Zones"), which has a fixed number of items, each item representing a particular zone. Zones has a column titled "Condition" describing the roads in that particular area. Now... given that an item in Trips contains a reference to the Zone item where the trip is heading, I want to be able to "look up" the

Is that possible to use != in query string?

ⅰ亾dé卋堺 提交于 2019-12-30 10:16:27
问题 I am filtering sharepoint list using query string for some reson i need to check condition like FieldValue!=Red is that possible to achive? Or still its limitation? .aspx?FilterName=EYHealthIndicator&FilterMultiValue=Red;Yellow&&FilterField2=ContentType& FilterValue2!=Task 回答1: You can't AFAIK. The workaround MAY be to create a calculated column and then filter on that. E.g. create a column called "Not-Red" with formula =IF([YOUR_COLUMN_NAME]="Red","False","True") Then filter ?FilterField1