Wednesday, February 20, 2008

Visual Studio Extensions for WSS 3.0

Microsoft has released version 1.1 of the Visual Studio Extensions for Windows SharePoint Services 3.0! These are the tools that you use to build web parts, site definitions, etc. It can be downloaded from Here. This is a must install for all those developers working on building custom application on and over wss 3.0

1 comment:

Chiltu said...

I want to acheive customizing newform.aspx and need your suggestion. details are below.

Please download the attached snapshot. ( I was unable to attach.)


Here is what this newform.aspx does:-

It allows the user to create an appointment. Here the client requirement is that user should be able to choose any number of "ClientAccount" (currently I have limited to 3 as seen in snapshot). After "ClientAccount" is chosen I need to fetch the matching "Client Reps" from SQL and allow it to be selected. Client also wants the lookup type of window that should be popped up on click of a button (like the way currently I have linked lookup on the USER icon in the snapshot). The data in this popup window should be coming from SQL.

My questions (or areas I am getting struck are) :-

a) I currently have three columns named ClientAccount1, ClientAccount2,ClientAccount3 which are created using sharepoint UI and they are stored in contenttypes. Since client requirement is that there can be any number of client accounts, how can I have them defined in content_types. Is there any other way to handle this type of situation? This is a like Master-Detail ( here I assume client account is MASTER and Client Representatives is DETAIL) where I do not know the maximum number of records Master/Details will have. Since these needs to be stored in ContentDatabase, how can I acheive this ?

b) How can I build popup window concept? Also within Popup window I need to show from SQL.

c) In the above scenario, CLIENT REPRESENTATIVE column should be a multi-select dropdown and I need to show from SQL only those records that match the ClientAccount value... How can I pass this ClientAccount as "WHERE" condition in the SQL?

d) Also in the attached snapshot, is there a way to use Treeview control where data again from SQL? I have attached another anspshot of the treeview page that I am plannign to build. This treeview will be replacing "LCM Attendees" in the snapshot.

e) This page is basically newform.aspx. Once I modify this, will it get effected immediately to editform.aspx/dispform.aspx or I need to redo it again for those pages.

Thanks in advance.