Posted in SharePoint on Nov 29th, 2007
If you do a custom activity, configure it to use Lookup fields on field configured as DesignerType=”StringBuilder” and instead of field value you get [%_x005f_String0%] you need to process this value with this function: public static string ProcessStringField ( string str, Activity activity, WorkflowContext context ) Here is a code sample:
//…
public static DependencyProperty __ContextProperty =
[…]
Read Full Post »
Posted in SharePoint, Learning on Aug 11th, 2007
Posted in SharePoint, .NET on Jul 15th, 2007
If you have this error and you did all of those things:
reinstalled DLLs,
checked custom aspx if they reference any misspelled DLLs,
removed one by one all the custom solutions,
ran the “SharePoint Products and Technologies Configuration Wizard”,
thought “Let’s go for a lunch and then reinstall this machine”
Check the web.config Best thing would be to take it from […]
Read Full Post »
Posted in SharePoint, Web Development, .NET on Nov 29th, 2006
If you set up HeaderImageUrl property in HyperLinkColumn, the text from HeaderText will not be shown.
Take this code for example:
<asp:HyperLinkColumn DataTextField=”urn:schemas-microsoft-com:office:office#Author”
DataNavigateUrlField=”urn:schemas-microsoft-com:office:office#Author”
DataNavigateUrlFormatString=”/MySite/Public.aspx?user={0}”
HeaderText=”Author” HeaderImageUrl=”/_layouts/images/imnhdr.gif”>
The “Author” text will not be shown in this column’s header. Only the icon will be visible. Well there is a simple way to solve
this:
<asp:HyperLinkColumn DataTextField=”urn:schemas-microsoft-com:office:office#Author”
DataNavigateUrlField=”urn:schemas-microsoft-com:office:office#Author”
DataNavigateUrlFormatString=”/MySite/Public.aspx?user={0}”
HeaderText=”<img src=’/_layouts/images/imnhdr.gif’/>Author”>
hey, it works
Read Full Post »
Posted in SharePoint on Mar 11th, 2006
I’ve had a problem with this and I’ve seen other people having problem with this too.
If after making a SQL Full Text query like this:
SELECT
“DAV:getcontentlength”,
“urn:schemas-microsoft-com:office:office#Title”,
“Rank”
FROM Portal_Content..Scope()
WHERE (“DAV:getcontentlength” > 10000)
ORDER BY “DAV:getcontentlength”
using search.asmx web service you get this error:
<?xml version=”1.0″ encoding=”utf-16″?>
<ResponsePacket xmlns=”urn:Microsoft.Search.Response”>
<Response domain=”QDomain”>
<Copyright>Microsoft (c) Office SharePoint ™ Portal Server 2003</Copyright>
<Status>ERROR_SERVER</Status>
<DebugErrorMessage>Internal server error:Missing LinkUrl</DebugErrorMessage>
</Response>
</ResponsePacket>
it’s not a […]
Read Full Post »
Posted in SharePoint on Feb 20th, 2006
Some time ago I was developing a web control which had to take a list of a SPListItems from a specific SPList from a current SPWeb. Simple thing. Code was also simple. I used SPControl.GetContextWeb and got the list I wanted. I wrote the code and everything was ok until… until during tests I got […]
Read Full Post »
Posted in SharePoint, Visual Studio on Feb 2nd, 2006
Since I’m working on VMWare machine on SharePoint, the little window named “Microsoft Development Environment has encountered a problem and needs to be close” become main part of my life.
Always when I got this message I had a close and send error to Microsoft buttons. I always send those error reports.
Few moments ago VS crashed […]
Read Full Post »