MOSS XHTML Compliant

Hi,

There is an increased number of projects focusing on get MOSS be XHTML compliant (well sure it is one of the most requested features for Office14).

So I wanted to start a list with all this solutions:

To get SharePoint 2007 to validate according to W3C XHTML 1.0 Strict.
Google-optimize SharePoint to gain the best search ranking.
Enhanced accessibility.
Makes it possible for SharePoint to follow the American regulation 508 and the Danish regulation based on WCAG AA.
Better control over the HTML output of SharePoint, to ease the frontend development process.

 The Accessibility Kit for SharePoint® (AKS) solution will help get you started on the road to Web accessibility with an accessible platform and framework from which to launch your portal or intranet site.

I will add more tools in coming days!

Ciao!

Posted 09 October 08 04:28 by carloshm | 2 Comments   
Filed under , ,
MOSS Performance Counters and thresholds

Hi,

Imagine you have reached Ben Curry's article when searching for performance counters, but you don't know which thresholds to monitor!

Some time ago I found PAL Tool, and I checked a good thing: it has MOSS2007 thresholds.

So this should be a good starting point. 

PAL

Cheers!

 

 

Posted 09 October 08 04:04 by carloshm | 2 Comments   
Filed under , ,
Attachment(s): PAL.jpg
PowerPoint Productivity to the Max

Hi,

In the Web Office Wave, we need a new evolution in the way people share their ideas; improving how we use the technology we have, in our daily world.

Thinking of PowerPoint, did you have last week any meeting trying to deliver your ideas to other people?, I would be happy to find deep use of current tools in the productivity landscape in order to maximize that time.

Although you should visit OfficeLabs.com I wanted to point out some of these tools to improve the way we communicate with each other:

pptPlex http://www.officelabs.com/Lists/Categories/Category.aspx?Name=pptPlex 

PicLens for PowerPoint http://blog.cooliris.com/2008/08/07/slide-into-piclens-for-your-next-presentation/

It would be nice to describe the tools, but it would be better to see them in action:

 PicLens

Namaste!

P.S.

You can review http://www.pptools.com/index.html  too

 

Posted 02 October 08 01:51 by carloshm | 0 Comments   
Filed under
InfoPath and Webs.asmx Web Service

Hi,

Did you try to consume data from webs.asmx into InfoPath Forms?

I did, and found problems, as InfoPath was not able to generate the full schema (or SharePoint did not generate the expected WSDL).

Although there are some limitations in the Web Services InfoPath support http://msdn.microsoft.com/en-us/library/bb852081.aspx

I manage to change imported schema in order to get subwebs from a site. So feel free to get the attached file if you found the same problem.

Ciao!

Posted 02 October 08 01:39 by carloshm | 2 Comments   
Filed under , ,
Attachment(s): webs_asmx.zip
Global Asset Picker - SharePoint

Hi,

Did you get in trouble finding elements through OOB features with hundreds (or thousands) of hundreds of documents/pages? I think this is something everybody meet sooner or later in a SharePoint environment.

I have several opportunities to improve Asset Picker, but the way it is built (based on a Browse & Find instead of Search concept) it was really difficult to hack it and make it globally available. 

At the end we got to a scenario with too many custom development to be able to accomplish this solution.

http://msdn.microsoft.com/en-us/library/ms543215.aspx
http://sharepointbergen.blogspot.com/2007/09/modifying-asset-picker-dialog-in.html
http://sharepointkb.wordpress.com/2008/09/10/asset-picker-browse-field-control/
http://blog.mastykarz.nl/adding-new-locations-to-the-look-in-dialog/

So, did I find any other suggestion to improve authoring/editing experience?

Imagine

Been able to Search for content inside MOSS/WSS without moving through several windows, and using search built-in capabilities, just right where you are editing.

Think

A Feature deployed through a Solution package, that contains a delegate control begin included in the Additional Page Header. This control manage a modal css window, that allows the user to search and filter results from a form control.

Create

Options for the "client engine" would be:

Personally, I would choose JQuery (even before it was going to be included in VS :))

Adios!

SearchMonkey, OpenCalais and MOSS

Hi all,

This is something I really wanted to start including in my public projects (and I will do), as certainly Search will need to improve in coming years.

just check above examples, and you will see.

Well this post was just to show you the example of OpenCalais integration with MOSS: http://www.opencalais.com/MOSS

 Open Calais allows you to add semantic metadata to content already in your environment. A very nice way to improve editors usability, as you can see in tagaroo wordpress plugin.

How does it work?

It installs (through solutions+features):

  • Custom List
  • Custom WebPart
  • Events Receivers to Documents and Page Library (ItemDeleting, ItemCheckedIn, ItemAdded and ItemUpdated events)

