Browse by Tags

All Tags » Portal (RSS)

Cooperativismo com conteúdo!!!

Como eu não estava blogando na época de seu lançamento, gostaria de registrar aqui a referência para o portal do SICOOB Central Cecremge - Central das cooperativas de crédito de Minas Gerais. Eu participei ativamente da construção deste portal, juntamente com o restante da equipe top-ultra-expert-ninja-JEDIS da e-Solum . Este portal foi totalmente construído sobre o Windows Sharepoint Services 3.0 e o projeto teve o início de sua fase de planejamento com o WSS 3.0 ainda na versão beta. Seguramente está entre os 3 primeiros large deployments de Sharepoint 2007 no Brasil. Foram utilizados, além dos recursos nativos do Sharepoint, vários componentes da Fertile Plataforma , que compöem as soluções de WCM (Web Content Management)da e-Solum. Outros pontos de destaque deste portal são a customização de layout e a utilização de múltiplos Authentication Providers para permitir accesso de diferentes públicos-alvo ao mesmo conteúdo, de maneira segura. Por exemplo, os usuários internos da Cecremge acessam o portal de forma integrada, e podem acessar a intranet. Já o publico das cooperativas, acessa somente o site institucional e a Extranet, através de uma autenticação em uma base de dados SQL Server. Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks
Posted by SharePoint Blogs
Filed under: , , ,

List does not exist. AccessDenied.aspx. I finally figured it out...

So this is an interesting issue. The problem that I was having to cause this error to come up was using the SPSite.AllWebs[Guid] collection to get the web that I wanted. Well, when the code is run under the impersonation of a user that doesn't have access to all of the webs, they run into the AccessDenied.aspx, List does not exist error. They aren't able to access the allwebs collection that the administrator can. So remember this, use the SPSite.OpenWeb(Guid) function instead! :) It will save you all kinds of trouble. Safe journeys in the world of SharePoint! Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Discussion: Custom Field Controls vs. Custom Web Parts

I watched a video with Andrew Connell, and it was brought to my attention that Custom Field Controls may be more appropriate than custom web parts in certain situations... One question that I have is if the tool pane is accessible for the end user when dealing with a field control... Can the design set configuration data from sharepoint designer? Please post any thoughts you may have. Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Custom Web Part Building: State Management Tips and Tricks

When building custom web parts its essential to understand when controls will contain thier values and when they don't and how to keep variables that will contain their values throughout the web part life cycle. Especially if you would like to dynamically load one control based on another controls input. 1. In CreateChildControls, No control will contain a value, not even hidden fields. This eliminates some uses of a common practice of utilizing hidden field to maintain viewstate. 2. ViewState Parameters are great for maintaining values throughout the web part lifecycle. Initialize them in the constructor of a web part to avoid null errors. Initializing a view state parameter: ViewState["parameter1"] = ""; Retrieving a value from view state: string this = ViewState["parameter1"].toString(); 3. If you would like to maintain a web parts state while navigation persists in your website, you can utilize session state variables with the following code: Adding a variable to session state: HttpContext.Current.Session.Add("variablename1", "value1"); Retrieving a variable from session state: writer.Write("'" + HttpContext.Current.Session["variablename1"] + "'"); Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Custom Web Part Code: Adding the default doc lib menu to a custom web part

So I found a way to add the default drop down menu to the items of a custom web part control. Its pretty convoluted, so if you form a more direct way let me know. See code below: This Template is needed to be instantiated, but we don't render it... (lil trick) msaListMenu = new MenuTemplate(); msaListMenu.ID = "DocLibMenu"; I use this menu column to expose multiples values I need for the menu: SPMenuField msaColMenu = new SPMenuField(); msaColMenu.HeaderText = "Name"; msaColMenu.TextFields = "FileLeafRef, ID, COUID"; //msaColMenu.TextFormat = "{0}/{1}/{2}"; msaColMenu.MenuTemplateId = "DocLibMenu"; //msaColMenu. msaColMenu.NavigateUrlFields = "FileLeafRef";//Client_x0020_Name_x0020_2"; msaColMenu.NavigateUrlFormat = SPContext.Current.Web.Url+"/[Doc Library Name]/1/{0}";//1 msaColMenu.TokenNameAndValueFields = "EDIT=ID,NAME=Title,TYPE=DocIcon,REF=FileLeafRef"; msaColMenu.SortExpression = "Title"; msaGrid.Columns.Add(msaColMenu); Javascript I implanted directly after the rendering of the SPGridView Control (this javascript manipulates the menu field that we put in our SPGridView control and gives it the identical html that the default web parts use for their menus: string transplantMenuFunction = ""; transplantMenuFunction += "<script>\n"; transplantMenuFunction += "function transplantMenu(){\n"; transplantMenuFunction += " var error;\n";...

Known SharePoint Issue: Switching from inherited to custom permissions!

