RE: Video and Image Upload, Resize and Convert

2012-05-01 Thread Brian Farnhill
I did a demo at a conference a year or two ago that used the document
converter framework to convert videos to JPG images (for a thumbnail) and
that used the expression encoder API's to do the grunt work. You could do
something similar to do conversions for you there (Expression will pretty
much only give you WMV or MP4 from memory, I didn't look too far in to it,
but you could really use anything else there) as the document converter
stuff gives you a nice scalable model for managing conversions and gives you
the ability to specify which servers are running the conversions for you
(which when you are doing video stuff is going to be insanely important). 

 

Bottom line is that whatever solution you come up with I would be doing my
best to keep the conversion grunt work away from the WFE's and document
converters give you that flexibility. 

 

Cheers,

 

Brian Farnhill
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill>
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/>
blog.brianfarnhill.com | xbox:
<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Ajay
Sent: Wednesday, 2 May 2012 11:43 AM
To: ozMOSS
Subject: Re: Video and Image Upload, Resize and Convert

 

There will be plenty of converters, not sure if some sharePoint specific is
there. In any case you can install component on server and call it from web
part or application page

 

As a thought, we used youtube for a Sharepoint project, where people upload
video and it goes to youtube, and we don't have storage or conversion
concerns

Though it may not be a good solution for large videos.

 

On Wed, May 2, 2012 at 11:47 AM, Iain Carlin  wrote:

Hello ozMOSSers,

Does anyone know of a component, web part etc. that can be integrated with
SharePoint 2010 to allow users to upload videos and images and have those
converted to a specific format before storing them in a library?

I'm aware that they can use tools locally for this, but I'm trying to find
something that the is simple for the simplest of users to cope with.

Cheers,

Iain Carlin

___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

 

___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Sort ListCollection using Enumerbale.OrderBy method

2012-03-14 Thread Brian Farnhill
Can you string them together on one line like this? (My LINQ stuff is a
little flaky off the top of my head - that's what I have ReSharper for most
of the time!)

.Include(l => l.Title . ).OrderByDecensding(l => l.ItemCount)

 

 

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill>
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/>
blog.brianfarnhill.com | xbox:
<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Paul Noone
Sent: Thursday, 15 March 2012 11:52 AM
To: 'ozMOSS'
Subject: RE: Sort ListCollection using Enumerbale.OrderBy method

 

Hi Brian,

Yes, that's doable but I still don't know how to combine the Include and
OrderByDescending methods in the same query?

Currently crashes when split across two lines.

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Brian Farnhill
Sent: Thursday, 15 March 2012 11:46 AM
To: 'ozMOSS'
Subject: RE: Sort ListCollection using Enumerbale.OrderBy method

 

Pretty sure you need to use OrderByDecending instead of just OrderBy in the
lambda LINQ statement there

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill>
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/>
blog.brianfarnhill.com | xbox:
<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Paul Noone
Sent: Thursday, 15 March 2012 11:43 AM
To: ozMOSS (ozmoss@ozmoss.com)
Subject: Sort ListCollection using Enumerbale.OrderBy method

 

I am trying to sort a list in DESCENDING order but cannot find an example of
how to do this.

The following obviously crashes the app. How can I get a sortby method into
my query??



 

<>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Sort ListCollection using Enumerbale.OrderBy method

2012-03-14 Thread Brian Farnhill
Pretty sure you need to use OrderByDecending instead of just OrderBy in the
lambda LINQ statement there

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill>
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/>
blog.brianfarnhill.com | xbox:
<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Paul Noone
Sent: Thursday, 15 March 2012 11:43 AM
To: ozMOSS (ozmoss@ozmoss.com)
Subject: Sort ListCollection using Enumerbale.OrderBy method

 

I am trying to sort a list in DESCENDING order but cannot find an example of
how to do this.

The following obviously crashes the app. How can I get a sortby method into
my query??



 

<>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Hidden Risk list fields reappearing

2012-03-08 Thread Brian Farnhill
I demo'ed something like this at Tech.Ed last year - we did it with a
receiver for when the sites are created I'm pretty sure (I have an
alarmingly short term memory sometimes). I don't have a good reason for why
the template won't work for you, but this is a work around. 

 

Anyway, if you wanna check it out, the source code for that demo is on
Skydrive

 

https://skydrive.live.com/redir.aspx?cid=9ccb265e529d567a
<https://skydrive.live.com/redir.aspx?cid=9ccb265e529d567a&resid=9CCB265E529
D567A!723&parid=9CCB265E529D567A!721>
&resid=9CCB265E529D567A!723&parid=9CCB265E529D567A!721 

 

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill>
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/>
blog.brianfarnhill.com | xbox:
<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Kirk Barrett
Sent: Thursday, 8 March 2012 6:36 PM
To: ozMOSS
Subject: Hidden Risk list fields reappearing

 

Hi All,

I have a baffling SharePoint/Project Server 2010 issue that I thought maybe
th OzMOSS brains trust might be able to help me with.

 

I am working on customising  the Risks list in a standard project server
project site. At the moment the customisation involves hiding a few fields
we don't wish to use, renaming a couple of fields and changing the order.
Once this is done we save the site as a template and associate it with a
project type in Project Server.

 

The problem I'm encountering is that when a site is created (both manually
and as part of creating a new project in Project Server) from the customised
site template all of the hidden fields are now visible and the reordering is
lost. The field renaming is still in place though.

 

I've been scratching my head on this one on and off for a couple of days
with no joy. Anyone have any ideas?

 

Thanks in advance,

 

 

Kirk.

___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Debug list item receiver event

2012-03-07 Thread Brian Farnhill
What are you trying to do in that AutoAssign method - at the moment it looks
like you are looping over the whole list and setting the Assigned To field
of the current item to what is the last item in that loop?

That aside though, have you been able to attach Visual Studio and step
through to see if your code is being hit at all or what line is failing? Got
anything more detailed in the ULS? (That error can show up if you have
registered the handler incorrectly and it can't find it, there is usually
more detailed info in the ULS to highlight this though)

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill>
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/>
blog.brianfarnhill.com | xbox:
<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Paul Noone
Sent: Thursday, 8 March 2012 3:27 PM
To: ozMOSS (ozmoss@ozmoss.com)
Subject: Debug list item receiver event

 

Hi all,

I have a pretty simple event receiver that is failing on ItemAdding with
Event ID 6875 "Error loading and running event receiver".

I just want to update a field (BugAssignedTo) based on the value supplied in
another (Primary Contact).

public override void ItemAdding(SPItemEventProperties properties)

   {

   base.ItemAdding(properties);

   

   try {

   this.EventFiringEnabled = false; 

   AutoAssign(properties); 

   }

   catch (ArgumentException ex)

   {

 

   SPDiagnosticsService.Local.WriteTrace(0, new
SPDiagnosticsCategory("CEO", TraceSeverity.Unexpected, EventSeverity.Error),
TraceSeverity.Unexpected, ex.Message, ex.StackTrace);

   throw new SPException("Oops! Something went horribly
wrong.");

   } 

   finally 

   { 

   this.EventFiringEnabled = true; 

   }

   }

 

// Auto populate the BugAssignedTo field with Primary Contact

   private static void AutoAssign(SPItemEventProperties properties)

   {

   SPList bugsList = properties.Web.GetList("Lists/bugtracker");

   foreach (SPListItem item in bugsList.Items)

   {

   string contact = item["Primary Contact"].ToString();

   if (contact.Contains(";#"))

   {

   contact = contact.Split('#')[1];

   }

   properties.AfterProperties["BugAssignedTo"] = contact;

   break;

   }

   }

 

 

Kind regards,

Paul Noone

 

---
Online Developer/SharePoint Administrator

Infrastructure Team, ICT
Catholic Education Office, Sydney
p: (02) 9568 8461

f: (02) 9568 8483
e:  <mailto:paul.no...@ceosyd.catholic.edu.au>
paul.no...@ceosyd.catholic.edu.au
w:  <http://www.ceosyd.catholic.edu.au/> http://www.ceosyd.catholic.edu.au/

 

___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Remove list item receivers on feature deactivate

2012-03-07 Thread Brian Farnhill
Why are you doing it through code? If you add the receiver declaratively
through the feature elements XML file then you can just turn the feature off
and out they come.

If you need to do it by code, you're pretty much at the best way to do it -
there's no way to look up the receiver by it's assembly name or class. There
is a loaded option on the array to look a receiver up by its guid - so if
you are hardcoding the Guid in to your code you can look it up by that and
pull it back out based on that. Or if you don't want to hardcode the guid
you could generate one when the feature is activated and then shove it in
the property bag or something so you know specifically which one to pull out
when it gets turned off though (I would probably just hard code it though -
what are the odds that someone else will have the exact same guid there
right? :-P)

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill>
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/>
blog.brianfarnhill.com | xbox:
<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Paul Noone
Sent: Thursday, 8 March 2012 11:42 AM
To: ozMOSS (ozmoss@ozmoss.com)
Subject: Remove list item receivers on feature deactivate

 

What is the best way to achieve this?

 

I'm using the following but it seems very clunky!

// Clean up the list item event receiver

SPList objList = lists["Project Issues Register"];

 

// Get the event receiver collection

SPEventReceiverDefinitionCollection erc = objList.EventReceivers;

SPEventReceiverDefinition er = null;

 

for (int i = 0; i < erc.Count; i++)

{

er = erc[i];

if (er.Assembly == "ReceiversAndWPs" && er.Class == "BugListItemEvent")

{

er.Delete();

objList.Update();

break;

}

}

___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: How to find Unused Page Layouts In Public facing site.

2012-03-05 Thread Brian Farnhill
Without writing all the code for you, you want to do something like this:

 

using(var site = new SPSite("http://yoursite";))

{

foreach(var web in site.Webs)

{

try

{

foreach (SPListItem item in 
web.Lists["Pages"])

{


Console.WriteLine(string.Format("URL: {0} Layout: {1}", 
item.File.SiteRelativeUrl, item["PublishingPageLayout"]);

}

}

catch(Exception ex)

{

//Handle errors in here before 
the web is closed

}

finally

{

web.Dispose();

}

}

}

 

So things you need to know about this:

1)  The value output for the layout option is going to be formatted as per 
my previous email, so you will want to substring it to get only the useful part

2)  Outputing to a console is not a great idea – perhaps drop it in to a 
datatable and then save that somewhere (google around and you will find 
something to save a DataTable as a CSV which you can then open in Excel and do 
stuff with). Whatever suits your needs here though will be fine

3)  All the usual disclaimers of “I just wrote this in an email so it might 
not even compile” etc. etc. apply – pretty sure those are all the right 
property names there but I might have been a little off on some of them.

4)  I’m not doing anything to check that the Pages list exists before I go 
looking for it, so either do a check there or handle the exception in that 
catch block accordingly

 

Hope that helps

 

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill> 
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/> blog.brianfarnhill.com 
| xbox:  <http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> 
Modern Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
vijaykumar raavi
Sent: Tuesday, 6 March 2012 6:17 AM
To: ozMOSS
Subject: Re: How to find Unused Page Layouts In Public facing site.

 

Hi Braian,
I have Created a Console Application to get get all Pages with it associated 
page layouts (but i could not get what i want)

Code:

using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Publishing;

namespace pgLayout_Unused
{
class Program
{
static void Main(string[] args)
{
using (SPSite site=new SPSite("http://dev:1001";))
{
using (SPWeb web=site.OpenWeb())
{
PublishingSite ps = new PublishingSite(site);
PageLayoutCollection pageColl = ps.PageLayouts;
foreach (PageLayout layout in pageColl)
{
SPFile currentFile = 
web.GetFile(layout.ServerRelativeUrl);
Console.WriteLine("{0}...{1}",layout.Name,site.Url);
}
}
}
}
}
}

--> Here i am getting all the Page layouts available(which is of no use to my 
requirement).
--> I want to get each page url and the page layout used for it., 
--> I am not getting each page in the SiteCollection with its associated 
pagelayout.

Please help me!

Thanks in advance..



On Mon, Mar 5, 2012 at 4:03 AM, Paul Noone  
wrote:

Vijay, you can create a custom Content and Structure Report to get all pages 
using (or not using) a certain publishing layout.
But at the end of the day, does it really matter? Just restrict the site 
collection layouts to the ones you want to keep in use.

-Original Message-
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Brian Farnhill
Sent: Sunday, 4 March 2012 5:16 AM
To: 'ozMOSS'
Subject: RE: How to find Unused Page Layouts In Public facing site.

Can you give us some more info about what didn't work with the approach I gave 
you? You getting specific errors? What exactly didn't work

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter: @BrianFarnhill | blog: blog.brianfarnhill.com | 
xbox: Modern Bogan


-Original Message-
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
vijaykumar raavi
Sent: Saturday, 3 March 2012 9:28 AM
To: ozMOSS

RE: How to find Unused Page Layouts In Public facing site.

2012-03-03 Thread Brian Farnhill
Can you give us some more info about what didn't work with the approach I gave 
you? You getting specific errors? What exactly didn't work

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter: @BrianFarnhill | blog: blog.brianfarnhill.com | 
xbox: Modern Bogan


-Original Message-
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
vijaykumar raavi
Sent: Saturday, 3 March 2012 9:28 AM
To: ozMOSS
Subject: Re: How to find Unused Page Layouts In Public facing site.

Thanks Brian,
This idea helped me very much.
I could get all the Page Layouts in my SiteCollection , As there are 324 Page 
Layouts in my site collection, I was unable to retrieve Currently unused Page 
Layouts. I am trying to this since last 2 days. I was not able to solve it.
Can any one help me!

Thanks in advance.



On Fri, Mar 2, 2012 at 4:31 AM, Brian Farnhill wrote:

>  There are metadata properties on each page list item that specify the 
> content type called "PublishingPageLayout" that you should be able to 
> interrogate to get the page layout. It's usually formatted like this:
>
> "~SiteCollection/_catalogs/masterpage/MyPageLayout.aspx, My Page 
> Layout Name"
>
> So the first part being the relative path to the page layout, and the 
> second part being the name of the layout (although that's less import 
> as it can really be anything, especially if it was provisioned in a 
> feature and the developer set the text to something else). You could 
> iterate over all your pages and build a list of page layouts in use 
> and then compare that to the list of available page layouts and go from there.
>
> *Brian Farnhill*
> *Solutions Architect, Extelligent Design | SharePoint Server MVP*
> phone: 0408 289 303 | twitter: 
> @BrianFarnhill<http://twitter.com/BrianFarnhill>| blog:
> blog.brianfarnhill.com | xbox: Modern 
> Bogan<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Boga
> n>
>
> --
> Date: Thu, 1 Mar 2012 23:35:35 +0530
> Subject: How to find Unused Page Layouts In Public facing site.
> From: vijaykumar@gmail.com
> To: ozmoss@ozmoss.com
>
>
> Hi all,
> I am migrating MOSS 2007 32-bit to MOSS 2007 64-bit.
> There are many page layouts in my project which are not in use, Is the 
> any way to find all page layouts that is not used by any site.
> I tried using Object model, I was unable to retrieve them, Can any one 
> help me!
>
> Thanks in advance..
>
> --
> Regards,
> *☛ VIJAYKUMAR*
> <https://www.mcpvirtualbusinesscard.com/VBCServer/vijaymoss/interactiv
> ecard>
>
>
> ___ ozmoss mailing list 
> ozmoss@ozmoss.com 
> http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
>
> ___
> ozmoss mailing list
> ozmoss@ozmoss.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
>
>


--
Thanks & Regards,
*☛ VIJAYKUMAR*
*
*

___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: How to find Unused Page Layouts In Public facing site.

2012-03-01 Thread Brian Farnhill

There are metadata properties on each page list item that specify the content 
type called "PublishingPageLayout" that you should be able to interrogate to 
get the page layout. It's usually formatted like this: 
"~SiteCollection/_catalogs/masterpage/MyPageLayout.aspx, My Page Layout Name"
So the first part being the relative path to the page layout, and the second 
part being the name of the layout (although that's less import as it can really 
be anything, especially if it was provisioned in a feature and the developer 
set the text to something else). You could iterate over all your pages and 
build a list of page layouts in use and then compare that to the list of 
available page layouts and go from there.



Brian
Farnhill

Solutions
Architect, Extelligent Design | SharePoint Server MVP

phone:
0408 289 303 | twitter: @BrianFarnhill | blog: blog.brianfarnhill.com | xbox: 
Modern Bogan
 Date: Thu, 1 Mar 2012 23:35:35 +0530
Subject: How to find Unused Page Layouts In Public facing site.
From: vijaykumar@gmail.com
To: ozmoss@ozmoss.com

Hi all,I am migrating MOSS 2007 32-bit to MOSS 2007 64-bit.There are many page 
layouts in my project which are not in use, Is the any way to find all page 
layouts that is not used by any site.I tried using Object model, I was unable 
to retrieve them,
Can any one help me!
Thanks in advance..
-- 
Regards,
☛ VIJAYKUMAR







___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss   
  ___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: At your Disposal

2012-02-22 Thread Brian Farnhill
No it doesn't - you need to dispose of stuff you create yourself. The only
exception that that is when you create an SPSite yourself you can get the
RootWeb property without having to dispose of it, but anything that comes
from OpenWeb will need to be disposed of. SPDisposeCheck does a good job at
picking all that sort of stuff up.

 

As for the context - yes if your web part will only be dealing with objects
in the current context (eg. Both site and current user) then by all means
use it. You can at least grab the SPSite from context and then open up webs
within the site collection and then that's one less thing to dispose of. 

 

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill>
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/>
blog.brianfarnhill.com | xbox:
<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Paul Noone
Sent: Thursday, 23 February 2012 10:50 AM
To: 'ozMOSS'
Subject: RE: At your Disposal

 

But surely disposing of the site via the using statement would include any
sub webs??

 

And why not just use SPContext to get the web anyway? I keep trying to find
best practice code examples to learn from and just wind up more confounded
than when I started.

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Joseph Clark
Sent: Thursday, 23 February 2012 10:47 AM
To: ozMOSS
Subject: Re: At your Disposal

 

The using block only automatically disposes variables that are declared
within the initial parentheses (in this case the oSiteCollection object).

The oWebsite object is constructed within the main body of the using block,
so it won't get automatically cleaned up. 

Arguably, the demo code isn't well written, since the oWebsite variable
should be declared with a using statement as well, to avoid this kind of
confusion.

For the record, calling dispose multiple times on the same object is safe
(provided the developer wrote the dispose method correctly, which you can
probably assume is true for all objects in the SharePoint API)