and when an item is created/updated and so on, the OpenCalais Webservice is called, with the information from the file (via WebRequest) and related metadata is stored in the Custom List.The custom webpart gets the current item, and it searchs for the metadata into the Custom List, so calls to the webservice are made only in editing state.

Finally as the rendering of the custom webpart matches UserAgent of Search Engine Bots, it will only display that rich information to bots matching those rules.

By default this rule has Yahoo bot, in order to be relevant to SearchMonkey initiative with microformats.

Adios!

Posted 21 August 08 12:15 by carloshm | 1 Comments   
Filed under , ,
Promoted Column of integer type does not appear in the library : InfoPath

Hi,

Following on our development with promoting infopath columns into a document library, we found that an integer node, was not in the document library, but if you drilldown to the content type schema it was there.

Well, I found that it is documented in a KB:

Some fields that are promoted as columns do not appear in the columns list in a document library after you publish an InfoPath 2007 form template to a SharePoint Server site as the document library

http://support.microsoft.com/kb/923519/en-us

Hasta Luego!

Posted 24 July 08 09:41 by carloshm | 0 Comments   
Filed under ,
Sharepoint Columns Promotion : InfoPath - Aggregation Function

Hi,

These (days, weeks, months?) I'm extremelly busy, but I though this is quite interesting. Deploying InfoPath forms with columns promoted programmatically, I found that the documentation is quite poor. So here it is:

If you add to a Content Type a Field with an aggregation function, the options would be:

sum
count
average
min
max
merge
plaintext
Converts node text content into plain text.
first Applies property promotion and demotion to the first element in the collection.
last Applies property promotion and demotion to the last element in the collection.

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfield.aggregationfunction.aspx

Cheers!

Posted 23 July 08 12:01 by carloshm | 1 Comments   
Filed under ,
" InfoPath cannot open the selected form", after moving xsn to visual studio infopath project

Hi,

I received InfoPath cannot open the selected form, after migrating a form into Visual Studio and trying to debug the project (Preview Form).

I solved the problem, opening the xsf file and choosing to replace with the new version. The problem was related to the duplicate ID of the form.

If you reopen the project, it will work as expected.

Bye!

Posted 10 July 08 12:13 by carloshm | 1 Comments   
Filed under
The browser or gateway element with ID 'SKTDevicesSamSung' cannot be found

Hi,

You may face this error when registering Custom Control Adapters in your environment.

I did, and after AKS 2.0 I'm confident many will do.

The problem comes from the entries about InfraWare devices, at the compat.browser that it is copied when you provision a web application. They are copy from the original path:

%programfiles%\Common Files\Microsoft Shared\web server extensions\12\CONFIG

First solution is to change that compat.browser and execute stsadm -o copyappbincontent in order to update all webapplications (of course you can change the file at the webpplication, but it maybe overwritten).

But, what is this error about?, you can check that it is the parentID device at the compat.browser, and from the documentation:

Specifies the unique name of the parent browser definition from which to inherit settings. These settings can be overwritten in the current browser definition. The parent browser definition does not have to be in the same browser definition file, but it must be defined in the same application or in the %SystemRoot%\Microsoft.NET\Framework\version\CONFIG\Browsers directory. For example, the following definition for the WebTV browser is defined in the WebTV.browser file. The definition for the IE2 parent browser is defined in the IE.browser file in the same directory.

<browser id=" WebTV " parentID=" IE2 ">

But if you search for a SKTDevicesSamSung file it does not exist (our error description). So If you change the compat.browser itself or create a parentID file for it, you will fix the problem.

Is this a bug?

Bye!

Posted 28 April 08 06:42 by carloshm | 0 Comments   
Filed under , ,
Application Pages BreadCrumb and how world is connected

Hi,

Sometimes I wonder how different people get the same results with no communication between them. History has many examples: calculus, radio, ...so seems it is the other way round: we usually work at the same time trying to solved the same problems.

Working on my Search Extensions project, I saw that I should include a breadcrumb to my custom application pages, in order to optimize the navigation. As application.master includes a SPXmlContentMapProvider for those breadcrumb, I searched it in the web.config.

<asp:SiteMapPath SiteMapProvider="SPXmlContentMapProvider" id="ContentMap" SkipLinkText="" NodeStyle-CssClass="ms-sitemapdirectional" runat="server"/>

If you look there, you will find it (and many others):

    <siteMap defaultProvider="CurrentNavSiteMapProvider" enabled="true">
      <providers>
        <add name="SPXmlContentMapProvider" siteMapFile="_app_bin/layouts.sitemap" type="Microsoft.SharePoint.Navigation.SPXmlContentMapProvider, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
      </providers>
    </siteMap>
 

