Home Authors Posts by Ricardo Costa

Ricardo Costa

50 POSTS 0 COMMENTS
Solution Architect at |create|it|. Member of the Systems Integration and Web Development team. More recently, manager of the RAD team (Rapid Application Development) with greater focus on the OutSystems platform. Special topics of current interest include: Solution Architecture design, Integration Patterns and Enterprise Application Patterns, Software Factories, Code Generation, Web Development.

Register Trixbox with Netcall.pt for incoming and outgoing calls

0
Go to freePBX à Trunks and create a SIP trunk. Then trunk settings are: General Setting Outbound Caller ID: "YOUR NAME" <YOUR NUMBER>. Type exactly with ""...

How to use FullTextSqlQuery to search in WSS

0
First, you have to add the following references: Microsoft.Sharepoint Microsoft.Sharepoint.Search Second: DataTable resultsDataTable = new DataTable();  using (SPSite site = new SPSite("http://server")) { FullTextSqlQuery query = new FullTextSqlQuery(site); ...

How to use KeywordQuery to search in WSS

0
First, you have to add the following references: Microsoft.Sharepoint Microsoft.Sharepoint.Search Second: DataTable resultsDataTable = new DataTable();  using (SPSite site = new SPSite("http://server")) {  KeywordQuery query = new KeywordQuery(site); query.QueryText = queryText; query.ResultTypes =...

Different web.configs

0
In the project that I'm currently working I had a problem because my connection strings are different from the other developers: I want to...

Recursive Queries in SQL Server 2005

0
For building recursive queries In SQL Server 2005 we have to use a new functionality called Common Table Expressions. Let's see how we can...

List User Profiles from MOSS 2007

0
using (SPSite site = new SPSite(siteUrl)){  ServerContext context = ServerContext.GetContext(site);  UserProfileManager profileManager = new UserProfileManager(context);  foreach (UserProfile userProfile in profileManager)    Console.WriteLine(userProfile.Value);}

Problems with ItemAdded and ItemUpdated in MOSS

0
Just followed the steps described by Ted Pattison at Creating and Using Event Handlers in Windows SharePoint Services 3.0 in my MOSS virtual machine...

“Wait for field change in current item” workflow action in Sharepoint...

0
The "Wait for field change in current item" workflow action in the Sharepoint Designer only detects the change after the item is checked in....

GRANT permission to all stored procedures

0
If you need to grant a specified permission to all stored prcedures you can execute the following scriptDECLARE @User sysname SET @User = '<USER>'...

Setting the original file name when using Response.BinaryWrite()

0
Imagine you have file saved in a database. Then you have an aspx page that gets that page and sends it back to the user.If you...