On Thu, Feb 23, 2012 at 10:26 AM, Paul Noone
 wrote:

Hi all, I continue to be confused by the continually conflicting example
code I find regarding site/web disposal.

It's been my understanding that using is self-disposing. But the example
below includes a dispose call within the using statement. Is this correct?

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfolder.welcom
epage.aspx

using (SPSite oSiteCollection = new
SPSite("http://MyServer/sites/MyWikiSite";))

{

SPWeb oWebsite = oSiteCollection.OpenWeb();

SPFolder oFolder = oWebsite.RootFolder; 

oFolder.WelcomePage = "My Wiki Library/MyWelcome.aspx";

oFolder.Update();

oWebsite.Dispose();

}


Description: NoteNote


Certain objects implement the IDisposable interface, and you must avoid
retaining these objects in memory after they are no longer needed. For
information about good coding practices, see Disposing Objects
<http://msdn.microsoft.com/en-us/library/ee557362.aspx> .

 

Kind regards,

Paul Noone

 

---
Online Developer/SharePoint Administrator

Infrastructure Team, ICT
Catholic Education Office, Sydney
p: (02) 9568 8461

f: (02) 9568 8483
e:  <mailto:paul.no...@ceosyd.catholic.edu.au>
paul.no...@ceosyd.catholic.edu.au
w:  <http://www.ceosyd.catholic.edu.au/> http://www.ceosyd.catholic.edu.au/

 


___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

 

<>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: At your Disposal

2012-02-22 Thread Brian Farnhill
You can call dispose yourself and I'm fairly certain doing so is harmless,
but in the case of putting it within the using statement it is entirely
redundant. 

IDisposable is what implements that dispose method, so the end of the using
statement literally just calls that dispose method for you. In fact if you
don't want to use a using statement you can just call dispose yourself and
have exactly the same effect when the code is compiled.

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill>
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/>
blog.brianfarnhill.com | xbox:
<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Paul Noone
Sent: Thursday, 23 February 2012 10:26 AM
To: ozMOSS (ozmoss@ozmoss.com)
Subject: At your Disposal

 

Hi all, I continue to be confused by the continually conflicting example
code I find regarding site/web disposal.

It's been my understanding that using is self-disposing. But the example
below includes a dispose call within the using statement. Is this correct?

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfolder.welcom
epage.aspx

using (SPSite oSiteCollection = new
SPSite("http://MyServer/sites/MyWikiSite";))

{

SPWeb oWebsite = oSiteCollection.OpenWeb();

SPFolder oFolder = oWebsite.RootFolder; 

oFolder.WelcomePage = "My Wiki Library/MyWelcome.aspx";

oFolder.Update();

oWebsite.Dispose();

}


Description: NoteNote


Certain objects implement the IDisposable interface, and you must avoid
retaining these objects in memory after they are no longer needed. For
information about good coding practices, see Disposing Objects
<http://msdn.microsoft.com/en-us/library/ee557362.aspx> .

 

Kind regards,

Paul Noone

 

---
Online Developer/SharePoint Administrator

Infrastructure Team, ICT
Catholic Education Office, Sydney
p: (02) 9568 8461

f: (02) 9568 8483
e:  <mailto:paul.no...@ceosyd.catholic.edu.au>
paul.no...@ceosyd.catholic.edu.au
w:  <http://www.ceosyd.catholic.edu.au/> http://www.ceosyd.catholic.edu.au/

 

<>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Auto-update webpart property when object renamed

2012-02-05 Thread Brian Farnhill
Just noticed you can also drop the line with the private _listId variable
too because I used the declarative getter/setter for that one, no need for
the private property in that case

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill>
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/>
blog.brianfarnhill.com | xbox:
<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Paul Noone
Sent: Monday, 6 February 2012 1:59 PM
To: 'ozMOSS'
Subject: RE: Auto-update webpart property when object renamed

 

Beautiful. Thanks again.

Yes on the error-checking. J

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Brian Farnhill
Sent: Monday, 6 February 2012 1:56 PM
To: 'ozMOSS'
Subject: RE: Auto-update webpart property when object renamed

 

Of the top of my head, it should look something like this (I just bashed
this out in notepad, so you might need to tidy up any syntax errors and/or
typos)

[WebPartStorage(Storage.Shared)
FriendlyName("The list name"),
Category("Binding"),
Browsable(true)]
public string ListName {
 get
 {
   var list = SPContext.Current.Web.Lists[ListId];
   return list.Title;
 }
 set
 {
   var list = SPContext.Current.Web.Lists[value];
   ListId = list.ID;
 }
}

[WebPartStorage(Storage.Shared),
Browsable(false)]
public Guid ListId { get; set; }
private Guid _listId;

I would be putting some error handling around the getter and setter on list
name (what happens when ListID hasn't been set yet, what if they type in a
list name that doesn't exist, that sort of thing) but that is the basic idea
of how you could do it. Just refer to the list you need as
SPContext.Current.Web.Lists[ListId] and you should be fine.

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill>
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/>
blog.brianfarnhill.com | xbox:
<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Paul Noone
Sent: Monday, 6 February 2012 1:45 PM
To: 'ozMOSS'
Subject: RE: Auto-update webpart property when object renamed

 

Hi Brian,

OK. I think I'm half way there. I've added a new private string for listID
and a new property for ListID. I've attempted to modify the get/set part of
the ListName property as you suggested but not sure if I'm on the right
track.

Any assistance is greatly appreciated! J 

private string listID;

[WebPartStorage(Storage.Shared),

FriendlyName("The list name"),

Category("Binding"),

Browsable(false)]

public string ListName {

get

{

using (SPWeb web = SPContext.Current.Site.OpenWeb(WebId))

{

foreach (SPList list in SPContext.Current.Web.Lists)

{

listName = web.Lists[listID].Title.ToString();

}

}

return listName;

}

set

{

listName = value;

using (SPWeb web = SPContext.Current.Site.OpenWeb(WebId))

{

foreach (SPList list in SPContext.Current.Web.Lists)

{

listID = web.Lists[listName].ID.ToString();

}

}

}

}

 

[WebPartStorage(Storage.Shared),

FriendlyName("The list ID"),

Category("Hidden"),

Browsable(false)]

public string ListID

{

get { return listID; }

set { listID = value; }

}

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Brian Farnhill
Sent: Monday, 6 February 2012 12:02 PM
To: 'ozMOSS'
Subject: RE: Auto-update webpart property when object renamed

 

The best way to go about this is to store the list ID for the list you need
to access. Have the setter property for ListName store the GUID into a
hidden property (still a public property, but without the web editable
attribute) so that the user still just chooses a list name, and then change
the getter for the property to look up the list name and return the string.
Then you can rename the lists in the UI as much as you like, but because you
are only ever working with the ID for it internally things shouldn't break

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill>
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/>
blog.brianfarnhill.com | xbox:
<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun

RE: Auto-update webpart property when object renamed

2012-02-05 Thread Brian Farnhill
Of the top of my head, it should look something like this (I just bashed
this out in notepad, so you might need to tidy up any syntax errors and/or
typos)

[WebPartStorage(Storage.Shared)
FriendlyName("The list name"),
Category("Binding"),
Browsable(true)]
public string ListName {
 get
 {
   var list = SPContext.Current.Web.Lists[ListId];
   return list.Title;
 }
 set
 {
   var list = SPContext.Current.Web.Lists[value];
   ListId = list.ID;
 }
}

[WebPartStorage(Storage.Shared),
Browsable(false)]
public Guid ListId { get; set; }
private Guid _listId;

I would be putting some error handling around the getter and setter on list
name (what happens when ListID hasn't been set yet, what if they type in a
list name that doesn't exist, that sort of thing) but that is the basic idea
of how you could do it. Just refer to the list you need as
SPContext.Current.Web.Lists[ListId] and you should be fine.

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill>
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/>
blog.brianfarnhill.com | xbox:
<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Paul Noone
Sent: Monday, 6 February 2012 1:45 PM
To: 'ozMOSS'
Subject: RE: Auto-update webpart property when object renamed

 

Hi Brian,

OK. I think I'm half way there. I've added a new private string for listID
and a new property for ListID. I've attempted to modify the get/set part of
the ListName property as you suggested but not sure if I'm on the right
track.

Any assistance is greatly appreciated! J 

private string listID;

[WebPartStorage(Storage.Shared),

FriendlyName("The list name"),

Category("Binding"),

Browsable(false)]

public string ListName {

get

{

using (SPWeb web = SPContext.Current.Site.OpenWeb(WebId))

{

foreach (SPList list in SPContext.Current.Web.Lists)

{

listName = web.Lists[listID].Title.ToString();

}

}

return listName;

}

set

{

listName = value;

using (SPWeb web = SPContext.Current.Site.OpenWeb(WebId))

{

foreach (SPList list in SPContext.Current.Web.Lists)

{

listID = web.Lists[listName].ID.ToString();

}

}

}

}

 

[WebPartStorage(Storage.Shared),

FriendlyName("The list ID"),

Category("Hidden"),

Browsable(false)]

public string ListID

{

get { return listID; }

set { listID = value; }

}

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Brian Farnhill
Sent: Monday, 6 February 2012 12:02 PM
To: 'ozMOSS'
Subject: RE: Auto-update webpart property when object renamed

 

The best way to go about this is to store the list ID for the list you need
to access. Have the setter property for ListName store the GUID into a
hidden property (still a public property, but without the web editable
attribute) so that the user still just chooses a list name, and then change
the getter for the property to look up the list name and return the string.
Then you can rename the lists in the UI as much as you like, but because you
are only ever working with the ID for it internally things shouldn't break

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill>
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/>
blog.brianfarnhill.com | xbox:
<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Paul Noone
Sent: Monday, 6 February 2012 11:58 AM
To: ozMOSS (ozmoss@ozmoss.com)
Subject: Auto-update webpart property when object renamed

 

Hi all,

Is there a way to auto-update wp properties (such as list name) when the
object is renamed? I know SharePoint manages to do this with Summary Links
wp and the PageContent placeholder.

Kind regards,

Paul

 

___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Auto-update webpart property when object renamed

2012-02-05 Thread Brian Farnhill
The best way to go about this is to store the list ID for the list you need
to access. Have the setter property for ListName store the GUID into a
hidden property (still a public property, but without the web editable
attribute) so that the user still just chooses a list name, and then change
the getter for the property to look up the list name and return the string.
Then you can rename the lists in the UI as much as you like, but because you
are only ever working with the ID for it internally things shouldn't break

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill>
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/>
blog.brianfarnhill.com | xbox:
<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Paul Noone
Sent: Monday, 6 February 2012 11:58 AM
To: ozMOSS (ozmoss@ozmoss.com)
Subject: Auto-update webpart property when object renamed

 

Hi all,

Is there a way to auto-update wp properties (such as list name) when the
object is renamed? I know SharePoint manages to do this with Summary Links
wp and the PageContent placeholder.

Kind regards,

Paul

 

___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Urgent help - Search scopes sharepoint 2010

2012-01-16 Thread Brian Farnhill
Search will pick up whatever is accessible by the content access account
(either the default one for the search service app being used, or one
specified through a crawl rule). Search crawl accounts will usually get a
read only policy applied at the web application level which will allow it to
read published and approved content (so they won't see drafts or minor
versions unless the crawl account was given specific permissions to see
minor versions, but that would be very unusual to do and isn't default
behaviour).

 

It's important to remember that all the search crawler does is access the
site via HTTP calls, it doesn't go directly to the database or do anything
voodoo related to get to your content - it just does some additional calls
to get SharePoint specific metadata and item structure, but it's all crawled
via HTTP - so you can log on to the box that is doing the crawling and open
your site then log in as the content access account - whatever you see as
this user will be what gets indexed. This can be useful to test what should
be getting crawled if you are having trouble figuring out why things are or
aren't being indexed.

 

Then from there it's just the rules of your scope that will affect how they
work, so just make sure that the version the crawl account can see is what
you expect to see and that your rules are fine, and that should help you
figure it out.

 

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill>
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/>
blog.brianfarnhill.com | xbox:
<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Peter Milliner
Sent: Tuesday, 17 January 2012 12:55 PM
To: ozMOSS
Subject: RE: Urgent help - Search scopes sharepoint 2010

 

So it doesn't pick up the last major version published?

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Ishai Sagi
Sent: Tuesday, 17 January 2012 11:57 AM
To: ozMOSS
Subject: RE: Urgent help - Search scopes sharepoint 2010

 

Peter,

This reads as an expected behaviour unless I missed something? Search should
only pick up major versions.

 

 

Description: Description: Description: C:\Users\Brian\Pictures\EXD
Logos\Extelligent logo no text.jpgIshai Sagi | Solutions Architect 
0488 789 786 |  <mailto:is...@exd.com.au> is...@exd.com.au |
<http://www.sharepoint-tips.com/> www.sharepoint-tips.com |
<http://twitter.com/ishaisagi> @ishaisagi  

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Peter Milliner
Sent: Tuesday, 17 January 2012 11:23 AM
To: ozMOSS
Subject: Urgent help - Search scopes sharepoint 2010

 

Hello all,

 

We have an authoring environment and have updated about 100 pages but they
are still minor versions (are checked in).

 

We have content deployment running at 3am.  We also have scopes set up to
include only pages with certain content types.

 

The problem is that the scopes on both our authoring and website have
updated and seem to have not included all the pages we have updated.  The
pages (last major version) are still on the web site but are displaying in
our search which uses scopes.

 

Urgent advice appreciated.

 

Regards

Peter Milliner

SharePoint (BRITNET)

Projects

Bendigo TAFE

PO Box 170, Bendigo Victoria 3552

T +61 3 5434 1510

W www.bendigotafe.edu.au  

CRICOS Provider No: 03059A

 

<><>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Page layouts

2012-01-09 Thread Brian Farnhill
They don't use a page layout as such, they are all custom ASPX pages that
sit in the 14 hive, and from memory they will grab a different site map
provider to the default one that is used in the page layouts in SharePoint
(They use SPSiteMapProvider and I'm pretty sure that page layouts use the
CurrentNavigation one). Also they use different properties on the
ListSiteMapPath control to generate that cascading offset as well. 

 

You should be able to get around this in your master page by hiding the
PlaceHolderBreadcrumb placeholder and just putting a constant set of HTML
and controls in to the master page that you want to be used everywhere,
because all the system pages just override that placeholder to do the
content their way. Pretty sure there isn't ever anything else important that
will get missed by hiding that place holder, but as always test your site
after the change to be sure.

 

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter:  <http://twitter.com/BrianFarnhill>
@BrianFarnhill | blog:  <http://blog.brianfarnhill.com/>
blog.brianfarnhill.com | xbox:
<http://live.xbox.com/en-AU/MyXbox/Profile?Gamertag=Modern%20Bogan> Modern
Bogan

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Nigel Hertz
Sent: Tuesday, 10 January 2012 11:53 AM
To: ozMOSS
Subject: Page layouts

 

Hey all

 

This should hopefully be an easy one. Does anyone know what page layout is
used for system pages? (i.e. View all site content) For some reason, the
breadcrumbs on system pages are messed up. 

 

Incorrect:

 

 



 

Correct:

 



 

  _  

Stockland Notice: If this communication has been sent to you by mistake,
please delete and notify us. If it has been sent to you by mistake, legal
privilege is not waived or lost and you are not entitled to use it in any
way. Stockland and its subsidiaries reserve the right to monitor e-mail
communication through its networks.

<><>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: sharepoint search server express 2010

2011-06-13 Thread Brian Farnhill
I believe you can still separate SQL, the limitation is around having only a 
single application server. Check out this document on TechNet for more info on 
the differences and choosing between the full and express versions of Search 
Server

http://technet.microsoft.com/en-us/library/ee808898.aspx

[cid:image001.png@01CC2A85.A6F96180]

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter: @BrianFarnhill<http://twitter.com/BrianFarnhill> 
| blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | xbox: Noble 
Downfall<http://live.xbox.com/en-AU/MyXbox/Profile?gamertag=Noble+Downfall>



From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Chris Grist
Sent: Tuesday, 14 June 2011 11:16 AM
To: 'ozMOSS'
Subject: RE: sharepoint search server express 2010

Brilliant thanks Brian,

I guess I won't need it then, as there will be a Standard or Enterprise farm 
also in the environment.

When you say single server, do you mean that it would have local sql as well or 
can this be separate?

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Brian Farnhill
Sent: Tuesday, 14 June 2011 10:33 AM
To: ozMOSS
Subject: RE: sharepoint search server express 2010

There are a few differences between the two, the biggest of which that I know 
about is that Search Server Express can only be deployed to a single server, so 
you lose the ability to add redundancy or scale. If you want the best of both 
worlds, set up search server on its own box and configure it to crawl your 
Foundation farm (which can be running as many servers as you need) as an 
external site. Then you can just direct users to the search site collection on 
the search server to do search, everything stays in the main farm.

[cid:image006.png@01CC2A85.7918FF00]

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter: @BrianFarnhill<http://twitter.com/BrianFarnhill> 
| blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | xbox: Noble 
Downfall<http://live.xbox.com/en-AU/MyXbox/Profile?gamertag=Noble+Downfall>



From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Chris Grist
Sent: Tuesday, 14 June 2011 10:57 AM
To: ozMOSS
Subject: sharepoint search server express 2010

Hi Guys,

What would be the downside of choosing this over foundation?

As far as I can tell it is foundation w/ a search service application?

Regards,
Chris Grist
MCITP, MCTS, VCP

Senior Technical Consultant
[cid:image007.gif@01CC2A85.7918FF00]

Ground Floor
175 Fullarton Rd
Dulwich SA 5065

Tel (08) 8304 
Fax (08) 8364 2910
[cid:image008.gif@01CC2A85.7918FF00]
NOTE: This email and any files transmitted with it are confidential and may 
contain information intended only for the addressee(s). If you have received 
this communication in error, you must not copy or distribute any part of it or 
otherwise disclose its contents to anyone - please notify Loftus IT 
immediately. Loftus IT does not accept liability for any errors or omissions in 
the information provided herein. No representation is made that email and any 
files transmitted with it are virus-free - virus scanning is the responsibility 
of the recipient and is recommended.

<><><><>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: sharepoint search server express 2010

2011-06-13 Thread Brian Farnhill
There are a few differences between the two, the biggest of which that I know 
about is that Search Server Express can only be deployed to a single server, so 
you lose the ability to add redundancy or scale. If you want the best of both 
worlds, set up search server on its own box and configure it to crawl your 
Foundation farm (which can be running as many servers as you need) as an 
external site. Then you can just direct users to the search site collection on 
the search server to do search, everything stays in the main farm.

[cid:image003.png@01CC2A82.994E6AB0]

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter: @BrianFarnhill<http://twitter.com/BrianFarnhill> 
| blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | xbox: Noble 
Downfall<http://live.xbox.com/en-AU/MyXbox/Profile?gamertag=Noble+Downfall>



From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Chris Grist
Sent: Tuesday, 14 June 2011 10:57 AM
To: ozMOSS
Subject: sharepoint search server express 2010

Hi Guys,

What would be the downside of choosing this over foundation?

As far as I can tell it is foundation w/ a search service application?

Regards,
Chris Grist
MCITP, MCTS, VCP

Senior Technical Consultant
[cid:image004.gif@01CC2A82.994E6AB0]

Ground Floor
175 Fullarton Rd
Dulwich SA 5065

Tel (08) 8304 
Fax (08) 8364 2910
[cid:image005.gif@01CC2A82.994E6AB0]
NOTE: This email and any files transmitted with it are confidential and may 
contain information intended only for the addressee(s). If you have received 
this communication in error, you must not copy or distribute any part of it or 
otherwise disclose its contents to anyone - please notify Loftus IT 
immediately. Loftus IT does not accept liability for any errors or omissions in 
the information provided herein. No representation is made that email and any 
files transmitted with it are virus-free - virus scanning is the responsibility 
of the recipient and is recommended.

<><><>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: SharePoint 2010 - designer settings

2011-05-01 Thread Brian Farnhill
I don't believe so - SPD2010 won't install where there are any components of 
Office 2007 kicking around, but if you installed the 2010 stuff first you might 
be able to install 2007 afterwards maybe? Worth a try

[cid:image002.png@01CC08BD.8708BE00]

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter: @BrianFarnhill<http://twitter.com/BrianFarnhill> 
| blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | xbox: Noble 
Downfall<http://live.xbox.com/en-AU/MyXbox/Profile?gamertag=Noble+Downfall>



From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Monday, 2 May 2011 11:34 AM
To: ozMOSS
Subject: RE: SharePoint 2010 - designer settings

Cr@p. Can I install both versions on the same box?


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Chris Walsh
Sent: Monday, 2 May 2011 11:32 AM
To: ozMOSS
Subject: RE: SharePoint 2010 - designer settings

You can't open SP2010 in SPD2007.

You need to get SharePoint Designer 2010.


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Monday, 2 May 2011 11:30 AM
To: ozMOSS
Subject: SharePoint 2010 - designer settings

I'm getting the following dialog when trying to open a site in SPD.

[cid:image003.jpg@01CC08BD.8708BE00]

I am site collection admin and also in the Owners and Designers group. I have 
enabled all SPD settings for the site. Is there something else I need to do??

NB: I'm trying to open the 2010 site in SPD 2007 and do not have access to 
Central Admin.

Kind regards,

Paul Noone

---
Online Developer/SharePoint Administrator
Infrastructure Team, ICT
Catholic Education Office, Sydney
p: (02) 9568 8461
f: (02) 9568 8483
e: paul.no...@ceosyd.catholic.edu.au<mailto:paul.no...@ceosyd.catholic.edu.au>
w: http://www.ceosyd.catholic.edu.au/

<><>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Load data from XML file to SharePoint library as metadata

2011-05-01 Thread Brian Farnhill
Reading XML is incredibly basic, you start by reading the file in like this:

$config = [xml](get-content $path)

Then from there you can refer to the $config variable like it was actually a 
strongly typed object. For example, say I wanted to read through all of the 
appSettings from a web.config file, I would go into a loop like this:

foreach ($addNode in $config.configuration.appsettings.add) { }

So here I have the configuration tag, which has an appsettings tag, and then 
multiple add tags within that. The same process applied for properties of tags 
as well, PowerShell figures out what you are trying to get to and does a pretty 
good job of it I've found.

Once you have all the data from the XML though, it's just a matter of pulling 
out the SharePoint API through PowerShell, so something like this might help:

$web = Get-SPWeb http://YourUrlHere
$list = $web.Lists.get_Item("List name")

Then the $list object is just an SPList, so you can call to add items to it the 
same as you would through the object model.


[cid:image002.png@01CC08BC.54384730]

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter: @BrianFarnhill<http://twitter.com/BrianFarnhill> 
| blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | xbox: Noble 
Downfall<http://live.xbox.com/en-AU/MyXbox/Profile?gamertag=Noble+Downfall>



From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Monday, 2 May 2011 11:19 AM
To: ozMOSS
Subject: RE: Load data from XML file to SharePoint library as metadata

Hi Brian,

Do you have any examples?

I'd like to do the same thing. We have an XML doc which I want to use as the 
"source of truth" to populate several list copies in different sites.

I was looking at a web service or workflow but PowerShell sounds like it might 
be more straightforward.

Regards,

Paul

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Brian Farnhill
Sent: Monday, 2 May 2011 11:12 AM
To: ozMOSS
Subject: RE: Load data from XML file to SharePoint library as metadata

A PowerShell script could do that pretty easy - reading XML with PowerShell is 
insanely easy, and putting the data in to SharePoint is pretty straight forward 
as well.

[cid:image003.png@01CC08BC.54384730]

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter: @BrianFarnhill<http://twitter.com/BrianFarnhill> 
| blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | xbox: Noble 
Downfall<http://live.xbox.com/en-AU/MyXbox/Profile?gamertag=Noble+Downfall>



From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Amar Pabla
Sent: Monday, 2 May 2011 10:57 AM
To: ozmoss@ozmoss.com
Subject: Load data from XML file to SharePoint library as metadata

Hi All

Our CRM system generates thousands of XML files, these files contains data such 
as member number, name and surname.

I want to load these data items as metadata into SharePoint library for each 
XML file.

What is the best way to achieve this?

Thank you in advance.

Amar



Amar Pabla
Process Improvement Manager
MDA National
MDA National Insurance Pty Ltd
Level 3 / 516 Hay Street - Subiaco WA 6008
PO Box 1557 - Subiaco WA 6904
Freecall 1800 011 255
Ph: +618 6461 3423
Fax: +618 9415 1493
0447 891 738
www.mdanational.com.au<http://www.mdanational.com.au/>
Please consider the environment before printing this email

Confidentiality Notice
The information contained in this email may be confidential information, and 
may also be the subject of legal professional privilege. If you are not the 
intended recipient, any use, disclosure or copying of this email is 
unauthorised. If you have received this email in error, please delete it and 
immediately notify us via reply email.

Privacy Notice<http://www.mdanational.com.au/privacy-policy.aspx>
MDA National collects personal information to provide and market our services. 
We may share personal information with other organisations that assist us in 
doing this. You may access personal information we hold about you, subject to 
the Federal Privacy Act. For more information visit our 
website<http://www.mdanational.com.au/privacy-policy.aspx> or email us at 
priv...@mdanational.com.au<mailto:priv...@mdanational.com.au>

<><>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Load data from XML file to SharePoint library as metadata

2011-05-01 Thread Brian Farnhill
A PowerShell script could do that pretty easy - reading XML with PowerShell is 
insanely easy, and putting the data in to SharePoint is pretty straight forward 
as well.

[cid:image001.png@01CC08B9.CCB44540]

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter: @BrianFarnhill<http://twitter.com/BrianFarnhill> 
| blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | xbox: Noble 
Downfall<http://live.xbox.com/en-AU/MyXbox/Profile?gamertag=Noble+Downfall>



From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Amar Pabla
Sent: Monday, 2 May 2011 10:57 AM
To: ozmoss@ozmoss.com
Subject: Load data from XML file to SharePoint library as metadata

Hi All

Our CRM system generates thousands of XML files, these files contains data such 
as member number, name and surname.

I want to load these data items as metadata into SharePoint library for each 
XML file.

What is the best way to achieve this?

Thank you in advance.

Amar



Amar Pabla
Process Improvement Manager
MDA National
MDA National Insurance Pty Ltd
Level 3 / 516 Hay Street - Subiaco WA 6008
PO Box 1557 - Subiaco WA 6904
Freecall 1800 011 255
Ph: +618 6461 3423
Fax: +618 9415 1493
0447 891 738
www.mdanational.com.au<http://www.mdanational.com.au/>
Please consider the environment before printing this email

Confidentiality Notice
The information contained in this email may be confidential information, and 
may also be the subject of legal professional privilege. If you are not the 
intended recipient, any use, disclosure or copying of this email is 
unauthorised. If you have received this email in error, please delete it and 
immediately notify us via reply email.

Privacy Notice<http://www.mdanational.com.au/privacy-policy.aspx>
MDA National collects personal information to provide and market our services. 
We may share personal information with other organisations that assist us in 
doing this. You may access personal information we hold about you, subject to 
the Federal Privacy Act. For more information visit our 
website<http://www.mdanational.com.au/privacy-policy.aspx> or email us at 
priv...@mdanational.com.au<mailto:priv...@mdanational.com.au>

<>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: SharePoint 2010 Scripted Install

2011-04-26 Thread Brian Farnhill
That's all the Windows 7 install is designed to be, which is why the 
AutoSPInstaller doesn't play nice, it's geared towards the full install that 
will run on a server environment

[cid:image003.png@01CC04F3.F4019450]

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter: @BrianFarnhill<http://twitter.com/BrianFarnhill> 
| blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | xbox: Noble 
Downfall<http://live.xbox.com/en-AU/MyXbox/Profile?gamertag=Noble+Downfall>



From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Wednesday, 27 April 2011 3:56 PM
To: ozMOSS
Subject: RE: SharePoint 2010 Scripted Install

This would be purely as a stand-alone dev environment, yes?

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Brian Farnhill
Sent: Wednesday, 27 April 2011 3:41 PM
To: ozMOSS
Subject: RE: SharePoint 2010 Scripted Install

You can do it, but you need to manually change a couple of XML files from 
memory, one of them has an attribute on it that say allow client install or 
something like that. Once you do that you can run the installer OK. You will 
also need to manually install the prerequisites because the prereq installer 
will only work on server. There is an article on MSDN that describes the 
install process

http://msdn.microsoft.com/en-us/library/ee554869.aspx

As for what running on Windows 7 does for AutoSPInstaller, I'm gonna go out on 
a limb and assume it's going to break all sorts of different parts of it, based 
on the features that you can't use on Windows 7. Haven't actually tried that 
though because I got past the idea of using Windows 7 for SharePoint pretty 
quickly and went back to my trusty VMs. :)


[cid:image004.png@01CC04F3.F4019450]

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter: @BrianFarnhill<http://twitter.com/BrianFarnhill> 
| blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | xbox: Noble 
Downfall<http://live.xbox.com/en-AU/MyXbox/Profile?gamertag=Noble+Downfall>



From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Wednesday, 27 April 2011 3:29 PM
To: ozMOSS
Subject: RE: SharePoint 2010 Scripted Install

Handy. Does anyone install SharePoint on Windows 7?

[cid:image005.png@01CC04F3.F4019450]

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Aaron Saikovski
Sent: Wednesday, 27 April 2011 3:23 PM
To: ozMOSS
Subject: RE: SharePoint 2010 Scripted Install

The easy setup script doesn't work on windows server 2008 or R2 .

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Michael Nemtsev
Sent: Wednesday, 27 April 2011 2:52 PM
To: 'ozMOSS'
Subject: RE: SharePoint 2010 Scripted Install

Did you try "SharePoint 2010 Easy Setup Script" 
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=54dc2eef-e9ea-4c7b-9470-ec5cb58414de
 ?
I wonder what are the pros and cons of AutoSPInstaller vs SP2010EasySetupScript?

Michael Nemtsev
Microsoft MVP
B: http://msmvps.com/blogs/laflour
S: http://www.sharepoint-sandbox.com

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Wednesday, 27 April 2011 11:31 AM
To: ozMOSS
Subject: SharePoint 2010 Scripted Install

Has anyone used or have any comments on the 
AutoSPInstaller<http://autospinstaller.codeplex.com/> on CodePlex?

It sounds like the biz.
<><><>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: SharePoint 2010 Scripted Install

2011-04-26 Thread Brian Farnhill
You can do it, but you need to manually change a couple of XML files from 
memory, one of them has an attribute on it that say allow client install or 
something like that. Once you do that you can run the installer OK. You will 
also need to manually install the prerequisites because the prereq installer 
will only work on server. There is an article on MSDN that describes the 
install process

http://msdn.microsoft.com/en-us/library/ee554869.aspx

As for what running on Windows 7 does for AutoSPInstaller, I'm gonna go out on 
a limb and assume it's going to break all sorts of different parts of it, based 
on the features that you can't use on Windows 7. Haven't actually tried that 
though because I got past the idea of using Windows 7 for SharePoint pretty 
quickly and went back to my trusty VMs. :)