As you can see it is loading the XML from _app_bin folder. This is created when the webapplication is provisioned. So, after my CSSAdapter problem, I expected those files to be at

%programfiles%\Common Files\Microsoft Shared\web server extensions\12\CONFIG

As webconfig, browsers,commands and resources provisioning; sitemaps are no different. So if you add a new file named layouts.<whatever>.sitemap it will be included in any new web application.

For created web applications, there is a stsadm command that do the trick: stsadm -o copyappbincontent

But I wanted something more automated, and I found for it! and included in the OpenSearch Feature: ApplyApplicationContentToLocalServer is your friend

It is interesting that Jan Tielens blogged about it just 2 weeks ago!!

Cheers!

By the way, I didn't want to compare calculus and sharepoint :) and if you follow the links in common

Posted 28 April 08 05:15 by carloshm | 1 Comments   
Filed under , ,
Bool values are not indexed in MOSS

Hi,

Have you found some problems indexing boolean values from lists?

I realized that as Yes/No crawled properties are based on the VariantType 11, it will be parsed as a 0 or -1 value; however Yes/No columns in SharePoint are stored as 0 or 1 values.

You can check some information in my previous entry

Just drop a comment if you have this type of problem. Maybe a quick solution would be to change the VariantType for an integer type or to create a custom control field...or just query for the negative logic (!= False)

Cheers!

Posted 13 April 08 01:02 by carloshm | 1 Comments   
Filed under
Crawled properties Information

Hi,

I wanted to share with you some findings in the crawl properties space. 

At http://msdn2.microsoft.com/en-us/library/ms497276.aspx you can check that documentation says:

"Following are the default crawled property categories:

  • HTML
  • Lotus Notes
  • PDF
  • XML
  • Office
  • Exchange
  • People
  • Portal
  • SharePoint "

But If you checked them in an OOB deployment you will see that they are indeed:

  • Basic
  • Business Data 
  • Internal
  • Mail
  • Notes
  • Office
  • People
  • SharePoint
  • Tiff
  • Web
  • XML

You can edit the name of the category under: http://<SSP Server Name>/ssp/admin/_layouts/category.aspx?category=<Category Name>

but it is interesting to find that if you rename it, you will receive an error that the previous named category was not found until you browse the full list.

The common question, Can we create a new category? You can, for the sake of just have a new category use something like:

Schema schema = new Schema(SearchContext.GetContext(new SPSite("http://moss.litwareinc.com")));

schema.AllCategories.Create("Custom Category",new Guid());

Then you can populate Crawl properties with its methods: http://msdn2.microsoft.com/en-us/library/microsoft.office.server.search.administration.category_methods.aspx

If do so, you will have 5 different types to choose:

  • Text (VariantType, 31 [A pointer to a null-terminated Unicode string in the user default locale.])
  • Integer (VariantType, 20) [8-byte signed integer.]
  • Decimal (VariantType, 5) [64-bit IEEE floating point value.]
  • Date and Time (VariantType, 64) [64-bit FILETIME structure as defined by Win32. It is recommended that all times be stored in Universal Coordinate Time (UTC).]
  • Yes/No (VariantType, 11) [Boolean value, a WORD that contains 0 (FALSE) or -1 (TRUE).]

Actually, you can choose any available variant Types (http://msdn2.microsoft.com/en-us/library/aa380072.aspx) but the label will show up only the related type.

 Hasta Luego!

Posted 12 April 08 11:34 by carloshm | 1 Comments   
Filed under
WebDav - "The workstation driver is not installed"

Hi,

 Did you ever receive this message when trying to access WebDav - MOSS through command prompt?

Due to a bug in Windows Server 2003, you will need to restart WebClient redirector service and then start webclient service.

NET STOP MRXDAV

NET START WEBCLIENT

さようなら

[Resolved in Windows Server 2008]

Posted 07 April 08 12:55 by carloshm | 0 Comments   
Filed under
Invalid postback or callback argument

Have you ever find this message when editing a page in MOSS or making postback?

"Invalid postback or callback argument. Event validation is enabled
using <pages enableEventValidation="true"/> in configuration or <%@ Page
EnableEventValidation="true" %> in a page. For security purposes, this
feature verifies that arguments to postback or callback events originate
from the server control that originally rendered them.

 I did and I found that when designers made the page layout, they included a form tag inside it.

This form tag originated the problem.

 Bye!

Posted 24 March 08 11:36 by carloshm | 1 Comments   
Filed under
More Posts Next page »

Search

Go

This Blog

Syndication

Page view tracker