SharePoint has a known issue when you're working with the Security of SharePoint. When you are working with the permission in Sharepoint and want to go back and forth between inherited and custom security, MOSS 2007 gets mad. Breaks the entire portal. So if this happens look for this hotfix: http://support.microsoft.com/kb/937038 . And Safe Journeys in the world of SharePoint! Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Discussion: MOSS 2007 Conversion from 32-bit Server to a 64-bit Server

My client is looking to switch from a 32-bit server to a 64-bit server on both the SQL box and SharePoint box for performance enhancement. We already have a partial portal build in progress. Are there any concerns or red flags that I should point out to him? I believe it should be very simple, back up the 32-bit server's site collection and config db, and simply restore it on the new sharepoint 64-bit server. Any assistance or comments here would be appreciated. Thanks! Chad Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

High Priority ISSUE! MOSS 2007 craziness! Problem!

Okay, I've got to explain this in a way that translates that shear nonsense that happens here. So I search web part taht search oracle for client ids, brings back the client id and sends it to a redirect page. The redirect page has a web part on it that grabs the client id from the query string and either creates a page for the client if none exists and then ships them to the page, or just sends them to the sharepoint page. On the client's page, There's quite a bit of custom functionality through the use of javascript and custom web parts... The client page is also given a query string "NC_NUMBER=346" to tell the page which client it is so the custom webparts can query oracle for some related info about the client. So thats the scenario. And this works perfectly on my computer and a couple other peoples computers, however, when certain end users try to get the client's page, they get a: "List does not exist The page you selected contains a list that does not exist. It may have been deleted by another user. " Now, this is nuts enough just if it happened when going through the redirect page, however, it does this if you attempt to open a new IE window and paste the url with the nc_number parameter. No redirect involved... AND THEN, check this out, if you go to the site, get the error message, and then hit go back to page, it will load the page no worries. What seems to occur on the users page, is the sharepoint pulls some query parameters out...

Discussion: AJAX enabling SharePoint

I've done this in a VPC on a single server farm with tutorials I found on google, and I've written various AJAX WebParts for use with sharepoint inside that VPC. I'm looking now for some examples of how people have use this on production systems and if they've had any headaches or problems with any Use Case Scenarios when dealing with SharePoint after its been AJAX enabled. Does all of SharePoint different built in features accept AJAX enabling? I know that there's been talk about Microsoft putting AJAX enabling into SP1, has anyone heard any confirmation of this? Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Discussion: What is the purpose of PortalName and PortalURL properties of SPSite

I am unsure as to what the purpose here is. From what I've seen this is how you associate various site collections(SPSite) back to a central "portal" (another site collection). I'm guessing that if these properties are set then a link appears somewhere in the child site collection leading them back to the parent portal. Also this occurs within the SPWeb, again I'm assuming that this basically relays a link within sharepoint back to a parent portal. Does anyone know of any other uses for this? Can anyone confirm what I have stated? Has anyone have any use cases where this became neccessity? Does anyone know where this link turns up when implemented? Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Discussion Boards Bug

Has anyone else had problems with the discussion boards? My end user will simply modify the view and end up causing problems with the entire list. The the default view will become the home page... And the links won't go to the threaded discussions, they will begin acting like folders... Anyone else had these types of problems? Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Using a Web Service as a Data Source in SharePoint Designer Bug

I can set up a web service as a datasource in Share Point Designer. However, when I attempt to pull that information into a drop down list list form control it does not populate with information. I've tried it several different ways, and paralleled it with a working model using a direct sql connection. I believe this to be an error with SharePoint Designer. Please comment with any related experiences. Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Dynamic Site intergrated with a Database, List, or BDC Data

Use web parts that either actions(BDC Data), custom columns(List), or spgridview control(Database), to establish links that provide a query variable to your dynamic page. On your dynamic page, create a web part or embed server side code that creates a folder in each of your lists, document libraries, or wikki libraries. Make sure that these folder are also assigned an id value to an id field(only can be do programmatically, no default UI for this). Use the query variable given to arrange for a rootfolder query variable that navigates list web parts to their respective folders. Modify any extraneous links through javascript, utilize cookies and redirects with a custom web part to hold id values despite application page navigation. Well, I hope this helps, and good luck in the world of sharepoint! Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Solution for multiple filters... (Javascript/Forms Solution)

This was a post on Discussions in microsoft.public.sharepoint.development_and_programming. This may not be the most complete solution, but you will not have to use custom web parts to implement. Ok so, we want three different columns we can filter on for a basic list web part that can only connect to one web part at a time... Well, as long as we only want one of the columns to search on at a time.... We can do a little slap and tickle(Beer Fest, good...

My First SharePoint Blog

Hey all, I am an IT Consultant with Levi, Ray, and Shoup, Inc. I attended their Portal University in July - October '05 and have worked with LRS as a SharePoint Consultant ever since. I have been on numerous successful engagements deploying SharePoint 2003, MOSS 2007, InfoPath 2003 and 2007. I have a strong foundation in many languages including but not limited to SQL, C#, XML, XSLT, JavaScript, CSS, HTML, ASP.NET. I have worked with SharePoint...