[cid:image002.png@01CC04F1.8BBE0F60]

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter: @BrianFarnhill<http://twitter.com/BrianFarnhill> 
| blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | xbox: Noble 
Downfall<http://live.xbox.com/en-AU/MyXbox/Profile?gamertag=Noble+Downfall>



From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Wednesday, 27 April 2011 3:29 PM
To: ozMOSS
Subject: RE: SharePoint 2010 Scripted Install

Handy. Does anyone install SharePoint on Windows 7?

[cid:image003.png@01CC04F1.8BBE0F60]

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Aaron Saikovski
Sent: Wednesday, 27 April 2011 3:23 PM
To: ozMOSS
Subject: RE: SharePoint 2010 Scripted Install

The easy setup script doesn't work on windows server 2008 or R2 .

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Michael Nemtsev
Sent: Wednesday, 27 April 2011 2:52 PM
To: 'ozMOSS'
Subject: RE: SharePoint 2010 Scripted Install

Did you try "SharePoint 2010 Easy Setup Script" 
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=54dc2eef-e9ea-4c7b-9470-ec5cb58414de
 ?
I wonder what are the pros and cons of AutoSPInstaller vs SP2010EasySetupScript?

Michael Nemtsev
Microsoft MVP
B: http://msmvps.com/blogs/laflour
S: http://www.sharepoint-sandbox.com

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Wednesday, 27 April 2011 11:31 AM
To: ozMOSS
Subject: SharePoint 2010 Scripted Install

Has anyone used or have any comments on the 
AutoSPInstaller<http://autospinstaller.codeplex.com/> on CodePlex?

It sounds like the biz.
<><>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: SharePoint 2010 Scripted Install

2011-04-26 Thread Brian Farnhill
Just grab the latest version of AutoSPInstaller, that's what I'm using - well 
I'm using a slightly tweaked version of it, although I know a few of my changes 
have been worked back into the project such as the windows NLB stuff I wrote - 
but I haven't needed to change the USPA part yet so I'm running that as it is. 
Haven't gone to prod with the customer yet but the test environment we built 
with it last week seems to be holding its own pretty well. Still keeping a 
close eye on it through some UAT of a couple of apps to make sure it all holds 
up though.

[cid:image003.png@01CC04D1.25C2C860]

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter: @BrianFarnhill<http://twitter.com/BrianFarnhill> 
| blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | xbox: Noble 
Downfall<http://live.xbox.com/en-AU/MyXbox/Profile?gamertag=Noble+Downfall>



From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Chris Walsh
Sent: Wednesday, 27 April 2011 11:14 AM
To: ozMOSS
Subject: RE: SharePoint 2010 Scripted Install

If you've got a script that installs UPA and configures it correctly then send 
it through please.  :)

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Brian Farnhill
Sent: Wednesday, 27 April 2011 11:41 AM
To: ozMOSS
Subject: RE: SharePoint 2010 Scripted Install

AutoSPInstaller does do a basic config of the USPA - just the fact that the 
service itself is rather "temperamental" means it won't always work :)

[cid:image004.png@01CC04D1.25C2C860]

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter: @BrianFarnhill<http://twitter.com/BrianFarnhill> 
| blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | xbox: Noble 
Downfall<http://live.xbox.com/en-AU/MyXbox/Profile?gamertag=Noble+Downfall>



From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Aaron Saikovski
Sent: Wednesday, 27 April 2011 11:38 AM
To: ozMOSS
Subject: RE: SharePoint 2010 Scripted Install

It doesn't do all of the service apps I believe.
The two service apps that will cause you trouble from a scripting perspective 
are performance point and our friend, user profile service.

Ping me privately if you want to know how to script these properly ;-)

cheers



Regards,

Aaron Saikovski | Senior Consultant | Microsoft Services Australia
[cid:image005.png@01CC04D1.25C2C860]
' +61 2 8817 9280 |È +61 410 480 971 | 7 +61 2 9870 2499 | Blog: 
http://blogs.msdn.com/aaronsaikovski<http://blogs.msdn.com/aaronsaikovski/>  | 
Web: 
www.microsoft.com/australia/services<http://www.microsoft.com/australia/services>

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Wednesday, 27 April 2011 11:31 AM
To: ozMOSS
Subject: SharePoint 2010 Scripted Install

Has anyone used or have any comments on the 
AutoSPInstaller<http://autospinstaller.codeplex.com/> on CodePlex?

It sounds like the biz.
<><><>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: SharePoint 2010 Scripted Install

2011-04-26 Thread Brian Farnhill
AutoSPInstaller does do a basic config of the USPA - just the fact that the 
service itself is rather "temperamental" means it won't always work :)

[cid:image002.png@01CC04CF.EA18D8A0]

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter: @BrianFarnhill<http://twitter.com/BrianFarnhill> 
| blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | xbox: Noble 
Downfall<http://live.xbox.com/en-AU/MyXbox/Profile?gamertag=Noble+Downfall>



From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Aaron Saikovski
Sent: Wednesday, 27 April 2011 11:38 AM
To: ozMOSS
Subject: RE: SharePoint 2010 Scripted Install

It doesn't do all of the service apps I believe.
The two service apps that will cause you trouble from a scripting perspective 
are performance point and our friend, user profile service.

Ping me privately if you want to know how to script these properly ;-)

cheers



Regards,

Aaron Saikovski | Senior Consultant | Microsoft Services Australia
[cid:image003.png@01CC04CF.EA18D8A0]
' +61 2 8817 9280 |È +61 410 480 971 | 7 +61 2 9870 2499 | Blog: 
http://blogs.msdn.com/aaronsaikovski<http://blogs.msdn.com/aaronsaikovski/>  | 
Web: 
www.microsoft.com/australia/services<http://www.microsoft.com/australia/services>

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Wednesday, 27 April 2011 11:31 AM
To: ozMOSS
Subject: SharePoint 2010 Scripted Install

