Answer Questions
GeorgeY Sharepoint Portal Fixed Width?
I've had some success applying a .css to the Portal and specifying the fixed width. However, I would like the page to be centered in the browser. Any ideas I'm a newbie when it comes to Portal customisation but I'm trying... Sorry George, it's with regard to Sharepoint Portal 2003 not 2007. Any help would be appreciated. Sorry George, you lost me when you started with 'Publishing Portal site template'. Have you tried creating a site collection with the Publishing Portal site template, or switching to a master page other than default.master (like BlueBand.master) They set a width of the main content of the page, and center that in the br ...Show All
raghu_grdr What is the difference between Convert.toString and .toString()
What is the difference between Convert.toString and .toString() Just to give an understanding of what the above question means seethe below code. int i =0; MessageBox.Show(i.ToString()); MessageBox.Show(Convert.ToString(i)); We can convert the integer “i” using “i.ToString()” or “Convert.ToString” so what’s the difference. The basic difference between them is “Convert” function handles NULLS while “i.ToString()” does not it will throw a NULL reference exception error. So as good coding practice using “convert” is always safe. Hi There is no difference between i.ToString() and Convert.ToString(i) . This is the body of the Convert method: public static string ToString(int value) { return value.ToString(); } Furthermore, the ...Show All
Alex1st Sharepoint Timer Jobs
Hi I do have a requirement where a custom job should be scheduled which would do some task. I have used SPJobDefinition class and created a custom timer job. I have scheduled it to run every 15 minutes. As per my understanding the job should call Exceute ( ) each time it gets initiated. I can see the job being created for my Web Application and getting scheduled. Its getting started every 15 minutes. But it does not call the Execute ( ) each time it gets executed. Is my understanding correct reg this Is there anyone who has worked on this before. Plz help me out.. Thanks suja Here s the complete reference.Andrew has sample solution file downloadable. wonderful post to kick ...Show All
Skill225 Open new document in browser-enabled form
Hi, I'm not sure if this is an Infopath question or a workflow question. I have an Infopath form that I am using as an EditTask form in a workflow. The IP form has a button that when clicked, should open a new document from a specific document template with a default save location set to a specific sharepoint document library. Because I am using this form as part of a workflow, it has to be browser enabled. Since you can't use script in browser enabled forms I have the following code behind the button (see below). When I preview the form the button works correctly, but when I view the form from within the workflow, the button doesn't work. The form opens correctly, but clicking on the button just sets the "sending data to the serve ...Show All
Barrios WebDav access to Doc Library
Don't know if this is the best place to post this or not, but I have a question about what happens when the WebClient service is restarted on my Windows Server 2003 SP1 machine. I'm using the Windows 2003 SP1 server as a client, and am trying to copy files from the file system into a document library on SPS 2003 (hosted on another machine). I've noticed this odd behavior... The WebClient service's startup type was set to Manual after I finished installing windows. If I start the service and try to access the document library via webdav (Start - Run \\servername\path\path\libName , or via code like below) everything works fine. If I restart the WebClient service I can no longer access any webdav resources (even though the service star ...Show All
Rashar People search on user profiles imported from AD
Hi I configured a full Active Directory import in the Shared Services Administration->User profiles and properties and I was able to get all the AD users imported into the server, however, whenever I search for people, I don't get any results back. Assuming there's a relationship bewtween the two, how do I link Search People to User profiles , or, if these things are unrelated, how do I Search People imported from AD We are having the same problem as Daniel and have check all of the above on our server. What should the scope rule for the people search contain Our has the following : Scope Rule Type: Property Query Property Query: add property restrictions:contentclass ...Show All
GreenSleeves SwitchView in ASPX
hello, I am attempting to switch the view in an XMLFormView control hosting an inforPath template using ASP buttons. protected void btnAddress_Click( object sender, EventArgs e) { XmlFormView1.XmlForm.ViewInfos.SwitchView( "Address" ); } This is returning an "Object Reference not set to an instance of an object" error. Any ideas Please help. Thanks Hi, I am also facing the same problem. If the get the answer can you please post it. Regards Sumit Kute You may need to call the Page.DataBind() method before trying to switch views. Hi Sumit, I was never able to solve the problem, and add ...Show All
Nikraz Any News on the new bits ?
As posted in a previous post, there is a new version of Knowledge Network Due out soon. ANyone hear anything else regarding dates for this Also wanted to get that other post bumped down so it wouldn't be showing as prominately ;-) Thanks Bob ! I am anxious to give it a try !! On the face you wont see much of a change than what John showed in the Channel9 video. This will mainily consist of code fixes to the client and server app. I could be wrong on this but this is what I have heard from the team. When they are posted I will post here and also place the info on my blog at http://bobfox.net/spblog FYI im chomping at the "bits" to get these also :) I will check with Product Team today to see if i can get ...Show All
MarkBosley Message Routing doesn't work
Hi, all. I defined a very simple ASP.NET Web service as follows (namespace omitted): [WebService(Namespace = " http://tempuri.org/ ")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class Service : WebService { [WebMethod] public void Log(string log) { using (StreamWriter writer = File.CreateText(@"C:\log.txt")) { write.WriteLine(log); } } } The session manifest is as follows: <Session timestamp="0001-01-01T00:00:00.0000000-08:00" timeout="30" serialize="None" routeAnyAction="true" ackOnRouteMsgToParticipants="false" xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:xsi=" http://www.w3.org/2001 ...Show All
Sarosh79 How to call HelloWorld service with parameters ?
Hi, we are trying to extend the HelloWorld sample. The webservice currently has one function HelloWorld, which returns back a string value. But, what if we modify this HelloWorld service, to accept some parameters also, as below: [WebMethod] public string HelloWorld ( string parameter ) { return parameter; } while making a call, we would write < Route > < Criteria > (ACTION EQ 'http://tempuri.org/HelloWorld') </ Criteria > < Destination > HelloWorldParticipant[http://tempuri.org/HelloWorld parameter="Hello World"] </ Destination > </ Route > But this does not work. Any idea on how to call webservice from ...Show All
Ghoort Custom Field Type Properties
Hi, I have created a custom field type for SharePoint that represents hierachical data from and XML file (stored in SharePoint) in a TreeView. I have created properties on the field to store the location of the source XML file and whether to render the TreeView as a multi-select, ie. with checkboxes. I created the properties in the _fldtypes xml definition using the property schema elements as they are only simple textboxes and checkboxes. My problem is that these properties work ok to add the form and save, but when you try and edit the field, the values in the properties reset to <field description> value. ie. they are not what was set and they are not even the default! This is supposed to be out of the box stuff accord ...Show All
JohnHarding Xml string compression?
Looking for a way to compress a huge xml string. Xceedsoft has a compression library but should we really buy it just for that. Any suggestions will be appreciated. Thanks, Sailu Regarding Pranshu suggestion, you have in .NET 2.0 a new API exclusively for compressing/decompressing streams System.IO.Compression Namespace Hope it helps The GZIP compression that I was talking about - is useful for the network only. Most applications ( yours or third party) will support HTTP compression. The way it works is that the Web server( or the HTTP Server which could be your application) - reads the client header "accept-encoding" and if finds the values like Gzip, deflate there, it knows that the client kno ...Show All
NetPochi Extending a web application for Internet employees?
I have a WFE server running WSS 3.0 in my DMZ. It talks to a SQL db on a trusted segment. This is probably a newbie question but I am learning fast. Right now, I seem to be able to connect from the Internet using the public DNS name but I immediately can see the address bar path change to the server's internal name, WEB02, as it begins to load the home page at which point I get the "page cannot be displayed" error. Or at least I think that's what's happening. Am I correct in my research that I must extend my existing web application in order to add a publicly accessible DNS name so my external employees can access I basically need to select Extend an existing IIS web site, enter the public name in the Load Balanced URL ...Show All
bryanedds Per program settings in registry?
Hi All, I have a problem with these 2 applications. The first screws up without enabling windows font substitution, the second screws up with font substitution. The issue here is that I can't enable a registry value for only 1 application. It there any way to specify per application settings (like the good old INI files ). Mongoose7 ...Show All
Garick CQWP - Custom List
I prepared a custom list and listed its items in CQWP. ListName: MyList Columns: Name,CustomUrl (ex: Google,http://www.google.com) When I click CQWP item, it opens the "List Item", but I want it to navigate to CustomUrl in List Item. I worked a lot on ItemStyle.xsl and ContentQueryMain.xsl ... Does anybody have a trick Thanks, Connect to the site collection with Sharepoint Designer.. Under Style Library / XSL Style Sheets, there is ItemStyle.xsl which formats the CQWP. Create yor own template there, by copy pasting one of the existing templates. Change the SafeUrl variable as the url of the list. Set the ItemStyle of CQWP as your new template. Ex Template Code: <xsl:template ...Show All
