Home Authors Posts by Ricardo Costa

Ricardo Costa

Ricardo Costa
53 POSTS 1 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.

Built-In ContentType and Field Ids

0
Only today that I've found that the WSS object model has 2 classes that hold all the IDs of the built-in ContentTypes and Fields. Instead...

ItemUpdating, AfterProperties and field names

0
I was checking for a field value change in a WSS V3 list with the help of event handlers with no success. In the ItemUpdating...

How to add a group to a WSS v3 site

0
Get the group SPGroup group = web.SiteGroups; Create a role assignment SPRoleAssignment newRoleAssignment = new SPRoleAssignment(group); Add the role definition (Full Control, Read, Contribute, …) to the role...

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...