Has anyone used or have any comments on the 
AutoSPInstaller<http://autospinstaller.codeplex.com/> on CodePlex?

It sounds like the biz.
<><>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Content Types and SharePoint 2010

2011-04-17 Thread Brian Farnhill
You could just accept that doing things declaratively through CAML is just 
horrible and write some code to fix your columns up in the feature receiver :)

[cid:image001.png@01CBFDD1.357826D0]

Brian Farnhill
Solutions Architect, Extelligent Design | SharePoint Server MVP
phone: 0408 289 303 | twitter: @BrianFarnhill<http://twitter.com/BrianFarnhill> 
| blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | xbox: Noble 
Downfall<http://live.xbox.com/en-AU/MyXbox/Profile?gamertag=Noble+Downfall>



From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Alex Hobson
Sent: Monday, 18 April 2011 1:59 PM
To: ozMOSS
Subject: Re: Content Types and SharePoint 2010

Yeah saw that element. In my Common CT i have added the RemoveFieldRef element 
to remove the Title field but to no effect. The Title field will remain. If i 
add the FieldRef for Title after the RemoveFieldRef i again have duplicate 
columns.
On Mon, Apr 18, 2011 at 1:24 PM, Sezai Komur 
mailto:sharepointse...@gmail.com>> wrote:
 ?
http://msdn.microsoft.com/en-us/library/aa543602.aspx
http://sharepointlive.blogspot.com/2009/05/content-types-inheritance-how-to-remove.html
http://www.u2u.info/Blogs/karine/Lists/Posts/Post.aspx?ID=6

No idea if this will actually work though, worth a shot.

Sezai.
On Mon, Apr 18, 2011 at 10:50 AM, Alex Hobson 
mailto:a...@hobsonator.com>> wrote:
In MOSS 2007 the SystemPage CT did not have the attribute Inherits="TRUE" so 
when our Common CT inherited from SystemPage and we changed the DisplayName we 
did not have an issue.

If you have a look the Document (0x0101) and Item (0x01) CTs you will see what 
i mean.

The Item CT has the Title FieldRef and has Required="TRUE" the Document CT 
references the Title FieldRef and has Required="FALSE".

So in the Document CT Title is not required. Where in the Item CT Title is 
required.

Once you get up to the SystemPage CT we see the Inherits="TRUE" attribute. This 
appears to change the game, if i try and add the Title FieldRef into my Common 
CT and updated the DisplayName i get an duplicate field instead of overriding 
the field like i use to have.

BTW this is not unique to Title, it is just an example.
On Mon, Apr 18, 2011 at 11:37 AM, Prashanth Thiyagalingam 
mailto:prashanth...@hotmail.com>> wrote:
SystemPage CT has already got the build-in Title field inherited from 'Item' 
CT, and this is what is causing the duplicate error.


Date: Mon, 18 Apr 2011 10:29:26 +1000
Subject: Content Types and SharePoint 2010
From: a...@hobsonator.com<mailto:a...@hobsonator.com>
To: ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>


We have run into an interesting issue when migrating our WSP packages from MOSS 
2007 to SharePoint 2010. The issue is in relation to Publishing Content Types.
In the past we have had a Common Publishing Content Type called 
CommonPublishingContentTypes which inherits from the built-in SystemPage 
Content Type (0x010100C568DB52D9D0A14D9B2FDCC9E9F2) found in the 
PublishingResources Feature.

SharePoint 2010 appears to have introduced a attribute called Inherits and on 
the built-in SystemPage Content Type this is set to TRUE. "If Inherits is TRUE, 
the child content type inherits all fields that are in the parent, including 
fields that users have added." 
(http://msdn.microsoft.com/en-us/library/aa544268.aspx).

In MOSS 2007 we where able to add a built-in field  into our CommonPublishingContentTypes and updated the 
DisplayName or Required attributes.

If we attempt to do this in SharePoint 2010 we get duplicate fields in our 
CommonPublishingContentTypes Content Type for Title.

Ideas?

___ ozmoss mailing list 
ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com> 
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

___

ozmoss mailing list
ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

___

ozmoss mailing list
ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


___
ozmoss mailing list
ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

<>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: SharePoint 2010 Rich Text Editor Vs RadEditor for SharePoint

2011-03-23 Thread Brian Farnhill
+1 to that - and I doubt you would get one that is able to integrate with the 
ribbon and all that as a third party thing anyway

Regards,

Brian Farnhill
Microsoft SharePoint Server MVP
Microsoft Virtual Technical Solutions Professional
Blog: http://blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | Twitter: 
@BrianFarnhill<http://twitter.com/BrianFarnhill> | Mobile: 0408 289 303


Canberra SharePoint User Group: http://www.sharepointusers.org.au/Canberra
SharePoint Saturday Events: Sydney<http://www.sharepointsaturday.org/Sydney> | 
Canberra<http://www.sharepointsaturday.org/Canberra> | 
Melbourne<http://www.sharepointsaturday.org/Melbourne>

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Chris Walsh
Sent: Thursday, 24 March 2011 4:05 PM
To: ozMOSS
Subject: RE: SharePoint 2010 Rich Text Editor Vs RadEditor for SharePoint

Haven't been able to fault the built-in editor.

In 07 I used the DevExpress ASPxHtmlEditor as it rocked.  But for 2010, no 
need, MSFT have finally done something semi-right :)

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Alex Hobson
Sent: Thursday, 24 March 2011 4:02 PM
To: ozmoss@ozmoss.com
Subject: SharePoint 2010 Rich Text Editor Vs RadEditor for SharePoint

Ok quick survey for all the people who have SharePoint 2010 deployed and are 
using it for content management.

What rich text editor are you rolling and why...
___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Workflows, Stats and ... Videos!

2011-03-10 Thread Brian Farnhill
Hehe, yea that was me at the conference with the YouTube like app :)

I'm playing the source code for that one a bit closer to my chest at the moment 
as I'm in the processes of extending a bit further and then will package it up 
to take it to market and sell actually.

Truth be told though, as far as the analytics side of what I did, my solution 
was very, very simple. I was just treating a page view on the viewer page I had 
set up as a view of the video, and the player web part I put together just 
incremented a field called "views" on the video item in the document library 
when the page loaded (not ideal for heavy performance, the update of the 
counter needs to go to a separate thread but I didn't go there in this case). 
After the counter is updated you have your view count easily enough, but in the 
app I demo'ed I had no interest in tracking views in relation to time which is 
what it sounds like you might be after.

The same theory though could be applied to pushing more complex data such as 
when a view happened to a separate list and then you could do your analytics on 
that. You could look at workflow as a way of pushing the info into that list - 
not sure how easy or not initiating a workflow from client side script would 
be, which is where it would have to come from given that the player is 
happening on that client. Also worth noting that the out of the box media 
player doesn't have any events that I could find to hook in to that would 
indicate that status of the video player changing (start, pause, finish, etc) 
so you may also find that you mind need to create a new player that gives you 
some hooks to tie in to for that sort of work if you take that approach, but if 
you look at that then you might lose out on some of the streaming tech that 
SharePoint apparently has between that web part and IIS (something about IIS 
Smooth Streaming or something like that, again didn't look a whole lot in to 
the tech behind that component).

I think the better solution would be to try to use an existing analytics 
solution (the OOTB stuff might cut it, not sure) to try to determine what 
videos were played and when. So if your video player page has a unique URL, or 
a unique Query String see if you can build that into your analytics reports to 
get the info you need, again though I'm not sure how flexible the OOTB stuff is 
in that regard.

Hope that helps!

Regards,

Brian Farnhill
Microsoft SharePoint Server MVP
Microsoft Virtual Technical Solutions Professional
Blog: http://blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | Twitter: 
@BrianFarnhill<http://twitter.com/BrianFarnhill> | Mobile: 0408 289 303


Canberra SharePoint User Group: http://www.sharepointusers.org.au/Canberra
SharePoint Saturday Events: Sydney<http://www.sharepointsaturday.org/Sydney> | 
Canberra<http://www.sharepointsaturday.org/Canberra> | 
Melbourne<http://www.sharepointsaturday.org/Melbourne>

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Maxine Harwood
Sent: Friday, 11 March 2011 11:12 AM
To: 'ozMOSS'
Subject: RE: Workflows, Stats and ... Videos!

I was at the same session at the SharePoint conference, it was one of my 
favourite sessions. I think it was the session by Brian Farnhill and he has 
some information on his blog - http://blog.brianfarnhill.com/. He may be 
willing to share more if you contact him directly :)

I believe there is a codeplex project for the analytics side of things but cant 
find the name of it - it was on twitter... codeplex has well as lots of parts 
you could tap into for the project as a whole.

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Friday, 11 March 2011 7:20 AM
To: ozMOSS
Subject: RE: Workflows, Stats and ... Videos!

You should have gone to the Australian SharePoint Conference. One of the tracks 
was a deep dive developer session on building a YouTube like interface within 
SharePoint. :)

No source available as yet but we tried...

Regards,

Paul

--
Online Developer/SharePoint Administrator,
ICT Infrastrcuture Team
CEO Sydney

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Uzma Naz
Sent: Tuesday, 8 March 2011 11:36 PM
To: ozmoss@ozmoss.com
Subject: Workflows, Stats and ... Videos!

Hiya,

I have a client who is looking at using WebEx to host videos and track number 
of hits (like youtube) and who viewed them.

I'm looking at using SharePoint to host videos instead. I've been looking into 
how we can meet requirements, such as show how many times a video has been 
viewed and information on who viewed it and when.

How can I best achieve this as I can't see a solution that I can recommend 
online?

I was thinking maybe if I had a SharePoint list which is populated via a 
workflow once a video

RE: Office Web Applications 2010

2011-02-28 Thread Brian Farnhill
Sure can't, Office web apps will throw an error and I'm pretty sure it will 
offer the user the option to download it and open it locally in word.

Regards,

Brian Farnhill
Microsoft SharePoint Server MVP
Microsoft Virtual Technical Solutions Professional
Blog: http://blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | Twitter: 
@BrianFarnhill<http://twitter.com/BrianFarnhill> | Mobile: 0408 289 303


Canberra SharePoint User Group: http://www.sharepointusers.org.au/Canberra
SharePoint Saturday Events: Sydney<http://www.sharepointsaturday.org/Sydney> | 
Canberra<http://www.sharepointsaturday.org/Canberra> | 
Melbourne<http://www.sharepointsaturday.org/Melbourne>

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Daniel Brown
Sent: Tuesday, 1 March 2011 10:02 AM
To: ozmoss@ozmoss.com
Subject: Office Web Applications 2010

Howdy all,

Just a quick one, been doing a bit of searching on the subject, but turning up 
conflicting information and was wondering irf someone has had first hand 
experience with this...

Is it possible to add an Office Document developed in VS (with a code behind) 
into Office Web App's 2010 and have it function?

If anyone has any sites of reference material it would greatly help.

Thanks,

Daniel
___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: WSS 3.0 SQL Express 4GB limit

2011-02-08 Thread Brian Farnhill
I've had a lot of good experiences with the AvePoint product for the RBS stuff, 
easy to implement and configure and very effective. Using the filestream 
provider is a bit more hands on to configure but not too bad (there are good 
blog posts around on it, Todd Klindt had a good one from memory), but that is 
free so worth looking at if you are on a tight budget.

Regards,

Brian Farnhill
Microsoft SharePoint Server MVP
Microsoft Virtual Technical Solutions Professional
Blog: http://blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | Twitter: 
@BrianFarnhill<http://twitter.com/BrianFarnhill> | Mobile: 0408 289 303


Canberra SharePoint User Group: http://www.sharepointusers.org.au/Canberra
SharePoint Saturday Events: Sydney<http://www.sharepointsaturday.org/Sydney> | 
Canberra<http://www.sharepointsaturday.org/Canberra> | 
Melbourne<http://www.sharepointsaturday.org/Melbourne>

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Culmsee
Sent: Tuesday, 8 February 2011 10:36 AM
To: 'ozMOSS'
Subject: RE: WSS 3.0 SQL Express 4GB limit

Hiya

Out of interest, who is using RBS? Coming from enterprise DMS systems before 
working with SharePoint, I have long held the view that SQL was not the place 
for documents. SharePoint people often find the concept foreign but it's the 
prevailing wisdom in many other ECM systems out there.

Nevertheless, I haven't taken the plunge yet but I have a client in mind as 
part of a soon to happen upgrade to 2010.  Has it been solid? These days I am 
the kind of guy who like grandpa, laments increased complexity and yearns for 
the simplicity of the past. Has anybody had negative experiences?

Regards

Paul

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Tom Bizannes
Sent: Tuesday, 8 February 2011 6:36 AM
To: ozMOSS
Subject: RE: WSS 3.0 SQL Express 4GB limit

Uzma,

Why not upgrade to SharePoint Foundation and use remote blob storage?

Then your database will not be so big etc.

Regards,
Tom Bizannes
SharePoint and SQL Specialist

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Uzma Naz
Sent: Monday, 7 February 2011 10:38 PM
To: ozmoss@ozmoss.com
Subject: WSS 3.0 SQL Express 4GB limit

Hi there,

I was wondering.. is it possible to create a new content database to generate a 
further 4GB of space within a stand alone, WSS 3.0 environment with SQL Express 
installed?

Uzma
___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: best practice for site templates

2011-02-01 Thread Brian Farnhill
Well it explains the half assed effort in putting it in to the SP2010 dev 
templates at least :-P

Regards,

Brian Farnhill
Microsoft SharePoint Server MVP
Microsoft Virtual Technical Solutions Professional
Blog: http://blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | Twitter: 
@BrianFarnhill<http://twitter.com/BrianFarnhill> | Mobile: 0408 289 303


Canberra SharePoint User Group: http://www.sharepointusers.org.au/Canberra
SharePoint Saturday Events: Sydney<http://www.sharepointsaturday.org/Sydney> | 
Canberra<http://www.sharepointsaturday.org/Canberra> | 
Melbourne<http://www.sharepointsaturday.org/Melbourne>

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Chris Walsh
Sent: Tuesday, 1 February 2011 10:21 PM
To: ozMOSS
Subject: RE: best practice for site templates

If they're advising against it, then why the fcuk include it in the SP2010 dev 
templates?

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Brian Farnhill
Sent: Tuesday, 1 February 2011 9:01 PM
To: ozMOSS
Subject: RE: best practice for site templates

It is worth noting though guys that according to Microsoft you shouldn't be 
using site definitions unless you fall into a couple of rather specific 
examples, basically saying that if you want to ensure compatibility of 
solutions going forward with future versions of the product that site templates 
are the way to roll.

http://msdn.microsoft.com/en-us/library/aa979683.aspx

Now having said that, I'm still a fan of site definitions (and I'm sure we 
could launch into the seemingly never ending debate of how you manage and 
deploy stuff in the SharePoint world, but I'm not gonna go there).

There are some problems I have found with working with site definitions in 
Visual Studio 2010 - basically I did run into a problem where when I made 
changes to the onet.xml file and deploying from Visual Studio the changes 
didn't stick until I restarted the box. I tried restarting services, restarting 
VS, all sorts of stuff, but it just wouldn't fly. So if you do start using Site 
Definitions with VS2010, be aware that there are some tricks it will play on 
you.

Regards,

Brian Farnhill
Microsoft SharePoint Server MVP
Microsoft Virtual Technical Solutions Professional
Blog: http://blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | Twitter: 
@BrianFarnhill<http://twitter.com/BrianFarnhill> | Mobile: 0408 289 303


Canberra SharePoint User Group: http://www.sharepointusers.org.au/Canberra
SharePoint Saturday Events: Sydney<http://www.sharepointsaturday.org/Sydney> | 
Canberra<http://www.sharepointsaturday.org/Canberra> | 
Melbourne<http://www.sharepointsaturday.org/Melbourne>

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Sezai Komur
Sent: Tuesday, 1 February 2011 7:05 PM
To: ozMOSS
Subject: Re: best practice for site templates

Yeah if you need to be able to create site collections and sites from the 
SharePoint UI, (create Site Collections in Central Admin, or create Subsites 
when in a site collection) and you want your custom template to be displayed 
and selectable on the screen, then you need to implement a custom site 
definition.

OR

Investigate feature stapling to site definition ids - this ensures your custom 
feature is activated when out-of-the-box site definitions are used to create 
sites.
Develop your features to do the branding, site building etc. etc. whatever you 
need to do to the site.

OR

Develop Features to do the work,
Then train users how to activate features manually on the site after it has 
been created?
Site Admins can do this in the SharePoint UI without having to learn or run 
PowerShell.

There's many ways to approach this depending on what you specifically require.

Sezai.

On Tue, Feb 1, 2011 at 2:52 PM, Maxine Harwood 
mailto:maxinetechg...@gmail.com>> wrote:
Thanks.

Restricting the sites once they are created isn't a high priority. I need to 
create lots of sites each with a consistent branding and custom libraries. If I 
use publishing to apply the master pages, I can't export as a site template. I 
can't seem to find a recommended way of producing multiple sites, based on a 
template (containing lists, libraries, custom views, master pages and css etc).

The best solution I can find uses power script and I am concerned that this 
will mean that I will be the only person in the organisation who'll be able to 
create new sites, when the local site admins should have this functionality 
from the UI.

Anyone got any opinions on custom site definitions.

From: ozmoss-boun...@ozmoss.com<mailto:ozmoss-boun...@ozmoss.com> 
[mailto:ozmoss-boun...@ozmoss.com<mailto:ozmoss-boun...@ozmoss.com>] On Behalf 
Of Prashanth Thiyagalingam
Sent: Tuesday, 1 February 2011 4:42

RE: best practice for site templates

2011-02-01 Thread Brian Farnhill
It is worth noting though guys that according to Microsoft you shouldn't be 
using site definitions unless you fall into a couple of rather specific 
examples, basically saying that if you want to ensure compatibility of 
solutions going forward with future versions of the product that site templates 
are the way to roll.

http://msdn.microsoft.com/en-us/library/aa979683.aspx

Now having said that, I'm still a fan of site definitions (and I'm sure we 
could launch into the seemingly never ending debate of how you manage and 
deploy stuff in the SharePoint world, but I'm not gonna go there).

There are some problems I have found with working with site definitions in 
Visual Studio 2010 - basically I did run into a problem where when I made 
changes to the onet.xml file and deploying from Visual Studio the changes 
didn't stick until I restarted the box. I tried restarting services, restarting 
VS, all sorts of stuff, but it just wouldn't fly. So if you do start using Site 
Definitions with VS2010, be aware that there are some tricks it will play on 
you.

Regards,

Brian Farnhill
Microsoft SharePoint Server MVP
Microsoft Virtual Technical Solutions Professional
Blog: http://blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | Twitter: 
@BrianFarnhill<http://twitter.com/BrianFarnhill> | Mobile: 0408 289 303


Canberra SharePoint User Group: http://www.sharepointusers.org.au/Canberra
SharePoint Saturday Events: Sydney<http://www.sharepointsaturday.org/Sydney> | 
Canberra<http://www.sharepointsaturday.org/Canberra> | 
Melbourne<http://www.sharepointsaturday.org/Melbourne>

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Sezai Komur
Sent: Tuesday, 1 February 2011 7:05 PM
To: ozMOSS
Subject: Re: best practice for site templates

Yeah if you need to be able to create site collections and sites from the 
SharePoint UI, (create Site Collections in Central Admin, or create Subsites 
when in a site collection) and you want your custom template to be displayed 
and selectable on the screen, then you need to implement a custom site 
definition.

OR

Investigate feature stapling to site definition ids - this ensures your custom 
feature is activated when out-of-the-box site definitions are used to create 
sites.
Develop your features to do the branding, site building etc. etc. whatever you 
need to do to the site.

OR

Develop Features to do the work,
Then train users how to activate features manually on the site after it has 
been created?
Site Admins can do this in the SharePoint UI without having to learn or run 
PowerShell.

There's many ways to approach this depending on what you specifically require.

Sezai.

On Tue, Feb 1, 2011 at 2:52 PM, Maxine Harwood 
mailto:maxinetechg...@gmail.com>> wrote:
Thanks.

Restricting the sites once they are created isn't a high priority. I need to 
create lots of sites each with a consistent branding and custom libraries. If I 
use publishing to apply the master pages, I can't export as a site template. I 
can't seem to find a recommended way of producing multiple sites, based on a 
template (containing lists, libraries, custom views, master pages and css etc).

The best solution I can find uses power script and I am concerned that this 
will mean that I will be the only person in the organisation who'll be able to 
create new sites, when the local site admins should have this functionality 
from the UI.

Anyone got any opinions on custom site definitions.

From: ozmoss-boun...@ozmoss.com<mailto:ozmoss-boun...@ozmoss.com> 
[mailto:ozmoss-boun...@ozmoss.com<mailto:ozmoss-boun...@ozmoss.com>] On Behalf 
Of Prashanth Thiyagalingam
Sent: Tuesday, 1 February 2011 4:42 PM
To: ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>
Subject: RE: best practice for site templates

You can restrict the Site Templates and Page layouts used by Subsites via UI or 
PowerShell.
If you need to do this in the farm level you could lock down the default 
templates in the farm and force the administrators to use your custom 
template/site definition, could be done via a feature (eventhough changing 
webtemp.xml would do the job but not a recommended way)


From: maxinetechg...@gmail.com<mailto:maxinetechg...@gmail.com>
To: ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>
Subject: best practice for site templates
Date: Tue, 1 Feb 2011 15:53:30 +1000
Been researching for a while now and have finally decided I need advice.

For my client I need to create a series of custom team sites (40+) with custom 
branding applied, subsites, custom lists/libraries and views etc. In order to 
apply a custom master page in SP2010, I have enabled the publishing feature 
(any ideas how to go about customising master pages for non-publishing sites?). 
Unfortunately by (MS) design, enabling publishing disabl

RE: Get Selected Images in Custom Action

2010-10-03 Thread Brian Farnhill
I'm pretty sure that the following JavaScript will get you the ID's

SP.ListOperation.Selection.getSelectedItems()

Regards,

Brian Farnhill
Microsoft SharePoint Server MVP
Microsoft Virtual Technical Solutions Professional
Blog: http://blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | Twitter: 
@BrianFarnhill<http://twitter.com/BrianFarnhill> | Mobile: 0408 289 303


Canberra SharePoint User Group: http://www.sharepointusers.org.au/Canberra
SharePoint Saturday Events: Sydney<http://www.sharepointsaturday.org/Sydney> | 
Canberra<http://www.sharepointsaturday.org/Canberra> | 
Melbourne<http://www.sharepointsaturday.org/Melbourne>

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
ken zheng
Sent: Monday, 4 October 2010 12:38 PM
To: ozmoss@ozmoss.com
Subject: Get Selected Images in Custom Action

Hi Guys:

  I created a custom action for Picture library and would like to get ids if 
user selected any images by check box. I think there should be exisint js code 
or c# code in sharepoint as Edit/Delete actions doing that.

  Anyone know where can I see the action codes?

Thanks

Ken
___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: quick one WSS Search [Sec: UNCLASSIFIED]

2010-07-12 Thread Brian Farnhill
Isn't this included in Search Server express 2008, which is basically WSS with 
some of the search stuff that got included in MOSS after the infrastructure 
update?

There is a 2010 version as well - 
http://www.microsoft.com/enterprisesearch/en/us/search-server-express.aspx 

Regards,

Brian Farnhill
Microsoft SharePoint Server MVP
Microsoft Virtual Technical Solutions Professional
Blog: http://blog.brianfarnhill.com | Twitter: @BrianFarnhill | Mobile: 0408 
289 303


Canberra SharePoint User Group: http://www.sharepointusers.org.au/Canberra


-Original Message-
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Chris Grist
Sent: Tuesday, 13 July 2010 4:43 PM
To: ozmoss@ozmoss.com
Subject: quick one WSS Search

Hi Guys,

Would i be right in saying that it is not possible to use "Office SharePoint 
Server Search" service in WSS? and i would need to deploy a SharePoint Search 
Server or upgrade to MOSS instead?

As the user is getting error 126: the specified module could not be found. when 
trying to start the search service, and this was my first idea.

Cheers,

Chris.



Please consider the environment before printing this email 


Important: This e-mail, including any attachments, may contain private or 
confidential information. If you think you may not be the intended recipient, 
or if you have received this e-mail in error, please contact the sender 
immediately and delete all copies of this e-mail. If you are not the intended 
recipient, you must not reproduce any part of this e-mail or disclose its 
contents to any other party. This email represents the views of the individual 
sender, which do not necessarily reflect those of Education Services Australia 
Ltd except where the sender expressly states otherwise. It is your 
responsibility to scan this email and any files transmitted with it for viruses 
or any other defects. Education Services Australia Ltd will not be liable for 
any loss, damage or consequence caused directly or indirectly by this email.
___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Safe delay between solution deployments [Sec: UNCLASSIFIED]

2010-07-06 Thread Brian Farnhill
Basically it needs to have time for the timer jobs to run on each server (this 
is what makes the web.config changes), from my experience throwing them in one 
after the other works sometimes, but not all the time.

Ideally what you're deployment script should do is run the timer jobs on the 
remote servers, that way you are not waiting for a random amount of time and 
then continuing in the hope that it ran OK. If you look into some of the stuff 
with PowerShell 2.0 you can use Exec-Command to send commands to a remote 
machine (I think you need to be able to use the CredSSP option on that for the 
command to authenticate right when you call stsadm, which means server 2008 
will work, server 2003 doesn't support that one).

In the part where I haven't been able to call the remote commands, I usually do 
a cople of manual deployments to get a feel for how long it takes to complete 
and then a bit of time to that.

Regards,

Brian Farnhill
Microsoft SharePoint Server MVP
Microsoft Virtual Technical Solutions Professional
Blog: http://blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | Twitter: 
@BrianFarnhill<http://twitter.com/BrianFarnhill> | Mobile: 0408 289 303


Canberra SharePoint User Group: http://www.sharepointusers.org.au/Canberra

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Wednesday, 7 July 2010 10:48 AM
To: ozMOSS
Subject: Safe delay between solution deployments

Is there a safe or minimum delay that should be added between the deployment of 
multiple solutions, especially where a web.config modification is required?

I've been typically deploying them all in tandem via a batch file and expecting 
SharePoint to take care of the rest but have seen issues arising with timer job 
lock-ups etc.

Kind regards,

Paul Noone

---
Online Developer/Administrator
Information Communication and Technology
Catholic Education Office, Sydney
p: (02) 9568 8461
f: (02) 9568 8483
e: paul.no...@ceosyd.catholic.edu.au<mailto:paul.no...@ceosyd.catholic.edu.au>
w: http://www.ceosyd.catholic.edu.au/

___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Searching Sharepoint from MS Office Apps [Sec: UNCLASSIFIED]

2010-06-09 Thread Brian Farnhill
Does anyone know if there is a group policy option (or similar) for adding 
sources to that research tab like that?

Regards,

Brian Farnhill
Microsoft SharePoint Server MVP
Microsoft Virtual Technical Solutions Professional
Blog: http://blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | Twitter: 
@BrianFarnhill<http://twitter.com/BrianFarnhill> | Mobile: 0408 289 303


Canberra SharePoint User Group: http://www.sharepointusers.org.au/Canberra

[cid:image001.jpg@01CB08B2.591DFED0]<http://www.regonline.com/builder/site/Default.aspx?eventid=804948>

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Joshua Haebets
Sent: Thursday, 10 June 2010 3:19 PM
To: ozMOSS
Subject: RE: Searching Sharepoint from MS Office Apps

You can easily. Add your SharePoint site as a reference, in Word 2010 this is 
under  Review.

Point it to the search web service http://yoururl/_vti_bin/search.asmx

Cheers

Josh




From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Turner
Sent: Thursday, 10 June 2010 2:21 PM
To: ozMOSS
Subject: RE: Searching Sharepoint from MS Office Apps

SharePoint supports OpenSearch... does this article help: 
http://blogs.mosshosting.com/archive/tags/Enterprise%20Search/default.aspx


Regards,

Paul Turner
MCT, MCPD: Enterprise, MCSD, MCDBA, MCTS, Microsoft vTSP
Consultant

M: 0412 748 168
A: 66 Henley Beach Road, Mile End SA 5031
E: paul.tur...@dws.com.au<mailto:paul.tur...@dws.com.au>  W: 
www.dws.com.au<http://www.dws.com.au/>

This email and any files transmitted with it are confidential and are only for 
the use of the person to whom they are addressed. If you are not the intended 
recipient you have received this email in error and are requested to delete it 
immediately. Any opinion expressed in this e-mail may not necessarily be that 
of DWS Pty Ltd.
Please consider the environment before printing this email.

From: ozmoss-boun...@ozmoss.com [ozmoss-boun...@ozmoss.com] On Behalf Of Tommy 
Segoro [tommy.seg...@l7.com.au]
Sent: Thursday, 10 June 2010 1:29 PM
To: ozMOSS
Subject: Searching Sharepoint from MS Office Apps
Hi all,

Is there any easy way to search SHarepoint content from MS Office Apps? So for 
example I'm in MS Word, I can just type in a search keyword and it will then 
search Sharepoint. Is there any OOTB functionality for this or will this be 
custom office add-ins?

Cheers,
Tommy
<>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Screen recordings

2010-06-08 Thread Brian Farnhill
The Camtasia tools can export video to heaps of different formats and I'm 
pretty sure you can specify the codecs as well, so you shouldn't need the 
codecs on the viewer's machine as long as you make the appropriate selections 
when exporting. I've never had any troubles like that with it and I've been 
using it for ages.

Regards,

Brian Farnhill
Microsoft SharePoint Server MVP
Microsoft Virtual Technical Solutions Professional
Blog: http://blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | Twitter: 
@BrianFarnhill<http://twitter.com/BrianFarnhill> | Mobile: 0408 289 303


Canberra SharePoint User Group: http://www.sharepointusers.org.au/Canberra

[cid:image005.jpg@01CB07C0.63757B30]<http://www.regonline.com/builder/site/Default.aspx?eventid=804948>

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
James Boman
Sent: Wednesday, 9 June 2010 9:52 AM
To: ozMOSS
Subject: RE: Screen recordings

-1 Camtasia: My experience with it was poor because the resulting videos always 
needed some custom TechSmith codec installed on the viewer's machine :(
+1 Expression Media Encoder: Creates Windows Media Player compatible files 
straight out of the gate, requiring no transcoding afterward to get rid of the 
custom codecs.  Also easy to then prepare the video for Silverlight streaming 
on the web.  In some scenarios clients have wanted to host their own streaming 
video (no YouTube).

J.


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Turner
Sent: Tuesday, 8 June 2010 12:52 PM
To: ozMOSS
Subject: RE: Screen recordings

+ 1 Camtasia


Regards,

Paul Turner
MCT, MCPD: Enterprise, MCSD, MCDBA, MCTS, MSF, Microsoft vTSP
Consultant

M: 0412 748 168
A: 66 Henley Beach Road, Mile End SA 5031
E: paul.tur...@dws.com.au<mailto:paul.tur...@dws.com.au>  W: 
www.dws.com.au<http://www.dws.com.au/>

This email and any files transmitted with it are confidential and are only for 
the use of the person to whom they are addressed. If you are not the intended 
recipient you have received this email in error and are requested to delete it 
immediately. Any opinion expressed in this e-mail may not necessarily be that 
of DWS Pty Ltd.
Please consider the environment before printing this email.

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Adam Clark
Sent: Tuesday, 8 June 2010 12:42 PM
To: ozMOSS
Subject: RE: Screen recordings

I've always used Camtasia. It's a good product.

Regards,

Adam Clark
Principal Solutions Architect

[cid:image006.gif@01CB07C0.63757B30]

Office:   1300 611 359
Mobile: +61 412 344 037
Email:adam.cl...@sharingminds.com.au<mailto:adam.cl...@sharingminds.com.au>
Web: http://www.sharingminds.com.au<http://www.sharingminds.com.au/>
Blog:  http://adamclark.wordpress.com<http://adamclark.wordpress.com/>

[cid:image007.jpg@01CB07C0.63757B30]<http://www.sharepointconference.com.au/>

Proudly speaking and sponsoring the following events:
SharePoint Saturday Brisbane<http://www.sharepointsaturday.org/brisbane> - 8th 
May 2010
Australian SharePoint Conference<http://www.sharepointconference.com.au/> - 
16th & 17th June

Business Productivity Specialists with:
[cid:image008.png@01CB07C0.63757B30]


[cid:image009.png@01CB07C0.63757B30]<http://www.sharepointsaturday.org/brisbane>





From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Marko Salonen
Sent: Tuesday, 8 June 2010 1:07 PM
To: ozMOSS
Subject: Screen recordings

Hi


Can anybody recommend any screen recording software that I can use to make some 
instructional videos with?


Cheers!

Marko


This email and any files transmitted with it are intended solely for the use of 
the individual or entity to whom this email is addressed.  This email's 
contents are confidential and may contain copyright and/or legally privileged 
information.  If you are not the intended recipient, you must not read, print, 
store, copy, forward or use this email for any reason. If this e-mail was sent 
to you in error, please notify the sender by return email, and delete this 
email without making a copy.  Any confidentiality or privilege is not waived or 
lost because this email has been sent to you by mistake.  Thank you.
P Please consider the environment before printing this email
<><><><><>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: .NET 3.5 SP1 loopback issue

2010-05-09 Thread Brian Farnhill
There are valid scenarios where you would want it on outside of the SharePoint 
world though, and really it should only be breaking SharePoint in a couple of 
scenarios (usually a developer running with host headers on his local machine - 
so just user port numbers for local deployments and save the host headers for 
the deployment to a remote box that you browse from a different machine).

Regards,

Brian Farnhill
Microsoft SharePoint Server MVP
Microsoft Virtual Technical Solutions Professional
Blog: http://blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | Twitter: 
@BrianFarnhill<http://twitter.com/BrianFarnhill> | Mobile: 0408 289 303


Canberra SharePoint User Group: http://www.sharepointusers.org.au/Canberra

[cid:image001.jpg@01CAF01B.E9E1E800]<http://www.regonline.com/builder/site/Default.aspx?eventid=804948>

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Monday, 10 May 2010 8:15 AM
To: ozMOSS
Subject: RE: .NET 3.5 SP1 loopback issue

Indeed. But a security feature that tends to break SharePoint farm 
functionality...?


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Daniel Brown
Sent: Monday, 10 May 2010 8:10 AM
To: ozMOSS
Subject: Re: .NET 3.5 SP1 loopback issue

This is by design and not a bug, its a security feature so I am told
On Mon, May 10, 2010 at 7:36 AM, Paul Noone 
mailto:paul.no...@ceosyd.catholic.edu.au>> 
wrote:
Seems crazy there's not a patch (or switch) for this yet.

Playing with the registry always feels very dirty to me. :)

From: ozmoss-boun...@ozmoss.com<mailto:ozmoss-boun...@ozmoss.com> 
[mailto:ozmoss-boun...@ozmoss.com<mailto:ozmoss-boun...@ozmoss.com>] On Behalf 
Of Daniel Brown
Sent: Saturday, 8 May 2010 10:49 AM
To: ozMOSS
Subject: Re: .NET 3.5 SP1 loopback issue

Can confirm this morning that win2k8 r2 is effected by this also
On Fri, May 7, 2010 at 12:16 PM, Paul Noone 
mailto:paul.no...@ceosyd.catholic.edu.au>> 
wrote:
Can I ask if everyone has routinely applied the fix for this issue or if it's 
since been resolved with a patch somewhere?

http://support.microsoft.com/kb/896861

I'm thinking it's the cause for my 401 errors when trying to call a web service 
via a workflow.

Kind regards,

Paul Noone

---
Online Developer
Information Communication and Technology
Catholic Education Office, Sydney
p: (02) 9568 8461
f: (02) 9568 8483
e: paul.no...@ceosyd.catholic.edu.au<mailto:paul.no...@ceosyd.catholic.edu.au>
w: http://www.ceosyd.catholic.edu.au/


___
ozmoss mailing list
ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


___
ozmoss mailing list
ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

<>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Lookup Column rendering

2010-04-20 Thread Brian Farnhill
The behaviour of the lookup columns is that when there is more than 20 items, 
Internet Explorer will render the "ajax-ish" drop down you are describing that 
filters as you type. When there 20 items or less (or you are using another type 
of browser) you will see the standard HTML drop down list.

Regards,

Brian Farnhill
Microsoft SharePoint Server MVP
Microsoft Virtual Technical Solutions Professional
Blog: http://blog.brianfarnhill.com<http://blog.brianfarnhill.com/> | Twitter: 
@BrianFarnhill<http://twitter.com/BrianFarnhill> | Mobile: 0408 289 303


Canberra SharePoint User Group: http://www.sharepointusers.org.au/Canberra

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Chris Milne
Sent: Wednesday, 21 April 2010 12:53 PM
To: ozMOSS
Subject: RE: Lookup Column rendering

Hey Daniel,

I recall last time I looked at something like this, I found that the default 
SharePoint rendering for a drop-down with more than 20 items in it is a 
'typable-innable' drop-down, and a 'non-typable-innable' drop-down control if 
it contains less than 20.  Or maybe it was the other way around.  And maybe it 
wasn't exactly 20 but close to it :)

Try inserting over 20 / removing to under 20 items and see if the behaviour 
changes.  In the end we used a custom control to avoid it.

HTH,
C


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Daniel Brown
Sent: Wednesday, 21 April 2010 12:23 PM
To: ozMOSS
Subject: Lookup Column rendering

Howdy all,

Just a quick one with any luck...

I've got a lookup column on a newform.aspx however it allows typing in it, 
which is messing things up (as you can type anything in it, rather than only 
what is in the fake drop down list).

Is there any way to prohibit free text in this fake DDL and actually make it a 
real drop down list?

Cheers,

Daniel
___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Web.config BAK files

2009-11-24 Thread Brian Farnhill
Those files are created when SharePoint applies SPWebConfigModifications (so
anytime a change is applied to a web config file, such as when a WSP is
deployed that adds safe control entries or others are manually added through
custom code).

 

I don't think there is any harm in removing them, but don't hold me to that.
I usually just leave them be. 

 

Regards,

 

Brian Farnhill

Blog:  <http://blog.brianfarnhill.com/> http://blog.brianfarnhill.com |
Twitter:  <http://twitter.com/BrianFarnhill> @BrianFarnhill 

  _  


Canberra SharePoint User Group:
<http://www.sharepointusers.org.au/Canberra>
http://www.sharepointusers.org.au/Canberra

 

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Rob von Nesselrode
Sent: Tuesday, 24 November 2009 5:25 PM
To: 'ozMOSS'
Subject: RE: Web.config BAK files

 

How about a sync program?

 

Have you updated the config remotely?

 

R

 

  _  

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Paul English
Sent: Tuesday, 24 November 2009 3:29 PM
To: 'ozmoss@ozmoss.com'
Subject: Web.config BAK files

Hey All,

 

Does anyone know what processes create backups of the web.config
file? We have about 30 .bak files of our site web.config file. They are all
named with a date and time and there doesn't appear to be any identifiable
pattern to their creation apart from the fact that there are more than one
file with the same date modified.  This is a screenshot of some of the
files.

 



 

 

 

Cheers

 

Paul

 

 

 

  _  

The information transmitted by this e-mail is intended only for the
addressee and may contain confidential  and/or privileged material. Any
interception, review, retransmission, dissemination, or other use of, or
taking of any action upon this information by persons or entities other than
the intended recipient is prohibited by law and may subject them to criminal
or civil liability. Unless explicitly attributed, the opinions expressed are
personal and not those of HomeStart or the South Australian Government. If
you received this communication in error, please contact us immediately at
ad...@homestart.com.au, and delete the communication.

<>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Site Collection Admin - use group

2009-09-21 Thread Brian Farnhill
I'm not sure that would work, but certainly worth a shot though

 

If you want to assign more than 2 SCA's though you can do this at the site
settings pages rather than through CA. Just sign in to the site as a SCA and
you will see "Site Collection Administrators" as an option under people and
groups, that page has a people picker (still limited to people only) but you
can put as many in there as you like. Not sure why the CA site does it
differently because there is no difference.

 

It is still a pain having to manage it for individual users though!

 

Regards,

 

Brian Farnhill

Blog:  <http://blog.brianfarnhill.com/> http://blog.brianfarnhill.com |
Twitter:  <http://twitter.com/BrianFarnhill> @BrianFarnhill | Mobile: 0408
289 303

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Paul Noone
Sent: Tuesday, 22 September 2009 4:02 PM
To: ozmoss@ozmoss.com
Subject: RE: Site Collection Admin - use group

 

Hi Adam,

 

We want to use a group for precisely the reasons you specified.

. It can be managed from AD

. It allows for more than two SCAs

. We don't want to assign individuals at the site level every time.
What a pain!

Sadly, just like site member groups, MOSS seems to love the idea of users
over groups. :\

 

I did actually think of a simple enough solution to this. Just make a copy
of the current page and change the field to people and groups.

 

Regards,

Paul

Online Developer, ICT
CEO Sydney

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Adam J. Clark
Sent: Tuesday, 22 September 2009 3:19 PM
To: ozmoss@ozmoss.com
Subject: RE: Site Collection Admin - use group

 

Hey Paul,

   I don't have a solution, more just a question of use...  Are
you looking at this function to give the SCA to a group of people (more than
two obviously) or just to make changing the SCA person easier though AD
management?

 

My thinking is that it is always better to have less SCA's than more as it
can limit your legal liability for individuals on your SharePoint
environment.

 

Cheers

 

Regards,

 

Adam Clark

Solutions Architect 

 


 

 


SM_Logo_RGB_email3

Mobile: +61 412 344 037

Email: <mailto:adam.cl...@sharingminds.com.au>
adam.cl...@sharingminds.com.au

Web:  <http://www.sharingminds.com.au/> http://www.sharingminds.com.au

Blog:   <http://adamclark.wordpress.com/> http://adamclark.wordpress.com

 

 

 

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Paul Noone
Sent: Tuesday, 22 September 2009 3:08 PM
To: ozmoss@ozmoss.com
Subject: RE: Site Collection Admin - use group

 

Thanks Edge. But Brian is right on both counts.

 

Full Control is not the same as site collection admin. And not being able to
assign a group to this field truly sucks. L

 

Thanks to you both.

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Edge
Sent: Tuesday, 22 September 2009 2:59 PM
To: ozmoss@ozmoss.com
Subject: Re: Site Collection Admin - use group

 

Agreed that's not the same thing. 

Try and see if the solution works for you. because internally actually that
page to add primary site collection is an override of that functionality
from the page I sent

 

...you know, the story of the cat and the skinning thing...

 

 

Cheers,

-Edge

On Tue, Sep 22, 2009 at 2:52 PM, Brian Farnhill 
wrote:

That's just the Full Control permission in the site collection, which isn't
the same as site collection admin

 

As far as I know there isn't a way to use any sort of group for this, which
sucks - They have a SharePoint group in CA for Farm Administrators (and I'm
pretty sure you can put AD groups in there) but for site collection admin
you have to select only specific people without the use of groups, that's a
bit of a fail in my book

 

Regards,

 

Brian Farnhill

Blog:  <http://blog.brianfarnhill.com/> http://blog.brianfarnhill.com |
Twitter:  <http://twitter.com/BrianFarnhill> @BrianFarnhill | Mobile: 0408
289 303

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Edge
Sent: Tuesday, 22 September 2009 2:29 PM 


To: ozmoss@ozmoss.com
Subject: Re: Site Collection Admin - use group

 

try this:

 

- go to  http://
<http://%3cyour%20site%20collection%3e/_layouts/aclinv.aspx> /_layouts/aclinv.aspx

- add the group

- chose give permissions directly

- select full control

- click ok

 

Edge

www.superedge.net <http://www.superedge.net/> 

 

 

On Tue, Sep 22, 2009 at 2:19 PM, Paul Noone
 wrote:

CA and at the site collection level. It's a people picker field in both.

Doesn't accept groups for some reason.


-Original Message-
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Bill Williamson
Sent: Tuesday, 22 September 2009 2:14 PM
To: o

RE: Site Collection Admin - use group

2009-09-21 Thread Brian Farnhill
That's just the Full Control permission in the site collection, which isn't
the same as site collection admin

 

As far as I know there isn't a way to use any sort of group for this, which
sucks - They have a SharePoint group in CA for Farm Administrators (and I'm
pretty sure you can put AD groups in there) but for site collection admin
you have to select only specific people without the use of groups, that's a
bit of a fail in my book

 

Regards,

 

Brian Farnhill

Blog:  <http://blog.brianfarnhill.com/> http://blog.brianfarnhill.com |
Twitter:  <http://twitter.com/BrianFarnhill> @BrianFarnhill | Mobile: 0408
289 303

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Edge
Sent: Tuesday, 22 September 2009 2:29 PM
To: ozmoss@ozmoss.com
Subject: Re: Site Collection Admin - use group

 

try this:

 

- go to  http://
<http://%3cyour%20site%20collection%3e/_layouts/aclinv.aspx> /_layouts/aclinv.aspx

- add the group

- chose give permissions directly

- select full control

- click ok

 

Edge

www.superedge.net <http://www.superedge.net/> 

 

 

On Tue, Sep 22, 2009 at 2:19 PM, Paul Noone
 wrote:

CA and at the site collection level. It's a people picker field in both.

Doesn't accept groups for some reason.


-Original Message-
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Bill Williamson
Sent: Tuesday, 22 September 2009 2:14 PM
To: ozmoss@ozmoss.com
Subject: Re: Site Collection Admin - use group

Are you talking about in central admin?

On Tue, Sep 22, 2009 at 2:10 PM, Paul Noone
 wrote:
> Has anyone found a nifty way to hack the site collection admin people
picker
> field so it'll accept groups??
>
>
>
> SharePoint Manager won't let me edit these fields. L
>
>
>
> Regards,
>
> Paul
>
> Online Developer, ICT
> CEO Sydney
>
>
>
> ___
> ozmoss mailing list
> ozmoss@ozmoss.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
>
>
___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

 

___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Multiple deletion of SharePoint groups

2009-07-06 Thread Brian Farnhill
Your best bet will be to delete them through code then -
SPWeb.SiteGroups.Delete will do the trick. You could probably put together a
powershell script to do it for you.

 

 

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone
Sent: Tuesday, 7 July 2009 2:14 PM
To: ozmoss@ozmoss.com
Subject: Multiple deletion of SharePoint groups

 

I know this can't be done through the UI but has anyone found a solution to
this? A web part, custom page, console app.?

 

I've got a bunch of groups that have come in via a site import and am not
really looking forward to deleting them one at a time.

 

I'll accept almost anything at this stage. J

 

Regards,

Paul

Online Developer, ICT
CEO Sydney

 

  _  

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com

Subscribe: ozmoss-subscr...@ozmoss.com

Unsubscribe: ozmoss-unsubscr...@ozmoss.com

List FAQ:  
http://www.codify.com/lists/ozmoss

Other lists you might want to join:  
http://www.codify.com/lists


Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



Blank email alerts

2009-06-04 Thread Brian Farnhill
Hi all,

I'm having an issue with email alerts in a MOSS site - basically they are 
working most of the time but sometimes it will go through a phase of a day or 
two where it just sends out blank emails instead of including the details of 
what list item was updated etc. After a day or so it will usually fix itself, 
and I found that running stsadm -o updatealerttemplates (with all the 
appropriate parameters) and then resetting the timer service appears to resolve 
it, but then after another week or so it just starts happening again.

I did post about this on the MSDN forums at 
http://social.technet.microsoft.com/Forums/en-US/sharepointgeneral/thread/2da0fd95-2156-4b9f-a0b2-8107ee470185
 but the only response I got was the updatealerttempaltes idea.

Does anyone else have any clue what might be causing this?

Regards,

Brian Farnhill
Consultant
Technical Consulting

Mobile:   0408 289 303
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: Security - document libraries

2009-06-02 Thread Brian Farnhill
Agreed - I have seen it done before with an event handler that sits on the 
ItemAdded method to update the permissions of the item as soon as it is created.

The only potential issue with that is when someone leaves the organisation, you 
will require someone with appropriate access to change the permissions of the 
item to someone else, so that process needs to be managed.

Brian Farnhill
Consultant
Technical Consulting

Mobile:   0408 289 303
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Bill Williamson 
[b...@bbqninja.com]
Sent: Wednesday, 3 June 2009 4:03 PM
To: ozmoss@ozmoss.com
Subject: Re: Security - document libraries

And when they connect via fileshare?

IMO views are not a replacement for security. This sounds like something for 
workflow.

On Wed, Jun 3, 2009 at 3:29 PM, Paul Noone 
mailto:paul.no...@ceosyd.catholic.edu.au>> 
wrote:

• Create a custom view.

• Filter it on [Me].

• Set as default view.

• Delete other views (yes, you can do this).

• Lock down permissions on the list.

Regards,

Paul

Online Developer, ICT
CEO Sydney

From: ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com> 
[mailto:ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>] On Behalf Of Peter Milliner
Sent: Wednesday, 3 June 2009 3:16 PM
To: ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>
Subject: Security - document libraries

Hello all,

I have a user that requires timesheet creation (using an excel template) to a 
document library but does not want other users to see each others timesheets.

Does anybody know if it is possible to configure a document library so that the 
user can only see the documents they have uploaded or created. I know this is 
possible on other lists under advanced features but not on document libraries.

I have found some workarounds suggesting using folders for each user and 
setting permissions on folders or views using the created by [Me] filter

Does anyone have any other suggestions

Regards

Peter Milliner

Intranet (SharePoint Administrator)

Information Technology and Communications Unit

Bendigo Regional Institute of TAFE

PO Box 170, Bendigo Victoria 3552

T: +61 3 5434 1510
M: 0423 913 999
F: +61 3 5434 1497

E: pmilli...@britafe.vic.edu.au<mailto:pmilli...@britafe.vic.edu.au>
W: www.britafe.vic.edu.au<http://www.britafe.vic.edu.au>

CRICOS Provider No: 03059A

This email is intended for the recipient only. It may contain confidential or 
sensitive information which should not be passed on to unauthorised persons. 
Views expressed in this email are the author’s own and form no basis for any 
contractual obligation by Bendigo Regional Institute of TAFE, nor do they imply 
a formal endorsement by the Institute of those views.



Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>

Subscribe: ozmoss-subscr...@ozmoss.com<mailto:ozmoss-subscr...@ozmoss.com>

Unsubscribe: ozmoss-unsubscr...@ozmoss.com<mailto:ozmoss-unsubscr...@ozmoss.com>

List FAQ: http://www.codify.com/lists/ozmoss

Other lists you might want to join: http://www.codify.com/lists


Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>
Subscribe: ozmoss-subscr...@ozmoss.com<mailto:ozmoss-subscr...@ozmoss.com>
Unsubscribe: ozmoss-unsubscr...@ozmoss.com<mailto:ozmoss-unsubscr...@ozmoss.com>
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists


Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: Trusted Domains and user accounts

2009-06-01 Thread Brian Farnhill
Hey Dan,

We had a similar situation with a client recently as they have had an AD 
migration going on - unfortunately though it just had to become an education 
process for the users to type "NEWDOMAIN\user" when using the people fields. 
Basically as long as the trust exists between the domains SharePoint will 
happily resolve users from either domain, and that doesn't relate to what 
SharePoint imports into the SSP for its user profile data either.

Brian Farnhill
Consultant
Technical Consulting

Mobile:   0408 289 303
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Daniel Brown 
[daniel.br...@internode.on.net]
Sent: Tuesday, 2 June 2009 12:00 PM
To: ozmoss@ozmoss.com
Subject: Trusted Domains and user accounts

Howdy all,

I have a client which has 2 domains, DOMAIN1 and DOMAIN2. DOMAIN1 is a old 
domain and is knackered and DOMAIN1 will be its replacement. In the mean time, 
the Windows Administrators have set up a trust between both domains.

Now in SharePoint which is in DOMAIN2, all DOMAIN1 user accounts are coming 
though. This in itself isn’t an issue.

However because its the same accounts, 1 account for DOMAIN1 and 1 for DOMAIN2. 
People  are adding the wrong accounts and hitting the wall with permissions.

i.e they add DOMAIN1\Daniel to the site, but Daniel is on DOMAIN2 (yes on 
domain1 also, but we all know about users).

Has anyone done this before or have a way of removing the DOMAIN1 accounts from 
the user profiles and prevent their importing?

Checked throughout the SSP but not much luck.

Apologies if it’s not explained clear.

Thanks,

Daniel Brown – MACS – MCP – MCTS - SharePoint 
MVP<https://mvp.support.microsoft.com/profile/Daniel.Brown>
Blog: http://www.danielbrown.id.au<http://www.danielbrown.id.au/>
Mobile: 0419-804-099

ý Please consider your Environment before printing this email.


Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: 'Explorer view' and office documents

2009-05-31 Thread Brian Farnhill
When you say 'blank', are you talking about something that was created from a 
"right click > New word document" type of thing? From memory you need to put 
some content in there (otherwise I'm pretty sure the file size will be 0Kb and 
as such won't have anything to upload).

Have you tried putting the same documents into the document library through the 
regular upload? This should let you know if it's explorer view or SP itself 
that has the problem.

Brian Farnhill
Consultant
Technical Consulting

Mobile:   0408 289 303
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Nigel Hertz 
[nigel.he...@stockland.com.au]
Sent: Monday, 1 June 2009 1:30 PM
To: ozmoss@ozmoss.com
Subject: RE: 'Explorer view' and office documents

Chris - yes to both of those.

Fadi – I created blank excel and word files and uploaded them, and had the 
exact same issue.


Nigel


From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Chris Milne
Sent: Monday, 1 June 2009 1:26 PM
To: ozmoss@ozmoss.com
Subject: RE: 'Explorer view' and office documents

It only works from production if we access it via Citrix.


-  Are you using the same access mapping in the two scenarios?

-  In the Citrix scenario, are you using the same AD accounts as when 
accessing it otherwise?


Kind regards,

Chris

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Nigel Hertz
Sent: Friday, 29 May 2009 10:46 AM
To: ozmoss@ozmoss.com
Subject: 'Explorer view' and office documents

Hey all

I’ve come across a strange – and recent – issue with explorer view and office 
document. Since sometime last week, we cannot copy and paste office documents 
from the explorer view in a document library.

This was definitely working last week, as I needed to back up some files to 
disk for an external client.

The error message we receive is “Cannot copy [file]: The parameter is 
incorrect.” This happens when trying to copy ANY word, excel or powerpoint file 
from any document library within our production environment. It does, however, 
work fine from test or dev. It only works from production if we access it via 
Citrix.

PDF files copy fine, as to MS Project files.

I’ve checked all the usual suspects – path length, invalid characters, 
permissions (both local and on the server) as well as the unusual suspect of 
office-compatible saved (whereby you can’t upload files that are created in 
OpenOffice and saved as MS Word compatible)

I’m at a complete loss as to what is causing this, and am hoping someone out 
there might have an idea.

Nigel

Kind regards
Nigel Hertz

Software Developer | Information Technology
Stockland
Level 25 | 133 Castlereagh Street | Sydney NSW 2000
T: 02 9035 2617 | F: 02 8988 2617


Stockland Notice: If this communication has been sent to you by mistake, please 
delete and notify us.  If it has been sent to you by mistake, legal privilege 
is not waived or lost and you are not entitled to use it in any way. Stockland 
and its subsidiaries reserve the right to monitor e-mail communication through 
its networks.

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Stockland Notice: If this communication has been sent to you by mistake, please 
delete and notify us.  If it has been sent to you by mistake, legal privilege 
is not waived or lost and you are not entitled to use it in any way. Stockland 
and its subsidiaries reserve the right to monitor e-mail communication through 
its networks.

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: createtaskwithcontenttype

2009-05-18 Thread Brian Farnhill
That's in a feature, so generally in a feature you have your feature.xml file, 
and one or more elements XML files (if you just have one it is generally called 
elements.xml)

Check out SPDevWiki for info on features and how to make them - 
http://sharepointdevwiki.com/display/public/Features

Brian Farnhill
Consultant
Technical Consulting

Mobile:   0408 289 303
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Chris Milne 
[chris.mi...@dataaspects.com.au]
Sent: Tuesday, 19 May 2009 1:01 PM
To: ozmoss@ozmoss.com
Subject: RE: createtaskwithcontenttype

Thanks Brian.

Elements file.. is that in a site definition?  Do you need to create one to 
implement that?  So far I’ve just created the workflow project.


Kind regards,

Chris



From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Brian Farnhill
Sent: Tuesday, 19 May 2009 11:18 AM
To: ozmoss@ozmoss.com
Subject: RE: createtaskwithcontenttype

Create a content type that inherits from the workflow task one - we did that 
via a feature. So something like this in your elements file should so it:




This creates a CT that inherits from the workflow task one, and from here in 
that XML I can add fields to it like any other content type deployed via a 
feature to store my own data.

I hope that helps.

Brian Farnhill
Consultant
Technical Consulting

Mobile:   0408 289 303
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Chris Milne 
[chris.mi...@dataaspects.com.au]
Sent: Tuesday, 19 May 2009 10:57 AM
To: ozmoss@ozmoss.com
Subject: createtaskwithcontenttype
Morning all,

I’m creating a SharePoint workflow in VS and am having trouble implementing 
createtaskwithcontenttype.  Here’s what I’m getting when I run the workflow:

Workflow1.  Information: System.Reflection.TargetInvocationException: Exception 
has been thrown by the target of an invocation. ---> System.ArgumentException: 
The content type of a workflow task must be derived from the Workflow Task 
content type.

And here’s what I’m doing:

In the portal..

-  Created a content type on my site, let’s call it ‘abc’, derived from 
List / Task

-  Enabled content types on my task list

-  Added abc as a content type to my task list

-  Can manually create a task of this CT in this list

-

In VS...

-  Plopped down a ‘createtaskwithcontenttype’ (createTask1) and 
‘completetask’ activity.  Left ‘ContentTypeId’ property of the 
createtaskwithcontenttype’ blank in the properties window

-  Populated the correlation tokens, task properties and task id’s 
(works fine if i use a ‘createtask’ instead)

-  Grabbing the SPContentTypeId of abc in a code activity before the 
createtaskwithcontenttype

-  Setting: createTask1.ContentTypeId = abcContentTypeId.ToString() at 
the start of createTask1_MethodInvoking()

Okay, so I’ve just realised that my CT is derived from List / Task, but it’s 
expecting it to be derived from “Workflow Task”.  I know this is the CT it uses 
if you instead use a ‘createtask’ activity, but how can you create a 
user-defined CT that derives from “Workflow Task”?


Kind regards,

Chris




Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: createtaskwithcontenttype

2009-05-18 Thread Brian Farnhill
Also, one thing I ran into with this as well was making sure that your workflow 
tasks are associated with the task list before you use createtaskwithcontenttype

When you associate a workflow you can specify a default task content type ID - 
in my scenario I had multiple task content types, so I put in a code action at 
the very start of the workflow that checked to make sure the required 
additional content types were associated with the tasks list.

Brian Farnhill
Consultant
Technical Consulting

Mobile:   0408 289 303
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Jeffery Tsui 
[jeffe...@antaressolutions.com.au]
Sent: Tuesday, 19 May 2009 1:00 PM
To: ozmoss@ozmoss.com
Subject: RE: createtaskwithcontenttype

I also prefer to use feature to deploy custom content type, especially custom 
workflow task which allows you to easily manage custom columns and form 
association.

The default workflow task content type has ContentType ID=0x010801 , you will 
need to add “00” before appending GUID without “-“. Eg. 
0x01080100113E21589FD845e281EFD2F7E3D88D5B

Remember to use CreateTaskWithContentType action and point the ContentTypeId to 
the custom content type id.



From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Brian Farnhill
Sent: Tuesday, 19 May 2009 11:18 AM
To: ozmoss@ozmoss.com
Subject: RE: createtaskwithcontenttype

Create a content type that inherits from the workflow task one - we did that 
via a feature. So something like this in your elements file should so it:




This creates a CT that inherits from the workflow task one, and from here in 
that XML I can add fields to it like any other content type deployed via a 
feature to store my own data.

I hope that helps.

Brian Farnhill
Consultant
Technical Consulting

Mobile:   0408 289 303
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Chris Milne 
[chris.mi...@dataaspects.com.au]
Sent: Tuesday, 19 May 2009 10:57 AM
To: ozmoss@ozmoss.com
Subject: createtaskwithcontenttype
Morning all,

I’m creating a SharePoint workflow in VS and am having trouble implementing 
createtaskwithcontenttype.  Here’s what I’m getting when I run the workflow:

Workflow1.  Information: System.Reflection.TargetInvocationException: Exception 
has been thrown by the target of an invocation. ---> System.ArgumentException: 
The content type of a workflow task must be derived from the Workflow Task 
content type.

And here’s what I’m doing:

In the portal..

-  Created a content type on my site, let’s call it ‘abc’, derived from 
List / Task

-  Enabled content types on my task list

-  Added abc as a content type to my task list

-  Can manually create a task of this CT in this list

-

In VS...

-  Plopped down a ‘createtaskwithcontenttype’ (createTask1) and 
‘completetask’ activity.  Left ‘ContentTypeId’ property of the 
createtaskwithcontenttype’ blank in the properties window

-  Populated the correlation tokens, task properties and task id’s 
(works fine if i use a ‘createtask’ instead)

-  Grabbing the SPContentTypeId of abc in a code activity before the 
createtaskwithcontenttype

-  Setting: createTask1.ContentTypeId = abcContentTypeId.ToString() at 
the start of createTask1_MethodInvoking()

Okay, so I’ve just realised that my CT is derived from List / Task, but it’s 
expecting it to be derived from “Workflow Task”.  I know this is the CT it uses 
if you instead use a ‘createtask’ activity, but how can you create a 
user-defined CT that derives from “Workflow Task”?


Kind regards,

Chris




Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might wa

RE: createtaskwithcontenttype

2009-05-18 Thread Brian Farnhill
Create a content type that inherits from the workflow task one - we did that 
via a feature. So something like this in your elements file should so it:





This creates a CT that inherits from the workflow task one, and from here in 
that XML I can add fields to it like any other content type deployed via a 
feature to store my own data.

I hope that helps.

Brian Farnhill
Consultant
Technical Consulting

Mobile:   0408 289 303
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Chris Milne 
[chris.mi...@dataaspects.com.au]
Sent: Tuesday, 19 May 2009 10:57 AM
To: ozmoss@ozmoss.com
Subject: createtaskwithcontenttype

Morning all,

I’m creating a SharePoint workflow in VS and am having trouble implementing 
createtaskwithcontenttype.  Here’s what I’m getting when I run the workflow:

Workflow1.  Information: System.Reflection.TargetInvocationException: Exception 
has been thrown by the target of an invocation. ---> System.ArgumentException: 
The content type of a workflow task must be derived from the Workflow Task 
content type.

And here’s what I’m doing:

In the portal..

-  Created a content type on my site, let’s call it ‘abc’, derived from 
List / Task

-  Enabled content types on my task list

-  Added abc as a content type to my task list

-  Can manually create a task of this CT in this list

-

In VS...

-  Plopped down a ‘createtaskwithcontenttype’ (createTask1) and 
‘completetask’ activity.  Left ‘ContentTypeId’ property of the 
createtaskwithcontenttype’ blank in the properties window

-  Populated the correlation tokens, task properties and task id’s 
(works fine if i use a ‘createtask’ instead)

-  Grabbing the SPContentTypeId of abc in a code activity before the 
createtaskwithcontenttype

-  Setting: createTask1.ContentTypeId = abcContentTypeId.ToString() at 
the start of createTask1_MethodInvoking()

Okay, so I’ve just realised that my CT is derived from List / Task, but it’s 
expecting it to be derived from “Workflow Task”.  I know this is the CT it uses 
if you instead use a ‘createtask’ activity, but how can you create a 
user-defined CT that derives from “Workflow Task”?


Kind regards,

Chris




Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: HTML Viewer Service

2009-05-11 Thread Brian Farnhill
The document conversion stuff creates a copy and maintains a link just like you 
said, as far as I know that's the only way it works and won't do an on the fly 
conversion (the conversions it does do get queued up to be converted, they 
aren't an instant thing)

Brian Farnhill
Consultant
Technical Consulting

Mobile:   0408 289 303
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Paul Noone 
[paul.no...@ceosyd.catholic.edu.au]
Sent: Tuesday, 12 May 2009 10:07 AM
To: ozmoss@ozmoss.com
Subject: RE: HTML Viewer Service

Hi Paul,

Would a custom Document Converter be able to achieve the same result as this 
defunct service? Everything I’ve read about converters talks about creating 
copies and placing them in the same document library as the original. There’s 
also mention of a relationship to the original file from which it was generated.

What I want to deliver is on-the-fly conversions of Office files to HTML temp 
files for end users who don’t have Office installed. The free HTML viewer used 
to do this I believe but is no longer available.

Regards,

Paul
Online Developer, ICT
CEO Sydney
From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Turner
Sent: Tuesday, 12 May 2009 9:29 AM
To: ozmoss@ozmoss.com
Subject: RE: HTML Viewer Service

No,  It is not available anymore.  You need to look at Document Conversion 
instead:

http://office.microsoft.com/en-us/sharepointserver/HA101575371033.aspx<http://office.microsoft.com/en-us/sharepointserver/HA101575371033aspx>
http://msdn.microsoft.com/en-us/library/ms518493.aspx
http://msdn.microsoft.com/en-us/library/aa979484.aspx


Regards

Paul Turner
Senior Solutions Specialist

M: 0412 748 168   P:  08 8238 0912  F:  08 8234 5966
A: 66 Henley Beach Rd, Mile End SA 5031
E: paul.tur...@dws.com.au<mailto:paul.tur...@dws.com.au> W: 
www.dws.com.au<http://www.dws.com.au/>
[cid:image001.png@01C9D2E8.6D28DD10]
ADVANCED BUSINESS SOLUTIONS LTD
This email and any files transmitted with it are confidential and are only for 
the use of the person to whom they are addressed. If you are not the intended 
recipient you have received this email in error and are requested to delete it 
immediately. Any opinion expressed in this e-mail may not necessarily be that 
of DWS Pty Ltd.
Please consider the environment before printing this email.


From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone
Sent: Tuesday, 12 May 2009 8:06 AM
To: ozmoss@ozmoss.com
Subject: HTML Viewer Service

Does anyone know if this is still available anywhere as a free download from MS?

Or is the new recommendation to install Office on the server?

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

<>

RE: SharePoint Designer is now free. [SEC=UNCLASSIFIED]

2009-04-02 Thread Brian Farnhill
Yea I'll give you that one - SPD still does a few too many things that drive me 
insane though, does plenty of good things too but still needs some work IMO


From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Noja, Fadi 
[fadi.n...@fahcsia.gov.au]
Sent: Friday, 3 April 2009 9:28 AM
To: ozmoss@ozmoss.com
Subject: RE: SharePoint Designer is now free. [SEC=UNCLASSIFIED]

It’s still 1,000,000 times better than good old frontpage was.


From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Brian Farnhill
Sent: Friday, 3 April 2009 9:26 AM
To: ozmoss@ozmoss.com
Subject: RE: SharePoint Designer is now free. [SEC=UNCLASSIFIED]

Free doesn't cut it - I want MS to pay me for the fact that I have had to use 
it at all over the past two years :-) lol

Brian Farnhill
Consultant
Technical Consulting

Direct:   02 6225 4307
Main: 02 6225 4333
Mobile:   0408 289 303
Fax:  02 6225 4334
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

Microsoft Certified Application Developer

From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Paul Noone 
[paul.no...@ceosyd.catholic.edu.au]
Sent: Friday, 3 April 2009 9:19 AM
To: ozmoss@ozmoss.com
Subject: RE: SharePoint Designer is now free. [SEC=UNCLASSIFIED]
Why does that not come as a surprise? :D

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Noja, Fadi
Sent: Friday, 3 April 2009 9:18 AM
To: ozmoss@ozmoss.com
Subject: SharePoint Designer is now free. [SEC=UNCLASSIFIED]

Just thought I’d let everyone know that SharePoint Designer is now free of 
charge.

http://blogs.msdn.com/sharepointdesigner/archive/2009/04/02/download-spd-for-free-today.aspx

Fadi

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: SharePoint Designer is now free. [SEC=UNCLASSIFIED]

2009-04-02 Thread Brian Farnhill
Free doesn't cut it - I want MS to pay me for the fact that I have had to use 
it at all over the past two years :-) lol

Brian Farnhill
Consultant
Technical Consulting

Direct:   02 6225 4307
Main: 02 6225 4333
Mobile:   0408 289 303
Fax:  02 6225 4334
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

Microsoft Certified Application Developer

From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Paul Noone 
[paul.no...@ceosyd.catholic.edu.au]
Sent: Friday, 3 April 2009 9:19 AM
To: ozmoss@ozmoss.com
Subject: RE: SharePoint Designer is now free. [SEC=UNCLASSIFIED]

Why does that not come as a surprise? :D

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Noja, Fadi
Sent: Friday, 3 April 2009 9:18 AM
To: ozmoss@ozmoss.com
Subject: SharePoint Designer is now free. [SEC=UNCLASSIFIED]

Just thought I’d let everyone know that SharePoint Designer is now free of 
charge.

http://blogs.msdn.com/sharepointdesigner/archive/2009/04/02/download-spd-for-free-today.aspx

Fadi

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: Using Office 2007 and SharePoint to generate Word 2003 Documents

2009-03-23 Thread Brian Farnhill
On a previous project I was able to generate word 2003 documents through WordML 
(the word XML format that Ishai mentioned). This ran far better than running 
the Word API up on the server and still gave us plenty of flexibility to 
control the look and feel of the documents. I don't remember exactly where I 
found my info on how to do it all but I would have got it all from Google so 
have a look around and see what you can find.

Brian Farnhill
Consultant
Technical Consulting

Direct:   02 6225 4307
Main: 02 6225 4333
Mobile:   0408 289 303
Fax:  02 6225 4334
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Ishai Sagi
Sent: Tuesday, 24 March 2009 9:51 AM
To: ozmoss@ozmoss.com
Subject: RE: Using Office 2007 and SharePoint to generate Word 2003 Documents

I would recommend against using the word API on the server. How about the word 
2003 xml format? That should be easy to generate and does not require any 
office installation on the server.

Ishai Sagi
Solutions Architect
Information Services

Mobile:   04 2379 1728
Email:ishai.s...@uniqueworld.net<mailto:ishai.s...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog:  www.sharepoint-tips.com<http://www.sharepoint-tips.com/>
[cid:image001.gif@01C9AC66.BF32F800]<http://www.uniqueworld.net/>



From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Adam J. Clark
Sent: Tuesday, 24 March 2009 8:58 AM
To: ozmoss@ozmoss.com
Subject: Using Office 2007 and SharePoint to generate Word 2003 Documents

Hi all,
I am working with a client where we have a requirement to 
automatically generate some word documents in an office 2003 format.  In doing 
a little research I am thinking about using Office 2007 to generate the 
documents and then programmatically save the documents in Word 2003 format  to 
a WSS 3.0 document library for distribution to the clients users.

Has anyone had any substantial experience in this area?  What are the Pro's and 
Con's about this approach or is there a better approach that anyone has found?

Cheers

Regards,

Adam Clark
Solutions Architect





[cid:image002.gif@01C9AC66.BF32F800]

Mobile: +61 412 344 037
Email:adam.cl...@sharingminds.com.au<mailto:adam.cl...@sharingminds.com.au>
Web: http://www.sharingminds.com.au<http://www.sharingminds.com.au/>
Blog:  http://adamclark.wordpress.com<http://adamclark.wordpress.com/>




Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

<><>

RE: How to deploy CustomSiteAction.xml file via a feature

2009-03-03 Thread Brian Farnhill
We did it in a second feature because the FeatureActivated event will fire 
after the actions form your elements.xml file have happened. So if you wanted 
to do it with the one feature you would find that it tried to deploy the file 
and failed, then went and deleted the file leaving you with nothing. Using a 
separate feature to delete it got us around that flaw. I suppose you could 
write the receiver to upload the file for you through code, then everything 
would be in one feature, but we decided two features that have one simple 
receiver was less complex than one feature with a more complex receiver.

Brian Farnhill
Consultant
Technical Consulting

Direct:   02 6225 4307
Main: 02 6225 4333
Mobile:   0408 289 303
Fax:  02 6225 4334
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

Microsoft Certified Application Developer
Microsoft Certified Technology Specialist: WSS 3 Application Development

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Trevor Andrew
Sent: Wednesday, 4 March 2009 11:02 AM
To: ozmoss@ozmoss.com
Subject: RE: How to deploy CustomSiteAction.xml file via a feature

Hi All / Brian,

Still on the topic of deploying my CustomSiteAction.xml file via a feature, I 
seem to have run into the issue that Brian highlighted earlier in this thread. 
As the CustomSiteAction.xml file exists in the Editing Menu folder of the 
Master Page Gallery already (as put there by the publishing feature I presume), 
the two options for IgnoreIfAlreadyExists don't help me. If set to true, then 
the file doesn't get deployed, but no error is generated. If set to false, an 
error is generated indicating the file already exists.

Brian mentioned using another feature prior to the one that deploys the file, 
to delete the existing file. What's the recommended way of deleting an existing 
file that I wish to overwrite in this situation? Do I use a simple feature 
receiver on the FeatureActivated event of this second feature to delete the 
file? Or can I simply delete the file during the FeatureActivating event of my 
original feature?

Cheers,
Trevor Andrew

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Brian Farnhill
Sent: Monday, 2 March 2009 5:20 PM
To: ozmoss@ozmoss.com
Subject: RE: How to deploy CustomSiteAction.xml file via a feature

Sorry, you should be doing these in the same way - so in your feature 
elements.xml file you should have a 'module' tag that lists the files that are 
being deployed. The same theory would apply for deploying a list template and 
the XML file using this method, just change the properties to set what is being 
deployed to where.

Brian Farnhill
Consultant
Technical Consulting

Direct:   02 6225 4307
Main: 02 6225 4333
Mobile:   0408 289 303
Fax:  02 6225 4334
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

Microsoft Certified Application Developer
Microsoft Certified Technology Specialist: WSS 3 Application Development

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Trevor Andrew
Sent: Monday, 2 March 2009 5:19 PM
To: ozmoss@ozmoss.com
Subject: RE: How to deploy CustomSiteAction.xml file via a feature

Hi Brian,

Sorry if I didn't make myself clear. I'm not referring to creating a new 
library at all.

I just see an analogy between a) a feature delivering a .STP file to the List 
Template Gallery document library and b) a feature delivering an XML file 
(CustomSiteAction.xml) to the Editing Menu folder of the Master Page Gallery 
document library.  Not sure it's in any way better than delivering it via a 
module, just suggesting it as an alternative.

Cheers,
Trevor

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Brian Farnhill
Sent: Monday, 2 March 2009 4:46 PM
To: ozmoss@ozmoss.com
Subject: RE: How to deploy CustomSiteAction.xml file via a feature

I'm not quite sure what you are referring to here? What does the list template 
gallery have to do with it? You are uploading one file to an existing library, 
not creating a new library

Brian Farnhill
Consultant
Technical Consulting

Direct:   02 6225 4307
Main: 02 6225 4333
Mobile:   0408 289 303
Fax:  02 6225 4334
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

Microsoft Certified Application Developer
Microsoft Certified Technology Specialist: WSS 3 Application Development

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Trevor Andrew
Sent: Monday, 2 March 2009 3:54 PM

RE: How to deploy CustomSiteAction.xml file via a feature

2009-03-01 Thread Brian Farnhill
Sorry, you should be doing these in the same way - so in your feature 
elements.xml file you should have a 'module' tag that lists the files that are 
being deployed. The same theory would apply for deploying a list template and 
the XML file using this method, just change the properties to set what is being 
deployed to where.

Brian Farnhill
Consultant
Technical Consulting

Direct:   02 6225 4307
Main: 02 6225 4333
Mobile:   0408 289 303
Fax:  02 6225 4334
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

Microsoft Certified Application Developer
Microsoft Certified Technology Specialist: WSS 3 Application Development

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Trevor Andrew
Sent: Monday, 2 March 2009 5:19 PM
To: ozmoss@ozmoss.com
Subject: RE: How to deploy CustomSiteAction.xml file via a feature

Hi Brian,

Sorry if I didn't make myself clear. I'm not referring to creating a new 
library at all.

I just see an analogy between a) a feature delivering a .STP file to the List 
Template Gallery document library and b) a feature delivering an XML file 
(CustomSiteAction.xml) to the Editing Menu folder of the Master Page Gallery 
document library.  Not sure it's in any way better than delivering it via a 
module, just suggesting it as an alternative.

Cheers,
Trevor

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Brian Farnhill
Sent: Monday, 2 March 2009 4:46 PM
To: ozmoss@ozmoss.com
Subject: RE: How to deploy CustomSiteAction.xml file via a feature

I'm not quite sure what you are referring to here? What does the list template 
gallery have to do with it? You are uploading one file to an existing library, 
not creating a new library

Brian Farnhill
Consultant
Technical Consulting

Direct:   02 6225 4307
Main: 02 6225 4333
Mobile:   0408 289 303
Fax:  02 6225 4334
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

Microsoft Certified Application Developer
Microsoft Certified Technology Specialist: WSS 3 Application Development

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Trevor Andrew
Sent: Monday, 2 March 2009 3:54 PM
To: ozmoss@ozmoss.com
Subject: RE: How to deploy CustomSiteAction.xml file via a feature

Hi Brian,

Thanks for that ... In another project we actually treated the List Template 
Gallery as a document library, and uploaded .STP files delivered as part of a 
feature directly into it. Could I employ a similar technique to that with this?

Cheers,
Trevor
From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Brian Farnhill
Sent: Monday, 2 March 2009 3:24 PM
To: ozmoss@ozmoss.com
Subject: RE: How to deploy CustomSiteAction.xml file via a feature

This file needs to go into the same location you got it from when you turn on 
the feature, so your module element should have a url attribute of 
"_catalogs\masterpages\Editing Menu". The catch here is that if the publishing 
feature is already turned on then you will need to delete the existing file 
first. To do this in an implementation we did recently we used one feature to 
delete to existing file and then use the second feature to put the new one in. 
I know its not a pretty solution but it does the job.

Brian Farnhill
Consultant
Technical Consulting

Direct:   02 6225 4307
Main: 02 6225 4333
Mobile:   0408 289 303
Fax:  02 6225 4334
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

Microsoft Certified Application Developer
Microsoft Certified Technology Specialist: WSS 3 Application Development

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Trevor Andrew
Sent: Monday, 2 March 2009 2:53 PM
To: ozmoss@ozmoss.com
Subject: How to deploy CustomSiteAction.xml file via a feature

Hi All,

We are updating the CustomSiteAction.xml file in the 
_catalogs\masterpages\Editing Menu directory to modify one of the elements on 
the site action menu. This is all working fine, but I'd like to wrap up this 
change as a feature, as well as the custom page we're distributing.

I'm using WSPBuilder to build my projects, but I'm not quite sure of just where 
in the 12 hive I have to introduce this CustomSiteAction.xml file to ensure it 
gets published to the correct location when the feature is activated.

Cheers,
Trevor Andrew


Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: o

RE: How to deploy CustomSiteAction.xml file via a feature

2009-03-01 Thread Brian Farnhill
I'm not quite sure what you are referring to here? What does the list template 
gallery have to do with it? You are uploading one file to an existing library, 
not creating a new library

Brian Farnhill
Consultant
Technical Consulting

Direct:   02 6225 4307
Main: 02 6225 4333
Mobile:   0408 289 303
Fax:  02 6225 4334
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

Microsoft Certified Application Developer
Microsoft Certified Technology Specialist: WSS 3 Application Development

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Trevor Andrew
Sent: Monday, 2 March 2009 3:54 PM
To: ozmoss@ozmoss.com
Subject: RE: How to deploy CustomSiteAction.xml file via a feature

Hi Brian,

Thanks for that ... In another project we actually treated the List Template 
Gallery as a document library, and uploaded .STP files delivered as part of a 
feature directly into it. Could I employ a similar technique to that with this?

Cheers,
Trevor
From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Brian Farnhill
Sent: Monday, 2 March 2009 3:24 PM
To: ozmoss@ozmoss.com
Subject: RE: How to deploy CustomSiteAction.xml file via a feature

This file needs to go into the same location you got it from when you turn on 
the feature, so your module element should have a url attribute of 
"_catalogs\masterpages\Editing Menu". The catch here is that if the publishing 
feature is already turned on then you will need to delete the existing file 
first. To do this in an implementation we did recently we used one feature to 
delete to existing file and then use the second feature to put the new one in. 
I know its not a pretty solution but it does the job.

Brian Farnhill
Consultant
Technical Consulting

Direct:   02 6225 4307
Main: 02 6225 4333
Mobile:   0408 289 303
Fax:  02 6225 4334
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

Microsoft Certified Application Developer
Microsoft Certified Technology Specialist: WSS 3 Application Development

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Trevor Andrew
Sent: Monday, 2 March 2009 2:53 PM
To: ozmoss@ozmoss.com
Subject: How to deploy CustomSiteAction.xml file via a feature

Hi All,

We are updating the CustomSiteAction.xml file in the 
_catalogs\masterpages\Editing Menu directory to modify one of the elements on 
the site action menu. This is all working fine, but I'd like to wrap up this 
change as a feature, as well as the custom page we're distributing.

I'm using WSPBuilder to build my projects, but I'm not quite sure of just where 
in the 12 hive I have to introduce this CustomSiteAction.xml file to ensure it 
gets published to the correct location when the feature is activated.

Cheers,
Trevor Andrew


Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: How to deploy CustomSiteAction.xml file via a feature

2009-03-01 Thread Brian Farnhill
This file needs to go into the same location you got it from when you turn on 
the feature, so your module element should have a url attribute of 
"_catalogs\masterpages\Editing Menu". The catch here is that if the publishing 
feature is already turned on then you will need to delete the existing file 
first. To do this in an implementation we did recently we used one feature to 
delete to existing file and then use the second feature to put the new one in. 
I know its not a pretty solution but it does the job.

Brian Farnhill
Consultant
Technical Consulting

Direct:   02 6225 4307
Main: 02 6225 4333
Mobile:   0408 289 303
Fax:  02 6225 4334
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

Microsoft Certified Application Developer
Microsoft Certified Technology Specialist: WSS 3 Application Development

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Trevor Andrew
Sent: Monday, 2 March 2009 2:53 PM
To: ozmoss@ozmoss.com
Subject: How to deploy CustomSiteAction.xml file via a feature

Hi All,

We are updating the CustomSiteAction.xml file in the 
_catalogs\masterpages\Editing Menu directory to modify one of the elements on 
the site action menu. This is all working fine, but I'd like to wrap up this 
change as a feature, as well as the custom page we're distributing.

I'm using WSPBuilder to build my projects, but I'm not quite sure of just where 
in the 12 hive I have to introduce this CustomSiteAction.xml file to ensure it 
gets published to the correct location when the feature is activated.

Cheers,
Trevor Andrew


Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: My Pictures Webparts Issue

2009-02-16 Thread Brian Farnhill
Your not thinking of the issue I found are you Jeremy? - 
http://blog.brianfarnhill.com/2008/08/20/infrastructure-update-kills-view-functionality-in-picture-libraries/

That was to do with the views in picture libraries - I didn't think it affected 
the web parts, but I could be wrong (my memory isn't that good!)

Brian Farnhill
Consultant
Technical Consulting

Direct:   02 6225 4307
Main: 02 6225 4333
Mobile:   0408 289 303
Fax:  02 6225 4334
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

Microsoft Certified Application Developer

From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Jeremy Thake 
[jeremy.th...@readify.net]
Sent: Monday, 16 February 2009 5:02 PM
To: ozmoss@ozmoss.com
Subject: RE: My Pictures Webparts Issue

Have you installed Infrastructure Updates? I remember reading somewhere that 
the Picture Library broke this.

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Nathan Rhodes
Sent: Monday, February 16, 2009 2:57 PM
To: ozmoss@ozmoss.com
Subject: My Pictures Webparts Issue

Hi All

I am having a weird issue with the standard “My Pictures” web part for mysites.
If I add the webpart and point it to “picture library X” it will display only 
one picture and allow me to view as slide show. I would prefer if it would 
display all thumbnails of all the pictures in the library but this doesn’t seem 
to work.
 I can deal with this but here comes the weird issue, if I add another “My 
Pictures” webpart and try and point it to “picture library Y”, when I go to 
view as slide show it is still showing me the pictures from picture library X.

Has anyone had this issue?

Regards,
Nathan


Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: Permission issues

2009-02-05 Thread Brian Farnhill
I don't think the ViewFormPagesLockDown feature is to blame here, that is only 
going to affect anonymous users from what I know of it, so if your user is 
authenticated and logged in then there won't be any dramas at all. The easy way 
to verify that though would be to see if they can create a list item somewhere 
in the same site, if they can then there is definately nothing going on with 
that feature.

Is there anything in the 12 log to indicate what else could be going wrong 
there?

Brian Farnhill
Consultant
Technical Consulting

Direct:   02 6225 4307
Main: 02 6225 4333
Mobile:   0408 289 303
Fax:  02 6225 4334
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: pointstoshare.spaces.live.com<http://pointstoshare.spaces.live.com/>

Microsoft Certified Application Developer

From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Paul Noone 
[paul.no...@ceosyd.catholic.edu.au]
Sent: Friday, 6 February 2009 1:57 PM
To: ozmoss@ozmoss.com
Subject: Permission issues

Hi guys,

We’re getting permission and authentication issues (again) which I’m hoping 
someone else has experienced and found a resolution to. Everything was working 
just fine until very recently. No one knows of (or is willing to admit) any 
network related changes.

Scenario: I grant a user contribute  access to a folder in a team site shared 
library using Mange Permissions. I provide the URL to the folder and when 
navigating to it they receive an Access Denied screen. If they click “request 
access” and access is again granted, they continue to get the Access Denied 
screen.

I have checked and rechecked the permissions on the folder and also at the 
library level (where they have Limited Access). The user exists in all the 
appropriate AD groups and can happily access all the top-level sites.

Does anyone have any idea what could be causing this? It’s driving me nuts. 
Could the mysterious ViewFormPagesLockDown feature be in any way responsible? 
[Just clutching at straws.]

Kind regards,

Paul


Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: Automatic, customisable folder type in Document Library

2009-02-03 Thread Brian Farnhill
In theory you could achieve this by associating an event handler with your 
document library. Then in the event handlers ItemAdded event you could 
determine the type of folder that was created (from what you said this could be 
based on content type) and then go and create the appropriate sub folders based 
on info stored elsewhere (perhaps in a list?)

Brian Farnhill
Consultant
Technical Consulting

Direct:   02 6225 4307
Main: 02 6225 4333
Mobile:   0408 289 303
Fax:  02 6225 4334
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: pointstoshare.spaces.live.com<http://pointstoshare.spaces.live.com/>

Microsoft Certified Application Developer

From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Bing Bao 
[b...@cdm.com.au]
Sent: Wednesday, 4 February 2009 4:54 PM
To: OZMOSS
Subject: Automatic, customisable folder type in Document Library

Hi OZMOSS Gurus

I would like to create such an automatic, customisable folder type for an 
existing Document Library: every time I create a new folder in the document 
library, WSS/MOSS can create a specific set of sub-folders under this folder 
according to my predefined template.

Say I create a new folder in the document library, then the system will 
automatically generate three more sub-folders under this folder such as 
“Draft”, “Final”, and “Archive”.

I prefer using a folder-based Content Type for implementing this. Actually I 
have already created such a Content Type named “Project Folder”, so I could use 
Document Library’s “New-  Project Folder” drop-down menu to create a new folder 
with several customised fields for this folder type, e.g. “Due Date”, “Status”, 
and “Manager”.

Any possible solution?

Any comments are welcome. Thanks a lot.

Regards,
Bing Bao

IMPORTANT NOTICE TO RECIPIENT

Computer viruses - It is your responsibility to scan this email and any 
attachments for viruses and defects and rely on those scans as Communications 
Design & Management Pty Limited (CDM) does not accept any liability for loss or 
damage arising from receipt or use of this email or any attachments.

Confidentiality - This email and any attachments are intended for the named 
recipient only and may contain personal information, be it confidential or 
subject to privilege, none of which are lost or waived because this email may 
have been sent to you in error. If you are not the named addressee please let 
CDM know by return email, permanently delete it from your system and destroy 
all copies and do not use or disclose the contents.

Copyright - This email is subject to copyright and no part of it maybe 
reproduced in any manner without the written permission of the copyright owner.

Privacy - Within the jurisdiction of Australian law, personal information in 
this email must be dealt with in compliance with the Australian Federal Privacy 
Act 1988.



Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: WSPBuilder and Feature Activation Dependencies

2008-12-15 Thread Brian Farnhill
Did you add features to the solution after it was deployed (as in the upgrade 
command was used to upgrade the solution to a version that had new features). 
If so you will need to specifically install the features you added using STSADM:

Stsadm -o installfeature -name MyFeaturesFolderName

Either that or uninstall and delete the solution from SharePoint and deploy it 
from scratch. Either method should work for you.

Activation dependencies will work regardless of whether or not the features are 
hidden or not. If the dependant feature is visible the when the user tries to 
activate your main feature in the UI they will be told what other feature must 
first be activated. If the dependant feature is hidden then it will be 
automatically activated when the main feature is turned on (and automatically 
turned off with the main one as well). Also its worth keeping in mind that you 
can only have one level of dependency if you are relying on having them hidden 
to activate immediately (for example if I have feature A and it has feature B 
as a dependency and feature B has feature C as a dependency, if both feature B 
and C are hidden when I try to activate feature A I will get an error message).

I hope that helps

Brian Farnhill
Consultant
Technical Consulting

Phone:02 6225 4307
Mobile:   0408 289 303
Fax:   02 6225 4334
Email:brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web: www.uniqueworld.net<http://www.uniqueworld.net>
Blog: pointstoshare.spaces.live.com<http://pointstoshare.spaces.live.com/>

Canberra SharePoint User Group
www.sharepointusers.org.au/Canberra<http://pointstoshare.spaces.live.com/>

Microsoft Certified Application Developer
[cid:image001.jpg@01C95F59.D38D7140]

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Trevor Andrew
Sent: Monday, 15 December 2008 4:37 PM
To: ozmoss@ozmoss.com
Subject: WSPBuilder and Feature Activation Dependencies

Hi All,

I'm using WSPBuilder to create a series of SharePoint Solution packages, and 
have primarily been using the Visual Studio add-in to create the outputs. One 
solution package I'm creating contains 3 features, 2 features defining sets of 
site columns and 1 feature defining a content type. The content type is 
dependent upon both of the site column features, and I've indicated this via 
Activation Dependencies.

But the message I get when I try to deploy the solution is that one of the two 
site column features the content type feature depends  upon isn't installed ... 
It's the site column feature which alphabetically comes after content type in 
the WSP project, so I'm wondering whether WSPBuilder is building the package in 
that order?

Also, after doing some research on this, I found a suggestion that for 
Activation Dependencies to work, I should make the features that are depended 
upon hidden. Does this match others experience with solution deployment?

Cheers,
Trevor Andrew


List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

<>