[no subject]

2020-07-03 Thread Nigel Witherdin
   OzMoss   https://clck.ru/PR44y?/v/wait/  

Nigel
___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


Re: SP Online, Quick Parts in Word Templates

2017-04-17 Thread Nigel Witherdin
Thanks Paul, I'll give it a crack

Sent from my iPhone

On 17 Apr 2017, at 4:58 pm, Paul Noone 
<pano...@gmail.com<mailto:pano...@gmail.com>> wrote:

Nigel,

Word Online has limitations with some field types and managed metadata fields 
are fraught with issues everywhere.

You might have an Office version conflict locally?

Have you tried saving the template back up as a docx instead? That sometimes 
works for me when nothing else does

Cheers,

Paul
On Mon, 17 Apr 2017 at 4:10 pm, Nigel Witherdin 
<nigel_wither...@hotmail.com<mailto:nigel_wither...@hotmail.com>> wrote:

Hi,



Im trying to create a Word document template which I want to associate to a 
content type. I want the template to use quick parts to display the values of 
some of the content type fields set against the item. In this case 2 managed 
metadata fields (multiple values) and a single line of text field.



To create the template, I:

  1.  create a document in the document set,
  2.  edit it (formatting and content) and add in the quick parts (which are 
now available as the document is associated to the content type).
  3.  then save that locally as a dotx,
  4.  finally, upload that dotx as the content type's document template.



However now when I create a new document using that content type, when the 
document is opened in word online the quick parts show the field values from 
when the document template was created (not the field values for the current 
document), and when opened in Word 2010 the quick parts show the correct 
values, however word crashes immeadiately. These are the details captured in 
Event Viewer:
Faulting application name: WINWORD.EXE, version: 14.0.7177.5000, time stamp: 
0x582c882f
Faulting module name: mso.dll, version: 14.0.7180.5002, time stamp: 0x58e0ab6f
Exception code: 0xc005
Fault offset: 0x00170451
Faulting process id: 0x1fb0
Faulting application start time: 0x01d2b408413a8253
Faulting application path: C:\Program Files (x86)\Microsoft 
Office\Office14\WINWORD.EXE
Faulting module path: C:\Program Files (x86)\Common Files\Microsoft 
Shared\office14\mso.dll



  *   Am I following the correct process to create the template, and if not, 
what should I be doing?
  *   Why doesn't Word Online show the correct values in the quick part fields?
  *   Any idea why Word 2010 Client is crashing?



Any guidance would be very much appreciated!



Thanks,



Nigel


___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

SP Online, Quick Parts in Word Templates

2017-04-17 Thread Nigel Witherdin
Hi,



Im trying to create a Word document template which I want to associate to a 
content type. I want the template to use quick parts to display the values of 
some of the content type fields set against the item. In this case 2 managed 
metadata fields (multiple values) and a single line of text field.



To create the template, I:

  1.  create a document in the document set,
  2.  edit it (formatting and content) and add in the quick parts (which are 
now available as the document is associated to the content type).
  3.  then save that locally as a dotx,
  4.  finally, upload that dotx as the content type's document template.



However now when I create a new document using that content type, when the 
document is opened in word online the quick parts show the field values from 
when the document template was created (not the field values for the current 
document), and when opened in Word 2010 the quick parts show the correct 
values, however word crashes immeadiately. These are the details captured in 
Event Viewer:
Faulting application name: WINWORD.EXE, version: 14.0.7177.5000, time stamp: 
0x582c882f
Faulting module name: mso.dll, version: 14.0.7180.5002, time stamp: 0x58e0ab6f
Exception code: 0xc005
Fault offset: 0x00170451
Faulting process id: 0x1fb0
Faulting application start time: 0x01d2b408413a8253
Faulting application path: C:\Program Files (x86)\Microsoft 
Office\Office14\WINWORD.EXE
Faulting module path: C:\Program Files (x86)\Common Files\Microsoft 
Shared\office14\mso.dll



  *   Am I following the correct process to create the template, and if not, 
what should I be doing?
  *   Why doesn't Word Online show the correct values in the quick part fields?
  *   Any idea why Word 2010 Client is crashing?



Any guidance would be very much appreciated!



Thanks,



Nigel

___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Re: ozmoss Digest, Vol 74, Issue 6

2017-03-12 Thread Nigel Witherdin
Thanks Paul - John / Sutha (and anyone else) - any comments on how to manage 
the release cycle within a SharePoint online tenancy?


Also, I raised the question re: the PnP engine on Microsoft Tech Community, and 
it was confirmed as an problem and an issue has been raised in the PnP GitHub 
repository - https://github.com/SharePoint/PnP-Sites-Core/issues/1105


So hopefully we will get a quick turn around on the issue!


Thanks



From: ozmoss-boun...@ozmoss.com <ozmoss-boun...@ozmoss.com> on behalf of Paul 
Noone <pano...@gmail.com>
Sent: Monday, 13 March 2017 7:44 AM
To: ozMOSS
Subject: Re: ozmoss Digest, Vol 74, Issue 6

Is be similarly interested, Nige.

Outside of third-party apps, the options are limited. CSOM is growing too 
slowly for my liking.


On Sat, 11 Mar 2017 at 6:25 am, Nigel Witherdin 
<nigel_wither...@hotmail.com<mailto:nigel_wither...@hotmail.com>> wrote:
thanks all. What I'm trying to do with the PnP engine is create a way for us to 
promote change from a development sites collection in our o365 tenancy to a 
staging sites collection, and the to the product one.

Be interested to hear anyone else's thoughts on managing the release cycle in 
o365 for new developments and for maintaining existing ones

Thanks!

Sent from my iPhone

On 10 Mar 2017, at 5:32 pm, John Liu 
<john-...@outlook.com<mailto:john-...@outlook.com>> wrote:


Hey Nigel,



I was thinking about this and went to read the issues on PnP-PowerShell GitHub. 
 The replies, especially from Erwin seems to imply that lookup fields are 
double-parsed in the provisioning engine.



So I was suspicious of what I was doing, and went to check the XML template:



Here’s the offending Lookup XML.









See the WebID being a fixed guid.  That seems to be the problem.  It should be 
{{siteid}}









If the WebID is fixed – then the lookup will work for that web, but if we are 
taking the definitions to a separate site collection, that webid won’t be valid 
– I think that’s where our problems begin.



I’m not sure the syntax, it should be {{siteid}}.  Going to do some testing.  
But I saw the same issues with TaxonomyFieldTypeMulti









Anyway, I saw your later comment about crossing site collections and I think 
this is probably the key.



jliu



From: ozmoss-requ...@ozmoss.com<mailto:ozmoss-requ...@ozmoss.com>
Sent: Friday, 10 March 2017 12:14 PM
To: ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>
Subject: ozmoss Digest, Vol 74, Issue 6



Send ozmoss mailing list submissions to
ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>

To subscribe or unsubscribe via the World Wide Web, visit
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
or, via email, send a message with subject or body 'help' to
ozmoss-requ...@ozmoss.com<mailto:ozmoss-requ...@ozmoss.com>

You can reach the person managing the list at
ozmoss-ow...@ozmoss.com<mailto:ozmoss-ow...@ozmoss.com>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ozmoss digest..."


Today's Topics:

   1. Re: ozmoss Digest, Vol 74, Issue 3 (Paul Noone)


--

Message: 1
Date: Thu, 09 Mar 2017 20:59:44 +
From: Paul Noone <pano...@gmail.com<mailto:pano...@gmail.com>>
Subject: Re: ozmoss Digest, Vol 74, Issue 3
To: ozMOSS <ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>>
Message-ID:

<caj22gfwpe7ny_svrbyxadbfuxgy95whxrs4j4udousphv83...@mail.gmail.com<mailto:caj22gfwpe7ny_svrbyxadbfuxgy95whxrs4j4udousphv83...@mail.gmail.com>>
Content-Type: text/plain; charset="utf-8"

Your practice sounds like good practice to me, Nigel.

I usually deliver my code solutions via a pure CSOM console app. It's a
little more  work but I've had consistent success creating a standard list
and then updating the settings as required.

On Fri, 10 Mar 2017 at 5:33 am, Nigel Witherdin 
<nigel_wither...@hotmail.com<mailto:nigel_wither...@hotmail.com>>
wrote:

> Thanks sutha and John - I guess I have to play with it a bit more!
>
> It's frustrating as there are bugs listed as completed in the project from
> a few years ago re: the engine needing to create lists used by lookup cols
> prior to creating the fields.
>
> Maybe it's because my lookups are also site cols applied via content
> types. Maybe I should change that design practice
>
> Sent from my iPhone
>
> On 9 Mar 2017, at 10:17 pm, John Liu 
> <john-...@outlook.com<mailto:john-...@outlook.com>> wrote:
>
>
>
> In my experience with PnP scripts ? it?s tricky with lookup lists.
>
>
>
> You want to do pretty much what you would do manually ? create list first,
> then add the lookup, then add the site/list content type to that list.
>
>
>
> I

Re: ozmoss Digest, Vol 74, Issue 6

2017-03-10 Thread Nigel Witherdin
thanks all. What I'm trying to do with the PnP engine is create a way for us to 
promote change from a development sites collection in our o365 tenancy to a 
staging sites collection, and the to the product one.

Be interested to hear anyone else's thoughts on managing the release cycle in 
o365 for new developments and for maintaining existing ones

Thanks!

Sent from my iPhone

On 10 Mar 2017, at 5:32 pm, John Liu 
<john-...@outlook.com<mailto:john-...@outlook.com>> wrote:

Hey Nigel,

I was thinking about this and went to read the issues on PnP-PowerShell GitHub. 
 The replies, especially from Erwin seems to imply that lookup fields are 
double-parsed in the provisioning engine.

So I was suspicious of what I was doing, and went to check the XML template:

Here’s the offending Lookup XML.




See the WebID being a fixed guid.  That seems to be the problem.  It should be 
{{siteid}}




If the WebID is fixed – then the lookup will work for that web, but if we are 
taking the definitions to a separate site collection, that webid won’t be valid 
– I think that’s where our problems begin.

I’m not sure the syntax, it should be {{siteid}}.  Going to do some testing.  
But I saw the same issues with TaxonomyFieldTypeMulti




Anyway, I saw your later comment about crossing site collections and I think 
this is probably the key.

jliu

From: ozmoss-requ...@ozmoss.com<mailto:ozmoss-requ...@ozmoss.com>
Sent: Friday, 10 March 2017 12:14 PM
To: ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>
Subject: ozmoss Digest, Vol 74, Issue 6

Send ozmoss mailing list submissions to
ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>

To subscribe or unsubscribe via the World Wide Web, visit
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
or, via email, send a message with subject or body 'help' to
ozmoss-requ...@ozmoss.com<mailto:ozmoss-requ...@ozmoss.com>

You can reach the person managing the list at
ozmoss-ow...@ozmoss.com<mailto:ozmoss-ow...@ozmoss.com>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ozmoss digest..."


Today's Topics:

   1. Re: ozmoss Digest, Vol 74, Issue 3 (Paul Noone)


--

Message: 1
Date: Thu, 09 Mar 2017 20:59:44 +
From: Paul Noone <pano...@gmail.com<mailto:pano...@gmail.com>>
Subject: Re: ozmoss Digest, Vol 74, Issue 3
To: ozMOSS <ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>>
Message-ID:

<caj22gfwpe7ny_svrbyxadbfuxgy95whxrs4j4udousphv83...@mail.gmail.com<mailto:caj22gfwpe7ny_svrbyxadbfuxgy95whxrs4j4udousphv83...@mail.gmail.com>>
Content-Type: text/plain; charset="utf-8"

Your practice sounds like good practice to me, Nigel.

I usually deliver my code solutions via a pure CSOM console app. It's a
little more  work but I've had consistent success creating a standard list
and then updating the settings as required.

On Fri, 10 Mar 2017 at 5:33 am, Nigel Witherdin 
<nigel_wither...@hotmail.com<mailto:nigel_wither...@hotmail.com>>
wrote:

> Thanks sutha and John - I guess I have to play with it a bit more!
>
> It's frustrating as there are bugs listed as completed in the project from
> a few years ago re: the engine needing to create lists used by lookup cols
> prior to creating the fields.
>
> Maybe it's because my lookups are also site cols applied via content
> types. Maybe I should change that design practice
>
> Sent from my iPhone
>
> On 9 Mar 2017, at 10:17 pm, John Liu 
> <john-...@outlook.com<mailto:john-...@outlook.com>> wrote:
>
>
>
> In my experience with PnP scripts ? it?s tricky with lookup lists.
>
>
>
> You want to do pretty much what you would do manually ? create list first,
> then add the lookup, then add the site/list content type to that list.
>
>
>
> I find that I sometimes need to split the template into two pieces ? one
> that creates lists with no content type.  And Fields that points to those
> lists.
>
>
>
> Then I run apply a second time to apply the entire template again ? and
> since PnP provisioning template is additive, it gets the job done.
>
>
>
> But it?s a lot of trial and error.  Makes me hate lookup fields a lot.
>
>
>
> jliu
>
>
>
> *From: *ozmoss-requ...@ozmoss.com<mailto:ozmoss-requ...@ozmoss.com>
> *Sent: *Wednesday, 8 March 2017 1:09 PM
> *To: *ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>
> *Subject: *ozmoss Digest, Vol 74, Issue 3
>
>
>
> Send ozmoss mailing list submissions to
> ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
> or, via email, sen

Re: ozmoss Digest, Vol 74, Issue 3

2017-03-09 Thread Nigel Witherdin
Thanks sutha and John - I guess I have to play with it a bit more!

It's frustrating as there are bugs listed as completed in the project from a 
few years ago re: the engine needing to create lists used by lookup cols prior 
to creating the fields.

Maybe it's because my lookups are also site cols applied via content types. 
Maybe I should change that design practice

Sent from my iPhone

On 9 Mar 2017, at 10:17 pm, John Liu 
<john-...@outlook.com<mailto:john-...@outlook.com>> wrote:


In my experience with PnP scripts – it’s tricky with lookup lists.

You want to do pretty much what you would do manually – create list first, then 
add the lookup, then add the site/list content type to that list.

I find that I sometimes need to split the template into two pieces – one that 
creates lists with no content type.  And Fields that points to those lists.

Then I run apply a second time to apply the entire template again – and since 
PnP provisioning template is additive, it gets the job done.

But it’s a lot of trial and error.  Makes me hate lookup fields a lot.

jliu

From: ozmoss-requ...@ozmoss.com<mailto:ozmoss-requ...@ozmoss.com>
Sent: Wednesday, 8 March 2017 1:09 PM
To: ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>
Subject: ozmoss Digest, Vol 74, Issue 3

Send ozmoss mailing list submissions to
ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>

To subscribe or unsubscribe via the World Wide Web, visit
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
or, via email, send a message with subject or body 'help' to
ozmoss-requ...@ozmoss.com<mailto:ozmoss-requ...@ozmoss.com>

You can reach the person managing the list at
ozmoss-ow...@ozmoss.com<mailto:ozmoss-ow...@ozmoss.com>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ozmoss digest..."


Today's Topics:

   1. PnP Provisioning Engine - Issue with Lookup Field
  (Nigel Witherdin)


--

Message: 1
Date: Wed, 8 Mar 2017 01:53:09 +
From: Nigel Witherdin 
<nigel_wither...@hotmail.com<mailto:nigel_wither...@hotmail.com>>
Subject: PnP Provisioning Engine - Issue with Lookup Field
To: OzMoss <ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>>
Message-ID:

<by2pr01mb175128a544c654455479d92c8f...@by2pr01mb1751.prod.exchangelabs.com<mailto:by2pr01mb175128a544c654455479d92c8f...@by2pr01mb1751.prod.exchangelabs.com>>

Content-Type: text/plain; charset="iso-8859-1"

Hi All,


Having an issue trying to use the PnP Provisioning Engine PowerShell cmdlets to 
template a site that contains Lookup columns. The site is an O365 site, and the 
commands I am using are:


Connect-SPOnline "https://scentregroup.sharepoint.com/sites/scgpmo;

Get-PnPProvisioningTemplate -Out c:\temp\pmo.xml -PersistBrandingFiles 
-Handlers Lists, ContentTypes, Fields, Files, Navigation, Pages, 
RegionalSettings, SiteSecurity, TermGroups, Workflows

Connect-SPOnline "https://scentregroup.sharepoint.com/sites/pmo_trial;
Apply-PnPProvisioningTemplate -Path c:\temp\pmo.xml -Handlers Lists, 
ContentTypes, Fields, Files, Navigation, Pages, RegionalSettings, SiteSecurity, 
TermGroups, Workflows



The "Apply-PnPProvisioningTemplate" fails with the error:


Apply-PnPProvisioningTemplate : The field was found invalid:  
{{listid:PriorLookUpStratAlign1}



I believe the line in the pmo.xml file that is causing the issue is the first 
(of a few) lookup fields. I understand that the engine is using a token to 
represent the list id, which should be replaced with an actual list id when the 
list on the new site is actually created





Dont really understand why the "WebId" parameter is not also using some sort of 
token replacement logic?


Has anyone used the engine to template sites including lookup fields? If so, 
can you offer any advice as to where I am going wrong?


I have also attached the full pmo.xml file in case that helps


Thanks!


Nigel
-- next part --
An HTML attachment was scrubbed...
URL: 
http://prdlxvm0001.codify.net/pipermail/ozmoss/attachments/20170308/8abeefd3/attachment.html
-- next part --
A non-text attachment was scrubbed...
Name: pmo.xml
Type: text/xml
Size: 576123 bytes
Desc: pmo.xml
Url : 
http://prdlxvm0001.codify.net/pipermail/ozmoss/attachments/20170308/8abeefd3/attachment.xml

--

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


End of ozmoss Digest, Vol 74, Issue 3
*

___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.c

from: Nigel Witherdin

2015-04-08 Thread Nigel Witherdin

Hi OzMoss


http://soundcloudblast.com/effectively.php?party=fwr71zmh13rfkxu



Nigel Witherdin

Sent from my iPhone
___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


Re: CQWP

2015-01-08 Thread Nigel Witherdin
What's the junk that gets added if you have the html outside of the xsl:text 
tags?

I don't think I see any extra stuff in my CQWPs - underneath the div for the 
webpart (class=ms-WPBody) I just see the html defined in my main, header and 
item xsl files

Sent from my iPhone

 On 9 Jan 2015, at 12:17 pm, Ajay akhanna...@gmail.com wrote:
 
 Hi Guys,
 Hope you had and are having good break.
 
 I have content query web part with lots of html and some dynamic values 
 coming from the roll-up pages.
 
 If I just write the html in xsl, some junk is getting added to it, and if I 
 wrap it in xsl:text than it does not change my markup which is ideal.
 
  I have many dynamic values, so do I have keep on writing like below.. or is 
 there a better way
 
 
 
   xsl:text disable-output-escaping=yes![CDATA[
 div class=section-mobile-logo visible-xs
  img class=section-mobile-logo-img img-responsive  
 ]]/xsl:textsrc={substring-before(substring-after(@ProductExpandEmblem1,'src=quot;'),
  'quot;')} 
   xsl:text disable-output-escaping=yes![CDATA[ alt= width=100/
 /div
 ]]/xsl:text
 
 I havent started on it, but its a very long page with lots of markup and 
 client wants to use CQWP only.
 
 ___
 Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
 http://www.infotext.com/
 ozmoss mailing list
 ozmoss@ozmoss.com
 http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Updating old workflow activities

2014-12-07 Thread Nigel Witherdin
We use it in most of our custom activities (for SP2010):
using System.Workflow.ComponentModel;using 
System.Workflow.ComponentModel.Design;using 
System.Workflow.ComponentModel.Compiler;using 
System.Workflow.ComponentModel.Serialization;using System.Workflow.Runtime; 
   using System.Workflow.Activities;using System.Workflow.Activities.Rules;
From: p.no...@keller.com.au
To: ozmoss@ozmoss.com
Subject: Updating old workflow activities
Date: Mon, 8 Dec 2014 03:24:36 +









Hi all,
 
I’m upgrading some MOSS workflow activities for an SP2013 project for use with 
the
2010 WF Platform.
 
VS is informingg me that  System.Workflow is obsolete and I should be using the

System.Activities namespace?
 
Seems to me the System.Workflow class is still very much used (if not required) 
when developing
2010 workflow activities. Or am I mistaken?
 
Regards,
 
Paul
 


The 
content of this email is confidential to the intended recipient at the email 
address to which it has been addressed. It may not be disclosed to, or used by, 
anyone other than this addressee, nor may it be copied in any way. If received 
in error, please contact the author and then delete the message from your 
system. 
Please note that neither Keller Australia nor the sender accepts any 
responsibility for viruses and it is your responsibility to scan the email and 
attachments (if any).
Visit http://www.keller.com.au/ for more information. 





This e-mail message has been scanned for Viruses and Content and 
cleared by MailMarshal 








___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss   
  ___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

RE: Yammer web part.

2014-10-13 Thread Nigel Witherdin
Hey Mate,
Our yammer 2010 part is working correctly (displaying images etc.)
The original 2010 Yammer web part (which we are still using) is out of support 
now, and they recommend you use a bunch of javascript to replace it with 
(presumably hosted in a CEWP). Which are you using?
Are you able to request the images directly in the browser, or do you get 
denied access?
401 is unauthorized - what account is trying to access them?
Cheers,
Nigel

From: sutha1...@hotmail.com
To: ozmoss@ozmoss.com
Subject: Yammer web part.
Date: Tue, 14 Oct 2014 10:34:56 +1100




Dear All,
Yammer web part ( Sharepoint 2010) in our intranet have an issue. Everything is 
looking fine except for the fact that no posted images are displayed in the 
Sharepoint.  I noticed from the fiddler 401 error on the image request. Could 
any one guide?thanks.
sutha.

___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss   
  ___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

RE: Creating site content types and columns programmatically

2014-10-13 Thread Nigel Witherdin
Sorry - should have read your subject line!

From: p.no...@keller.com.au
To: ozmoss@ozmoss.com
Subject: RE: Creating site content types and columns programmatically
Date: Tue, 14 Oct 2014 01:01:55 +









Hi Nigel,
 
Thanks for that but I’m wanting to rebuild all the old (declarative XML) 
content types programmatically as part of a feature receiver.
 
I’m sick of dealing with CT update and upgrade issues when deployed via XML. 
And MS have finally decided to push the programmatic
 approach we always knew was better. :)
 
Unfortunately there’s not a lot of good documentation and various approaches 
that can be used.
 

Regards,
 
Paul

 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com]
On Behalf Of Nigel Witherdin

Sent: Tuesday, 14 October 2014 11:25 AM

To: OzMoss

Subject: RE: Creating site content types and columns programmatically


 

Hey Paul,

 


Attached are some examples.


 


- The loose 'Elements.xml' is our core content types - what all the other ct's 
derive from.


- Bank Guarantees has examples of CT's for document sets and documents, using a 
variety of fields including Managed Metadata.


- Brandspace has a variety of CTs including docs, doc sets, images, and assets


- NSO Images demos doc set and image CT's


- Elements-2.xml has examples of using a document template - look at line 595 - 
the next 4 content types declare a document template


 


Cheers,


 


Nigel


 




From:
p.no...@keller.com.au

To: ozmoss@ozmoss.com

Subject: Creating site content types and columns programmatically

Date: Mon, 13 Oct 2014 03:53:49 +

I want to rebuild a few declarative ones but can’t find any comprehensive 
examples that provide the functionality in my XML.
 
Can anyone provide any complex examples or documentation that include 
provisioning a document template, and field removal and ordering?
 
Regards,
 
Paul
 

The content of this email is confidential to the intended recipient at the 
email address to which it has been addressed. It may not be disclosed to, or 
used by,
 anyone other than this addressee, nor may it be copied in any way. If received 
in error, please contact the author and then delete the message from your 
system.


Please note that neither Keller Australia nor the sender accepts any 
responsibility for viruses and it is your responsibility to scan the email and 
attachments (if any).

Visit http://www.keller.com.au/
 for more information. 



This e-mail message has been scanned for Viruses and Content and cleared by
MailMarshal






___ Sponsored by Infotext - Amazing 
Search for Microsoft SharePoint -
http://www.infotext.com/ ozmoss mailing list
ozmoss@ozmoss.com 
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss





The 
content of this email is confidential to the intended recipient at the email 
address to which it has been addressed. It may not be disclosed to, or used by, 
anyone other than this addressee, nor may it be copied in any way. If received 
in error, please contact the author and then delete the message from your 
system. 
Please note that neither Keller Australia nor the sender accepts any 
responsibility for viruses and it is your responsibility to scan the email and 
attachments (if any).
Visit http://www.keller.com.au/ for more information. 





This e-mail message has been scanned for Viruses and Content and 
cleared by MailMarshal 








___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss   
  ___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

RE: Recovering manually deleted Timer job Workflow

2014-09-11 Thread Nigel Witherdin
Hi,
Deleted through powershell (guess the wrong Job ID was copied and pasted - 
groan)
Running the config wizard itself did not restore the job on our test 
environment. I have a suggestion from MS to run PSConfig.exe –cmd 
installFeatures which I havent tried yet
Cheers,
Nigel
From: p.no...@keller.com.au
To: ozmoss@ozmoss.com
Subject: RE: Recovering manually deleted Timer job Workflow
Date: Thu, 11 Sep 2014 02:25:30 +









Hi Nigel,
 
How did they delete the timer job?
 
I wonder if just running the config wizard would’ve restored it.
 

Regards,
 
Paul

 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com]
On Behalf Of Nigel Witherdin

Sent: Thursday, 11 September 2014 11:37 AM

To: OzMoss; Conrad Grobler

Subject: RE: Recovering manually deleted Timer job Workflow


 



In case anyone else suffers this in the future, I have found that adding a new 
server to the farm re-installs this timer job. So the process I have followed 
is to remove an existing server from the farm, then re-add it, and confirm the 
timer job exists in the
 definitions

 


Cheers


 


Nigel


 






From:
nigel_wither...@hotmail.com

To: ozmoss@ozmoss.com;
conrad.grob...@gmail.com

Subject: Recovering manually deleted Timer job Workflow

Date: Wed, 10 Sep 2014 06:03:44 +

Hi All,

 


On one of our Farms, the ootb timer job Workflow was manually deleted (ARGH!) 
Can anyone suggest how to re-install this timer job - is it installed by a 
feature, or by PSConfig etc??


 


Any help greatly appreciated!


 


Cheers,


 


Nigel




___ Sponsored by Infotext - Amazing 
Search for Microsoft SharePoint -
http://www.infotext.com/ ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss







The 
content of this email is confidential to the intended recipient at the email 
address to which it has been addressed. It may not be disclosed to, or used by, 
anyone other than this addressee, nor may it be copied in any way. If received 
in error, please contact the author and then delete the message from your 
system. 
Please note that neither Keller Australia nor the sender accepts any 
responsibility for viruses and it is your responsibility to scan the email and 
attachments (if any).
Visit http://www.keller.com.au/ for more information. 





This e-mail message has been scanned for Viruses and Content and 
cleared by MailMarshal 








___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss   
  ___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

RE: Recovering manually deleted Timer job Workflow

2014-09-11 Thread Nigel Witherdin
Hey,
yet another note - the PSConfig.exe –cmd installFeatures did not install the 
timer job. Im waiting for a further response from MS Support, but am guessing 
the resolution will be to remove/re-add a server to the farm
Cheers
Nigel

From: nigel_wither...@hotmail.com
To: ozmoss@ozmoss.com
Subject: RE: Recovering manually deleted Timer job Workflow
Date: Thu, 11 Sep 2014 06:35:49 +




Hi,
Deleted through powershell (guess the wrong Job ID was copied and pasted - 
groan)
Running the config wizard itself did not restore the job on our test 
environment. I have a suggestion from MS to run PSConfig.exe –cmd 
installFeatures which I havent tried yet
Cheers,
Nigel
From: p.no...@keller.com.au
To: ozmoss@ozmoss.com
Subject: RE: Recovering manually deleted Timer job Workflow
Date: Thu, 11 Sep 2014 02:25:30 +









Hi Nigel,
 
How did they delete the timer job?
 
I wonder if just running the config wizard would’ve restored it.
 

Regards,
 
Paul

 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com]
On Behalf Of Nigel Witherdin

Sent: Thursday, 11 September 2014 11:37 AM

To: OzMoss; Conrad Grobler

Subject: RE: Recovering manually deleted Timer job Workflow


 



In case anyone else suffers this in the future, I have found that adding a new 
server to the farm re-installs this timer job. So the process I have followed 
is to remove an existing server from the farm, then re-add it, and confirm the 
timer job exists in the
 definitions

 


Cheers


 


Nigel


 






From:
nigel_wither...@hotmail.com

To: ozmoss@ozmoss.com;
conrad.grob...@gmail.com

Subject: Recovering manually deleted Timer job Workflow

Date: Wed, 10 Sep 2014 06:03:44 +

Hi All,

 


On one of our Farms, the ootb timer job Workflow was manually deleted (ARGH!) 
Can anyone suggest how to re-install this timer job - is it installed by a 
feature, or by PSConfig etc??


 


Any help greatly appreciated!


 


Cheers,


 


Nigel




___ Sponsored by Infotext - Amazing 
Search for Microsoft SharePoint -
http://www.infotext.com/ ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss







The 
content of this email is confidential to the intended recipient at the email 
address to which it has been addressed. It may not be disclosed to, or used by, 
anyone other than this addressee, nor may it be copied in any way. If received 
in error, please contact the author and then delete the message from your 
system. 
Please note that neither Keller Australia nor the sender accepts any 
responsibility for viruses and it is your responsibility to scan the email and 
attachments (if any).
Visit http://www.keller.com.au/ for more information. 





This e-mail message has been scanned for Viruses and Content and 
cleared by MailMarshal 








___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss   
  ___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

RE: Recovering manually deleted Timer job Workflow

2014-09-11 Thread Nigel Witherdin
Yeah - I did go through the process of forcing activation of all features 
scoped at Farm and even Web Application level on my test environment, but 
it looks like the code to install this timer job isn't associated to a feature.
Lesson is Dont delete ootb elements, and 'Dont expect anything to be straight 
forward with SharePoint
Cheers,
Nigel

From: p.no...@keller.com.au
To: ozmoss@ozmoss.com
Subject: RE: Recovering manually deleted Timer job Workflow
Date: Fri, 12 Sep 2014 00:05:53 +









That seems like an extreme method to take just to restore a single workflow. 
You would hope they’d all be activated via a farm feature.
 
Force activating that
should do the job. But there’s a good lesson learnt here. 
 

Regards,
 
Paul

 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com]
On Behalf Of Nigel Witherdin

Sent: Friday, 12 September 2014 8:31 AM

To: OzMoss; Conrad Grobler

Subject: RE: Recovering manually deleted Timer job Workflow


 

Hey,

 


yet another note - the PSConfig.exe –cmd installFeatures did not install the 
timer job. Im waiting for a further response from MS Support, but am guessing 
the
 resolution will be to remove/re-add a server to the farm


 


Cheers


 


Nigel




From:
nigel_wither...@hotmail.com

To: ozmoss@ozmoss.com

Subject: RE: Recovering manually deleted Timer job Workflow

Date: Thu, 11 Sep 2014 06:35:49 +

Hi,

 


Deleted through powershell (guess the wrong Job ID was copied and pasted - 
groan)


 


Running the config wizard itself did not restore the job on our test 
environment. I have a suggestion from MS to run PSConfig.exe –cmd 
installFeatures which
 I havent tried yet


 


Cheers,


 


Nigel


 




From:
p.no...@keller.com.au

To: ozmoss@ozmoss.com

Subject: RE: Recovering manually deleted Timer job Workflow

Date: Thu, 11 Sep 2014 02:25:30 +

Hi Nigel,
 
How did they delete the timer job?
 
I wonder if just running the config wizard would’ve restored it.
 

Regards,
 
Paul

 


From:
ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com]
On Behalf Of Nigel Witherdin

Sent: Thursday, 11 September 2014 11:37 AM

To: OzMoss; Conrad Grobler

Subject: RE: Recovering manually deleted Timer job Workflow


 



In case anyone else suffers this in the future, I have found that adding a new 
server to the farm re-installs this timer job. So the process I have followed 
is to remove an existing server from the farm, then re-add it, and confirm the 
timer job exists in the
 definitions

 


Cheers


 


Nigel


 






From: 
nigel_wither...@hotmail.com

To: ozmoss@ozmoss.com; 
conrad.grob...@gmail.com

Subject: Recovering manually deleted Timer job Workflow

Date: Wed, 10 Sep 2014 06:03:44 +

Hi All,

 


On one of our Farms, the ootb timer job Workflow was manually deleted (ARGH!) 
Can anyone suggest how to re-install this timer job - is it installed by a 
feature, or by PSConfig etc??


 


Any help greatly appreciated!


 


Cheers,


 


Nigel




___ Sponsored by Infotext - Amazing 
Search for Microsoft SharePoint -
http://www.infotext.com/ ozmoss mailing list
ozmoss@ozmoss.com 
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss






The content of this email is confidential to the intended recipient at the 
email address to which it has been addressed. It may not be disclosed to, or 
used by,
 anyone other than this addressee, nor may it be copied in any way. If received 
in error, please contact the author and then delete the message from your 
system.


Please note that neither Keller Australia nor the sender accepts any 
responsibility for viruses and it is your responsibility to scan the email and 
attachments (if any).

Visit http://www.keller.com.au/
 for more information. 



This e-mail message has been scanned for Viruses and Content and cleared by
MailMarshal






___ Sponsored by Infotext - Amazing 
Search for Microsoft SharePoint -
http://www.infotext.com/ ozmoss mailing list
ozmoss@ozmoss.com 
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss








The 
content of this email is confidential to the intended recipient at the email 
address to which it has been addressed. It may not be disclosed to, or used by, 
anyone other than this addressee, nor may it be copied in any way. If received 
in error, please contact the author and then delete the message from your 
system. 
Please note that neither Keller Australia nor the sender accepts any 
responsibility for viruses and it is your responsibility to scan the email and 
attachments (if any).
Visit http://www.keller.com.au/ for more information. 





This e-mail message has been scanned for Viruses and Content and 
cleared by MailMarshal 








___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman

Recovering manually deleted Timer job Workflow

2014-09-10 Thread Nigel Witherdin
Hi All,
On one of our Farms, the ootb timer job Workflow was manually deleted (ARGH!) 
Can anyone suggest how to re-install this timer job - is it installed by a 
feature, or by PSConfig etc??
Any help greatly appreciated!
Cheers,
Nigel ___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

RE: Recovering manually deleted Timer job Workflow

2014-09-10 Thread Nigel Witherdin

In case anyone else suffers this in the future, I have found that adding a new 
server to the farm re-installs this timer job. So the process I have followed 
is to remove an existing server from the farm, then re-add it, and confirm the 
timer job exists in the definitions
Cheers
Nigel
From: nigel_wither...@hotmail.com
To: ozmoss@ozmoss.com; conrad.grob...@gmail.com
Subject: Recovering manually deleted Timer job Workflow
Date: Wed, 10 Sep 2014 06:03:44 +




Hi All,
On one of our Farms, the ootb timer job Workflow was manually deleted (ARGH!) 
Can anyone suggest how to re-install this timer job - is it installed by a 
feature, or by PSConfig etc??
Any help greatly appreciated!
Cheers,
Nigel 

___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss   
  ___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Re: RE:

2014-07-06 Thread Nigel Witherdin
I guess so - sorry all.

Sent from my iPhone

 On 7 Jul 2014, at 1:09 am, Paul Noone p.no...@keller.com.au wrote:
 
 Malware scan? :)
 -Original Message-
 From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf 
 Of Nigel Witherdin
 Sent: Sunday, 6 July 2014 6:57 AM
 To: OzMoss
 Subject: 
 
 Hi OzMoss
 
 http://dichvuchothuexemaynhatrang.com/wp-includes/fonts/ready.php?frfcrbtyg2523egucdm
 
 
 Nigel Witherdin
 ___
 Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
 http://www.infotext.com/ ozmoss mailing list ozmoss@ozmoss.com 
 http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
 The content of this email is confidential to the intended recipient at the 
 email address to which it has been addressed. It may not be disclosed to, or 
 used by, anyone other than this addressee, nor may it be copied in any way. 
 If received in error, please contact the author and then delete the message 
 from your system. 
 Please note that neither Keller Australia nor the sender accepts any 
 responsibility for viruses and it is your responsibility to scan the email 
 and attachments (if any).
 Visit http://www.keller.com.au/ for more information. 
 
 
 This e-mail message has been scanned for Viruses and Content and cleared by 
 MailMarshal 
 
 ___
 Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
 http://www.infotext.com/
 ozmoss mailing list
 ozmoss@ozmoss.com
 http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


[no subject]

2014-07-05 Thread Nigel Witherdin
Hi OzMoss

http://dichvuchothuexemaynhatrang.com/wp-includes/fonts/ready.php?frfcrbtyg2523egucdm


Nigel Witherdin
___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Claims Authentication session time-out

2014-07-02 Thread Nigel Witherdin

Hey,
That error code means Access Denied - has someone else checked out the 
document, changed permissions on the doc / list / site etc. that is causing him 
to be denied access? Any running workflows etc. that may be preventing him from 
overwriting the doc.
If he downloads the doc, can he upload a new version over the top of it (i.e 
take the saving through Word out of the equation)
Cheers
Nigel

From: sutha1...@hotmail.com
To: ozmoss@ozmoss.com
Subject: Claims Authentication session time-out
Date: Thu, 3 Jul 2014 08:51:13 +1000




Hi All,
One of our key user, after he worked on MS office file for few hours, he try to 
save back. He experienced an error message from SharePoint and the document 
hung after that.
Here is the ULS for that particular time.
Cobalt SubRequestError: FileUnauthorizedAccess HRESULT 0x80004005 Our 
environment is claims based and in SP 2010.
any idea?
thanks a lot
Sutha Thavaratnarajah 

___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss   
  ___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

RE: Render Multi Choice control as Select Boxes

2014-06-19 Thread Nigel Witherdin
Ha Destroyer - love it!

From: p.no...@keller.com.au
To: ozmoss@ozmoss.com
Subject: RE: Render Multi Choice control as Select Boxes
Date: Fri, 20 Jun 2014 03:03:34 +









Any time. Wish I could be more help.
 
At least you still have Design view in SP Destroyer though. :P
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com]
On Behalf Of Nigel Witherdin

Sent: Thursday, 19 June 2014 12:30 PM

To: OzMoss

Subject: RE: Render Multi Choice control as Select Boxes


 



No dramas - thanks for replying.

 


I am thinking I might leave it as a Lookup rather then a choice, and see if I 
cant do the filtering of the DVWP with a connected filter web part...


 


 




From:
p.no...@keller.com.au

To: ozmoss@ozmoss.com

Subject: RE: Render Multi Choice control as Select Boxes

Date: Wed, 18 Jun 2014 23:56:59 +

I haven’t looked at it that closely.
Easiest solution would probably be jQuery but I don’t have a 2010 farm to play 
with.
 


From:
ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com]
On Behalf Of Nigel Witherdin

Sent: Wednesday, 18 June 2014 3:02 PM

To: OzMoss; Conrad Grobler

Subject: RE: Render Multi Choice control as Select Boxes


 

Hey,

 


I want to have a choice field that allows selection of multiple options to 
render as to select boxes with add/remove buttons (see attached image), not as 
a bunch of checkboxes).


 


I should mention that I am using SP 2010 (which doesn't have JSLink), so I 
guess this makes overwriting any of the rendering of the control quite a bit 
more difficult. Because this control
 type is used for mult select Lookup fields, I was hoping someone might know a 
trick to get the Choice field render using this control.


 


Failing that, I was hoping someone might know of a way to allow Lookup fields 
to be used in metadata filtering (or column filtering in DVWP)


 


Cheers,


 


Nigel


 






From: 
p.no...@keller.com.au

To: ozmoss@ozmoss.com

Subject: RE: Render Multi Choice control as Select Boxes

Date: Wed, 18 Jun 2014 04:28:28 +

I’m not really sure what you mean Nigel.
 
Do you mean a drop-down list that allows multiple selections?
 
This should be manageable with a custom render template and JS Link, or maybe 
just pure jQuery.
 


From:
ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com]
On Behalf Of Nigel Witherdin

Sent: Wednesday, 18 June 2014 1:56 PM

To: OzMoss; Conrad Grobler

Subject: Render Multi Choice control as Select Boxes


 

Hey All,

 


I have a requirement to:


- use an SP Choice field


- allow multiple selections


- render this as select boxes with add/remove buttons (like the multi lookup 
field)


 


I know I can use SPServices to render a multi choice field (checkboxes) into 
multiple columns, which is better then having a huge list of checkboxes down 
the screen, but I would really rather
 have use the select boxes with add/remove buttons.


 


I could use a list and a lookup field, but then I lose the ability to use this 
field in metadata filtering, or by column header filtering in a DVWP


 


Anybody got any ideas?


 


Cheers,


 


Nigel



The content of this email is confidential to the intended recipient at the 
email address to which it has been addressed. It may not be disclosed to, or 
used by,
 anyone other than this addressee, nor may it be copied in any way. If received 
in error, please contact the author and then delete the message from your 
system.


Please note that neither Keller Australia nor the sender accepts any 
responsibility for viruses and it is your responsibility to scan the email and 
attachments (if any).

Visit http://www.keller.com.au/
 for more information. 



This e-mail message has been scanned for Viruses and Content and cleared by
MailMarshal






___ Sponsored by Infotext - Amazing 
Search for Microsoft SharePoint -
http://www.infotext.com/ ozmoss mailing list
ozmoss@ozmoss.com 
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss




The content of this email is confidential to the intended recipient at the 
email address to which it has been addressed. It may not be disclosed to, or 
used by,
 anyone other than this addressee, nor may it be copied in any way. If received 
in error, please contact the author and then delete the message from your 
system.


Please note that neither Keller Australia nor the sender accepts any 
responsibility for viruses and it is your responsibility to scan the email and 
attachments (if any).

Visit http://www.keller.com.au/
 for more information. 



This e-mail message has been scanned for Viruses and Content and cleared by
MailMarshal






___ Sponsored by Infotext - Amazing 
Search for Microsoft SharePoint -
http://www.infotext.com/ ozmoss mailing list
ozmoss@ozmoss.com 
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss





The 
content of this email is confidential to the intended recipient

RE: Render Multi Choice control as Select Boxes

2014-06-18 Thread Nigel Witherdin

No dramas - thanks for replying.
I am thinking I might leave it as a Lookup rather then a choice, and see if I 
cant do the filtering of the DVWP with a connected filter web part...

From: p.no...@keller.com.au
To: ozmoss@ozmoss.com
Subject: RE: Render Multi Choice control as Select Boxes
Date: Wed, 18 Jun 2014 23:56:59 +









I haven’t looked at it that closely.
Easiest solution would probably be jQuery but I don’t have a 2010 farm
 to play with.
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com]
On Behalf Of Nigel Witherdin

Sent: Wednesday, 18 June 2014 3:02 PM

To: OzMoss; Conrad Grobler

Subject: RE: Render Multi Choice control as Select Boxes


 

Hey,

 


I want to have a choice field that allows selection of multiple options to 
render as to select boxes with add/remove buttons (see attached image), not as 
a bunch of checkboxes).


 


I should mention that I am using SP 2010 (which doesn't have JSLink), so I 
guess this makes overwriting any of the rendering of the control quite a bit 
more difficult. Because this control
 type is used for mult select Lookup fields, I was hoping someone might know a 
trick to get the Choice field render using this control.


 


Failing that, I was hoping someone might know of a way to allow Lookup fields 
to be used in metadata filtering (or column filtering in DVWP)


 


Cheers,


 


Nigel


 






From:
p.no...@keller.com.au

To: ozmoss@ozmoss.com

Subject: RE: Render Multi Choice control as Select Boxes

Date: Wed, 18 Jun 2014 04:28:28 +

I’m not really sure what you mean Nigel.
 
Do you mean a drop-down list that allows multiple selections?
 
This should be manageable with a custom render template and JS Link, or maybe 
just pure jQuery.
 


From:
ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com]
On Behalf Of Nigel Witherdin

Sent: Wednesday, 18 June 2014 1:56 PM

To: OzMoss; Conrad Grobler

Subject: Render Multi Choice control as Select Boxes


 

Hey All,

 


I have a requirement to:


- use an SP Choice field


- allow multiple selections


- render this as select boxes with add/remove buttons (like the multi lookup 
field)


 


I know I can use SPServices to render a multi choice field (checkboxes) into 
multiple columns, which is better then having a huge list of checkboxes down 
the screen, but I would really rather
 have use the select boxes with add/remove buttons.


 


I could use a list and a lookup field, but then I lose the ability to use this 
field in metadata filtering, or by column header filtering in a DVWP


 


Anybody got any ideas?


 


Cheers,


 


Nigel



The content of this email is confidential to the intended recipient at the 
email address to which it has been addressed. It may not be disclosed to, or 
used by,
 anyone other than this addressee, nor may it be copied in any way. If received 
in error, please contact the author and then delete the message from your 
system.


Please note that neither Keller Australia nor the sender accepts any 
responsibility for viruses and it is your responsibility to scan the email and 
attachments (if any).

Visit http://www.keller.com.au/
 for more information. 



This e-mail message has been scanned for Viruses and Content and cleared by
MailMarshal






___ Sponsored by Infotext - Amazing 
Search for Microsoft SharePoint -
http://www.infotext.com/ ozmoss mailing list
ozmoss@ozmoss.com 
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss





The 
content of this email is confidential to the intended recipient at the email 
address to which it has been addressed. It may not be disclosed to, or used by, 
anyone other than this addressee, nor may it be copied in any way. If received 
in error, please contact the author and then delete the message from your 
system. 
Please note that neither Keller Australia nor the sender accepts any 
responsibility for viruses and it is your responsibility to scan the email and 
attachments (if any).
Visit http://www.keller.com.au/ for more information. 





This e-mail message has been scanned for Viruses and Content and 
cleared by MailMarshal 








___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss   
  ___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

RE: Render Multi Choice control as Select Boxes

2014-06-17 Thread Nigel Witherdin
Hey,
I want to have a choice field that allows selection of multiple options to 
render as to select boxes with add/remove buttons (see attached image), not as 
a bunch of checkboxes).
I should mention that I am using SP 2010 (which doesn't have JSLink), so I 
guess this makes overwriting any of the rendering of the control quite a bit 
more difficult. Because this control type is used for mult select Lookup 
fields, I was hoping someone might know a trick to get the Choice field render 
using this control.
Failing that, I was hoping someone might know of a way to allow Lookup fields 
to be used in metadata filtering (or column filtering in DVWP)
Cheers,
Nigel
From: p.no...@keller.com.au
To: ozmoss@ozmoss.com
Subject: RE: Render Multi Choice control as Select Boxes
Date: Wed, 18 Jun 2014 04:28:28 +









I’m not really sure what you mean Nigel.
 
Do you mean a drop-down list that allows multiple selections?
 
This should be manageable with a custom render template and JS Link, or maybe 
just pure jQuery.
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com]
On Behalf Of Nigel Witherdin

Sent: Wednesday, 18 June 2014 1:56 PM

To: OzMoss; Conrad Grobler

Subject: Render Multi Choice control as Select Boxes


 

Hey All,

 


I have a requirement to:


- use an SP Choice field


- allow multiple selections


- render this as select boxes with add/remove buttons (like the multi lookup 
field)


 


I know I can use SPServices to render a multi choice field (checkboxes) into 
multiple columns, which is better then having a huge list of checkboxes down 
the screen, but I would really rather
 have use the select boxes with add/remove buttons.


 


I could use a list and a lookup field, but then I lose the ability to use this 
field in metadata filtering, or by column header filtering in a DVWP


 


Anybody got any ideas?


 


Cheers,


 


Nigel




The 
content of this email is confidential to the intended recipient at the email 
address to which it has been addressed. It may not be disclosed to, or used by, 
anyone other than this addressee, nor may it be copied in any way. If received 
in error, please contact the author and then delete the message from your 
system. 
Please note that neither Keller Australia nor the sender accepts any 
responsibility for viruses and it is your responsibility to scan the email and 
attachments (if any).
Visit http://www.keller.com.au/ for more information. 





This e-mail message has been scanned for Viruses and Content and 
cleared by MailMarshal 








___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss   
  ___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

RE: Workflow Schedule - copy all list items to new doc

2014-03-25 Thread Nigel Witherdin
Not used the tool - so cant comment on it. I would probably look towards doing 
something custom to meet the requirement:- Timer job timer job to export the 
list including content; or- Windows Scheduled job to run Powershell to backup 
the list on monthly basis
Cheers
Nigel


From: p.no...@keller.com.au
To: ozmoss@ozmoss.com
Subject: Workflow Schedule - copy all list items to new doc
Date: Wed, 26 Mar 2014 00:38:26 +









I have the need to snapshot an entire list on a monthly schedule and either 
copy it to a new list item, or email it as html.
 
Has anyone ever used 
Hareflow Workflow Scheduler? Or have any better idea on how to achieve this?
 
Regards,
 
Paul


The 
content of this email is confidential to the intended recipient at the email 
address to which it has been addressed. It may not be disclosed to, or used by, 
anyone other than this addressee, nor may it be copied in any way. If received 
in error, please contact the author and then delete the message from your 
system. 
Please note that neither Keller Australia nor the sender accepts any 
responsibility for viruses and it is your responsibility to scan the email and 
attachments (if any).
Visit http://www.keller.com.au/ for more information. 





This e-mail message has been scanned for Viruses and Content and 
cleared by MailMarshal 








___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss   
  ___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

InfoPath - Rendering email addresses in Free Text as MailTo links

2014-03-23 Thread Nigel Witherdin
Hey All,
SharePoint single line of text fields seem to automatically render email 
addresses as mailto links when shown in the view form.
Is it possible to do this in an InfoPath form used to replace the ootb 
SharePoint form for a list?
Cheers,
Nigel ___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Re: SP2010 - Publish InfoPath form to existing Content Type

2014-03-20 Thread Nigel Witherdin
Yeah, unfortunately the lists have a number of items under a different CT, so 
if I use a form library I would need to convert the existing items over to the 
new CT - not something I really want to bother with.

I guess I am going to be manually creating the infopath form for each 
individual list *sigh* and then doing any future changes the same way *deeper 
sigh*

Thanks guys

Sent from my iPhone

 On 20 Mar 2014, at 5:28 pm, Ivan Wilson iv...@sharepointgurus.net wrote:
 
 Not sure you can do this with a list, but you can do this using a Forms 
 Library. Publish the form template to Central Admin. This will create a 
 content type that you can then use in the forms libraries at each of the 
 subsites.
  
 When you republish the form template, it will get pushed out to the relevant 
 libraries.
  
 Trying to retrofit this to an existing set of lists sounds scary.
  
 Long live InfoPath!
  
 Ivan
  
 From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf 
 Of Nigel Witherdin
 Sent: Thursday, 20 March 2014 9:30 AM
 To: OzMoss; Conrad Grobler
 Subject: SP2010 - Publish InfoPath form to existing Content Type
  
 Hi All,
  
 Don't have a huge amount of experience with InfoPath, so hoping someone out 
 there can point me in the right direction on this one. I have a site which 
 has many subwebs, each subweb containing a list which has a particular 
 content type associated with it, and many items within the list of that CT.
  
 I want to publish a new InfoPath-based form for this content type, so that it 
 is used by all the lists on the subwebs.
  
 Can anyone point me in the correct direction for achieving this?
  
 Cheers,
  
 Nigel
 ___
 Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
 http://www.infotext.com/
 ozmoss mailing list
 ozmoss@ozmoss.com
 http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

RE: SP2010 - Publish InfoPath form to existing Content Type

2014-03-20 Thread Nigel Witherdin
Have lessened the pain by manually editing the XSF and changing the URL, ListID 
and ContentType ID, which then lets me deploy the new form to the new location
Is there a replacement in 2013 ? And I don't mean a third-party product like 
Nintex Forms or whatever - I think its pretty poor of Microsoft to leave 
expected functionality gaps in SharePoint to be filled by third-party 
products. It makes it pretty hard to defend the licensing costs etc. of the 
product to management when you then have to turn around and license products 
for stuff like RBS, forms, workflow etc.


From: p.no...@keller.com.au
To: ozmoss@ozmoss.com
Subject: RE: SP2010 - Publish InfoPath form to existing Content Type
Date: Thu, 20 Mar 2014 23:50:00 +









Or tell them it’s a dead product and rebuild it in 2013.
J
 
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com]
On Behalf Of Nigel Witherdin

Sent: Thursday, 20 March 2014 5:48 PM

To: ozMOSS

Subject: Re: SP2010 - Publish InfoPath form to existing Content Type


 

Yeah, unfortunately the lists have a number of items under a different CT, so 
if I use a form library I would need to convert the existing items over to the 
new CT - not something I really want to bother with.


 


I guess I am going to be manually creating the infopath form for each 
individual list *sigh* and then doing any future changes the same way *deeper 
sigh*


 


Thanks guys



Sent from my iPhone




On 20 Mar 2014, at 5:28 pm, Ivan Wilson iv...@sharepointgurus.net wrote:



Not sure you can do this with a list, but you can do this using a Forms 
Library. Publish the form template to Central Admin. This
 will create a content type that you can then use in the forms libraries at 
each of the subsites.

 
When you republish the form template, it will get pushed out to the relevant 
libraries.

 
Trying to retrofit this to an existing set of lists sounds scary.
 
Long live InfoPath!
 
Ivan
 


From:
ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com]
On Behalf Of Nigel Witherdin

Sent: Thursday, 20 March 2014 9:30 AM

To: OzMoss; Conrad Grobler

Subject: SP2010 - Publish InfoPath form to existing Content Type


 

Hi All,

 


Don't have a huge amount of experience with InfoPath, so hoping someone out 
there can point me in the right direction on this one. I have a site which has 
many subwebs, each subweb containing
 a list which has a particular content type associated with it, and many items 
within the list of that CT.


 


I want to publish a new InfoPath-based form for this content type, so that it 
is used by all the lists on the subwebs.


 


Can anyone point me in the correct direction for achieving this?


 


Cheers,


 


Nigel






___

Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/

ozmoss mailing list

ozmoss@ozmoss.com

http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss




The 
content of this email is confidential to the intended recipient at the email 
address to which it has been addressed. It may not be disclosed to, or used by, 
anyone other than this addressee, nor may it be copied in any way. If received 
in error, please contact the author and then delete the message from your 
system. 
Please note that neither Keller Australia nor the sender accepts any 
responsibility for viruses and it is your responsibility to scan the email and 
attachments (if any).
Visit http://www.keller.com.au/ for more information. 





This e-mail message has been scanned for Viruses and Content and 
cleared by MailMarshal 








___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss   
  ___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

SP2010 - Publish InfoPath form to existing Content Type

2014-03-19 Thread Nigel Witherdin
Hi All,
Don't have a huge amount of experience with InfoPath, so hoping someone out 
there can point me in the right direction on this one. I have a site which has 
many subwebs, each subweb containing a list which has a particular content type 
associated with it, and many items within the list of that CT.
I want to publish a new InfoPath-based form for this content type, so that it 
is used by all the lists on the subwebs.
Can anyone point me in the correct direction for achieving this?
Cheers,
Nigel ___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

RE: Custom DateTime Search Refiner (FAST SP2010)

2013-11-26 Thread Nigel Witherdin

Hey,
In case this is of interest to anyone else, the issue was that the date refiner 
was set to be a deep refiner. Unchecking this box allowed it to be used in the 
refinement panel like Created
Cheers
Nigel
From: nigel_wither...@hotmail.com
To: ozmoss@ozmoss.com; conrad.grob...@gmail.com
Subject: Custom DateTime Search Refiner (FAST SP2010)
Date: Thu, 21 Nov 2013 01:03:39 +




Hey all,
Hoping someone can help me out there
We are attempting to create a DateTime search refiner for a custom site column, 
with the refiner acting exactly as the ootb Modified Date refiner does - i.e. 
has refining options like last week, last month, last 6 months etc.
To do this I have:
- Created a Managed Property - set as DateTime, mapping the crawled property 
for my custom site column, checked the sort, refine and deep refine options- 
Performed a full crawl- Added the managed property to the Search core results 
fetched properties:
root xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;ColumnsColumn 
Name=wfsocdate/Column Name=wfnsoimageurl/Column 
Name=wfretailer/Column Name=wfjdebusinessunit/Column 
Name=wfnsoretailergroup/Column Name=wfnsofeature/Column 
Name=WorkId/Column Name=Rank/Column Name=Title/Column 
Name=Author/Column Name=Size/Column Name=Path/Column 
Name=Description/Column Name=Write/Column Name=SiteName/Column 
Name=CollapsingStatus/Column Name=HitHighlightedSummary/Column 
Name=HitHighlightedProperties/Column Name=ContentClass/Column 
Name=IsDocument/Column Name=PictureThumbnailURL/Column 
Name=Url/Column Name=ServerRedirectedUrl/Column 
Name=FileExtension/Column Name=SpSiteUrl/Column 
Name=docvector/Column Name=fcocount/Column Name=fcoid/Column 
Name=PictureHeight/Column Name=PictureWidth//Columns/root
- Modified the Refiner web parts XML to render the new filter:
Category   Title=SOC DateDescription=SOC Date  

Type=Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator
MetadataThreshold=5   
NumberOfFiltersToDisplay=6MaxNumberOfFilters=0  
SortBy=Custom ShowMoreLink=True 
MappedProperty=wfsocdate  MoreLinkText=show more
LessLinkText=show fewer  CustomFilters 
MappingType=RangeMapping DataType=Date ValueReference=Relative 
ShowAllInMore=False  CustomFilter CustomValue=Past 24 
Hours  OriginalValue-1../OriginalValue
 /CustomFilter CustomFilter CustomValue=Past 
Week  OriginalValue-7../OriginalValue 
/CustomFilter CustomFilter CustomValue=Past Month 
OriginalValue-30../OriginalValue
/CustomFilter CustomFilter CustomValue=Past Six Months
OriginalValue-183../OriginalValue   
/CustomFilter CustomFilter CustomValue=Past Year  
OriginalValue-365../OriginalValue   
/CustomFilter CustomFilter CustomValue=Earlier
OriginalValue..-365/OriginalValue   
/CustomFilter /CustomFilters/Category

However the refiner never appears. I changed the SearchResults XSLT to show the 
complete data being brought back for each result item, and found that the 
difference between my custom date column and the created date column (with 
managed metadata property name Write) is that my date is in UTC format, where 
the Write date is not:
 Result  id1/id  wfsocdate2013-11-15T13:00:00Z/wfsocdate  
workid/workid  rank3111/rank  titleTitle data/title  
authorauthor data/author  size0/size  pathurl data/path 
 description/description  write21/11/2013/write
  [stuff removed]
/Result

Can anyone confirm that this is the issue with my refiner, and if so how do I 
get the indexer to crawl the date in the same format as the Write date? Do I 
need to do this myself with the results XSLT? If I do, how will this work with 
the refiner (I assume the refiner is working with the data returned in the 
managed property, not the transformed data shown in the results)?
Many thanks
Nigel

  ___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Custom DateTime Search Refiner (FAST SP2010)

2013-11-20 Thread Nigel Witherdin
Hey all,
Hoping someone can help me out there
We are attempting to create a DateTime search refiner for a custom site column, 
with the refiner acting exactly as the ootb Modified Date refiner does - i.e. 
has refining options like last week, last month, last 6 months etc.
To do this I have:
- Created a Managed Property - set as DateTime, mapping the crawled property 
for my custom site column, checked the sort, refine and deep refine options- 
Performed a full crawl- Added the managed property to the Search core results 
fetched properties:
root xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;ColumnsColumn 
Name=wfsocdate/Column Name=wfnsoimageurl/Column 
Name=wfretailer/Column Name=wfjdebusinessunit/Column 
Name=wfnsoretailergroup/Column Name=wfnsofeature/Column 
Name=WorkId/Column Name=Rank/Column Name=Title/Column 
Name=Author/Column Name=Size/Column Name=Path/Column 
Name=Description/Column Name=Write/Column Name=SiteName/Column 
Name=CollapsingStatus/Column Name=HitHighlightedSummary/Column 
Name=HitHighlightedProperties/Column Name=ContentClass/Column 
Name=IsDocument/Column Name=PictureThumbnailURL/Column 
Name=Url/Column Name=ServerRedirectedUrl/Column 
Name=FileExtension/Column Name=SpSiteUrl/Column 
Name=docvector/Column Name=fcocount/Column Name=fcoid/Column 
Name=PictureHeight/Column Name=PictureWidth//Columns/root
- Modified the Refiner web parts XML to render the new filter:
Category   Title=SOC DateDescription=SOC Date  

Type=Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator
MetadataThreshold=5   
NumberOfFiltersToDisplay=6MaxNumberOfFilters=0  
SortBy=Custom ShowMoreLink=True 
MappedProperty=wfsocdate  MoreLinkText=show more
LessLinkText=show fewer  CustomFilters 
MappingType=RangeMapping DataType=Date ValueReference=Relative 
ShowAllInMore=False  CustomFilter CustomValue=Past 24 
Hours  OriginalValue-1../OriginalValue
 /CustomFilter CustomFilter CustomValue=Past 
Week  OriginalValue-7../OriginalValue 
/CustomFilter CustomFilter CustomValue=Past Month 
OriginalValue-30../OriginalValue
/CustomFilter CustomFilter CustomValue=Past Six Months
OriginalValue-183../OriginalValue   
/CustomFilter CustomFilter CustomValue=Past Year  
OriginalValue-365../OriginalValue   
/CustomFilter CustomFilter CustomValue=Earlier
OriginalValue..-365/OriginalValue   
/CustomFilter /CustomFilters/Category

However the refiner never appears. I changed the SearchResults XSLT to show the 
complete data being brought back for each result item, and found that the 
difference between my custom date column and the created date column (with 
managed metadata property name Write) is that my date is in UTC format, where 
the Write date is not:
 Result  id1/id  wfsocdate2013-11-15T13:00:00Z/wfsocdate  
workid/workid  rank3111/rank  titleTitle data/title  
authorauthor data/author  size0/size  pathurl data/path 
 description/description  write21/11/2013/write
  [stuff removed]
/Result

Can anyone confirm that this is the issue with my refiner, and if so how do I 
get the indexer to crawl the date in the same format as the Write date? Do I 
need to do this myself with the results XSLT? If I do, how will this work with 
the refiner (I assume the refiner is working with the data returned in the 
managed property, not the transformed data shown in the results)?
Many thanks
Nigel
  ___
Sponsored by Infotext - Amazing Search for Microsoft SharePoint - 
http://www.infotext.com/
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Custom Javascript on form

2013-10-17 Thread Nigel Witherdin
Hi All,
Firstly - I know my javascript/jQuery is pretty terrible - please feel free to 
abuse me and give me examples of what I need to do better :)
I am trying to use javascript to hide the Name field on a list form if the 
content type is of a specific type (I will set the Name value in the 
PreSaveAction when save is clicked). However when my $(document).ready function 
runs to do the check and hide the field, it runs before the List web part has 
added the field control objects to the DOM.
I have tried using $(window).load as well.
The closest I have come to making it work the way I want is to get the SELECT 
ctrl for the Content Type, and then override its onchange value. However then 
the function ChangeContentType is undefined:
jQuery(document).ready(function() { var ctSelect = jQuery('table#formTbl  
tbody  tr:nth-child(1)  td.ms-formbody  select'); alert(Start);  
ctSelect.bind(onchange, function() {  
ChangeContentType(ctSelect.attr('id')); /* THIS IS UNDEFINED */
var contentTypeRow = jQuery('table#formTbl  tbody  
tr:nth-child(1)'); var nameRow = 
jQuery('nobr:contains(Name)').closest(tr) var 
ctSelectVal = jQuery('table#formTbl  tbody  tr:nth-child(1)  td.ms-formbody 
 select option:selected');  alert(ctSelectVal.text()); 
 // If this is Lease Matrix Document Set if (ctSelectVal.text() == 
Lease Matrix Document Set) {contentTypeRow.hide();
  nameRow.hide(); }   return false;   });});
Can someone point me in the right direction?
Cheers,
Nigel ___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Custom Javascript on form

2013-10-17 Thread Nigel Witherdin
Thanks!!
Im using SP2010 and the trick of pushing it into _spBodyOnLoadFunctionNames to 
make it run at the end of the other scripts was just what I was after!
Cheers,
Nigel

From: mda...@datacogs.com
To: ozmoss@ozmoss.com
Date: Thu, 17 Oct 2013 21:27:22 -0400
Subject: Re: Custom Javascript on form

Another alternative is to use the _spBodyOnLoadFunctionNames array.  See:
http://www.stephanrocks.com/2011/10/05/_spbodyonloadfunctionnames-in-sharepoint-vs-jquerys-document-ready/
Also if you are using SharePoint 2013, the JSLink functionality can accomplish 
the same thing as what you are trying to achieve, but is much cleaner.
http://www.martinhatch.com/2013/08/jslink-and-display-templates-part-1-overview-url-tokens-and-applying-jslink-to-objects.html
MarkFrom:  Matthew Cosier cos...@gmail.com
Reply-To:  ozMOSS ozmoss@ozmoss.com
Date:  Friday, 18 October 2013 11:22 AM
To:  ozMOSS ozmoss@ozmoss.com
Subject:  Re: Custom Javascript on form

the document ready event will fire when the DOM is ready, however if you have 
external script libraries which perform asynchronous changes to the DOM, then 
this event is rendered nearly useless.  You need to ensure that your script is 
fired on
 the result of that asynchronous change.  In your case, I'm tipping it's 
probably SP.JS.  To do this, you can use SP.SOD.executeOrDelayUntilScriptLoaded 
with SP.js as the target.

On Fri, Oct 18, 2013 at 12:12 PM, Nigel Witherdin 
nigel_wither...@hotmail.com wrote:
Hi All,

Firstly - I know my javascript/jQuery is pretty terrible - please feel free to 
abuse me and give me examples of what I need to do better :)
I am trying to use javascript to hide the Name field on a list form if the 
content type is of a specific type (I will set the Name value in the 
PreSaveAction when save is clicked). However when my $(document).ready function 
runs to do the check and hide
 the field, it runs before the List web part has added the field control 
objects to the DOM.
I have tried using $(window).load as well.
The closest I have come to making it work the way I want is to get the SELECT 
ctrl for the Content Type, and then override its onchange value. However then 
the function ChangeContentType is undefined:
jQuery(document).ready(function() {var ctSelect = jQuery('table#formTbl  tbody 
 tr:nth-child(1)  td.ms-formbody  
select');alert(Start);ctSelect.bind(onchange, function() 
{ChangeContentType(ctSelect.attr('id')); /* THIS IS UNDEFINED */
var contentTypeRow = jQuery('table#formTbl  tbody  tr:nth-child(1)');var 
nameRow = jQuery('nobr:contains(Name)').closest(tr)var 
ctSelectVal = jQuery('table#formTbl  tbody  tr:nth-child(1)  td.ms-formbody 
 select option:selected');alert(ctSelectVal.text());// If this is Lease Matrix 
Document Setif (ctSelectVal.text() == Lease Matrix Document Set) 
{contentTypeRow.hide();nameRow.hide();}return false;});});
Can someone point me in the right direction?
Cheers,
Nigel

___

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: Sp2010 Custom Site Definition

2013-09-19 Thread Nigel Witherdin
No it doesn't work - I get a message: WARNING: Template is not found and is 
not applied. and PowerShell creates the site without applying a template. I 
can confirm that it does set it correctly for the ootb ones - I checked a team 
site and can see WebTemplate = STS, WebTemplateId = 1.
I assume that in the config database it actually keeps a link between template 
name and id, and these are loaded up from parsing the XML on the filesystem. 
I assume this because on my first deploy of the CKS template driven site 
definition, it actually set this value correctly for me (tied to id 10 
which the CKS template generates by default). However since then, I have not 
been able to get this site name to change even when I have retracted that wsp, 
and released other ones with a different name and using id 10. Instead what 
happens is any site created with the new definition shows the old name as its 
WebTemplate property.
So I know it is possible to set this correctly, I just cant seem to set with 
any consistency (in fact, I reckon I set it once correctly for id 10, and 
have never been able to set it again).
I might try restarting the machine to restart all the services, in case there 
is some timer job that loads the values into the config database that is stuck.
Obviously a lot of this is conjecture, so if anyone actually knows whats goes 
on here, please let me know. 

From: conrad.grob...@gmail.com
Date: Thu, 19 Sep 2013 09:33:36 +0100
Subject: Re: Sp2010 Custom Site Definition
To: nigel_wither...@hotmail.com

I don't know if anyone else responded yet, but from my experience this seems to 
be standard behaviour. I have never seen the webtemplate property populated for 
sites based on custom web definitions (not even sure if it is populated for out 
of the box templates). To create it via powershell, you should use 
WESTFIELDNEW#0 (Name attribute from Template element from the webtemp file # ID 
attribute from Configuration element).


Regards,Conrad.


On Thu, Sep 19, 2013 at 6:16 AM, Nigel Witherdin nigel_wither...@hotmail.com 
wrote:





Hey guys,
This is driving me bat-shit crazy!
I have created a custom site definition that appears to be working correctly - 
the site is created correctly and appropriate lists, features etc are executed, 
however when I check the web out using Powershell, the WebTemplate value is 
null. The WebTemplateID is correct.


As I want to create sites based on this template via Powershell, I need to know 
that it has the correct WebTemplate value.
I have created the site with the CKS Blank Site Definition template, then after 
suffering the issue with that, I created the webtemp and onet by hand - same 
results.


I have attached the latest version of both these files, and would be extremely 
grateful if anyone can point out where I am going wrong.
WEBTEMPWESTFIELDNEW.XML - deployed to \TEMPLATE\1033\XML

onet.xml - deployed to \TEMPLATE\SiteTemplates\WESTFIELDNEW
Many thanks
Nigel 



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


RE: Sp2010 Custom Site Definition

2013-09-19 Thread Nigel Witherdin
Hey All,
Restarting the machine worked. Now when I run: Get-SPWebTemplate | Sort-Object 
Name I can see my new custom template in there with a correct name.
Again, not sure if theere is a timer job (would make sense) or restarting a 
service made it actually pick it up, but its sorted now so thats a relief. Pity 
it took a day to figure out

From: nigel_wither...@hotmail.com
To: conrad.grob...@gmail.com; ozmoss@ozmoss.com
Subject: RE: Sp2010 Custom Site Definition
Date: Thu, 19 Sep 2013 23:40:25 +




No it doesn't work - I get a message: WARNING: Template is not found and is 
not applied. and PowerShell creates the site without applying a template. I 
can confirm that it does set it correctly for the ootb ones - I checked a team 
site and can see WebTemplate = STS, WebTemplateId = 1.
I assume that in the config database it actually keeps a link between template 
name and id, and these are loaded up from parsing the XML on the filesystem. 
I assume this because on my first deploy of the CKS template driven site 
definition, it actually set this value correctly for me (tied to id 10 
which the CKS template generates by default). However since then, I have not 
been able to get this site name to change even when I have retracted that wsp, 
and released other ones with a different name and using id 10. Instead what 
happens is any site created with the new definition shows the old name as its 
WebTemplate property.
So I know it is possible to set this correctly, I just cant seem to set with 
any consistency (in fact, I reckon I set it once correctly for id 10, and 
have never been able to set it again).
I might try restarting the machine to restart all the services, in case there 
is some timer job that loads the values into the config database that is stuck.
Obviously a lot of this is conjecture, so if anyone actually knows whats goes 
on here, please let me know. 

From: conrad.grob...@gmail.com
Date: Thu, 19 Sep 2013 09:33:36 +0100
Subject: Re: Sp2010 Custom Site Definition
To: nigel_wither...@hotmail.com

I don't know if anyone else responded yet, but from my experience this seems to 
be standard behaviour. I have never seen the webtemplate property populated for 
sites based on custom web definitions (not even sure if it is populated for out 
of the box templates). To create it via powershell, you should use 
WESTFIELDNEW#0 (Name attribute from Template element from the webtemp file # ID 
attribute from Configuration element).


Regards,Conrad.


On Thu, Sep 19, 2013 at 6:16 AM, Nigel Witherdin nigel_wither...@hotmail.com 
wrote:





Hey guys,
This is driving me bat-shit crazy!
I have created a custom site definition that appears to be working correctly - 
the site is created correctly and appropriate lists, features etc are executed, 
however when I check the web out using Powershell, the WebTemplate value is 
null. The WebTemplateID is correct.


As I want to create sites based on this template via Powershell, I need to know 
that it has the correct WebTemplate value.
I have created the site with the CKS Blank Site Definition template, then after 
suffering the issue with that, I created the webtemp and onet by hand - same 
results.


I have attached the latest version of both these files, and would be extremely 
grateful if anyone can point out where I am going wrong.
WEBTEMPWESTFIELDNEW.XML - deployed to \TEMPLATE\1033\XML

onet.xml - deployed to \TEMPLATE\SiteTemplates\WESTFIELDNEW
Many thanks
Nigel 



  

___
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


Sp2010 Custom Site Definition

2013-09-18 Thread Nigel Witherdin
Hey guys,
This is driving me bat-shit crazy!
I have created a custom site definition that appears to be working correctly - 
the site is created correctly and appropriate lists, features etc are executed, 
however when I check the web out using Powershell, the WebTemplate value is 
null. The WebTemplateID is correct.
As I want to create sites based on this template via Powershell, I need to know 
that it has the correct WebTemplate value.
I have created the site with the CKS Blank Site Definition template, then after 
suffering the issue with that, I created the webtemp and onet by hand - same 
results.
I have attached the latest version of both these files, and would be extremely 
grateful if anyone can point out where I am going wrong.
WEBTEMPWESTFIELDNEW.XML - deployed to \TEMPLATE\1033\XMLonet.xml - deployed 
to \TEMPLATE\SiteTemplates\WESTFIELDNEW
Many thanks
Nigel 

onet.xml
Description: XML document


WEBTEMPWESTFIELDNEW.XML
Description: XML document
___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


Re: Managed Metadata Fields

2013-09-12 Thread Nigel Witherdin
Yeah I do the same thing and hook the mm field up to the termset through code, 
however if your field declaration includes the WebId or SiteId attributes, or 
the properties shown in my first post, then the field will appear to correctly 
hook up to the termset, but won't behave correctly. 

Instead what will happen is the correct value will be written to he hidden note 
field in the expected format of guid | label, but the associated mm or multi 
mm field won't be set correctly (it won't have a wssid value etc).

So i suggest either generate your field declaration by hand and leave this 
stuff out, or edit the generated declaration and remove these attributes and 
properties

Sent from my iPad

On 13/09/2013, at 1:46 AM, Wes MacDonald wmacdon...@like10.com wrote:

 Hi,
  
 In the past I used these two blog posts:
  
 http://blogs.msdn.com/b/sharepointdev/archive/2012/04/16/programmatically-create-a-managed-metadata-list-column-mohammed-faizan.aspx
  
 http://www.wictorwilen.se/Post/How-to-provision-SharePoint-2010-Managed-Metadata-columns.aspx
  
 They both use a feature receiver to link everything up.
  
 Wes
  
 From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf 
 Of Nigel Witherdin
 Sent: Wednesday, September 11, 2013 9:39 PM
 To: OzMoss
 Subject: RE: Managed Metadata Fields
  
 oops that went a bit early. Finished off below:
 
 From: nigel_wither...@hotmail.com
 To: ozmoss@ozmoss.com
 Subject: Managed Metadata Fields
 Date: Thu, 12 Sep 2013 01:31:56 +
 
 Hey guys,
  
 Not a question this time - just a tip (NB I am working with SP2010, VS 2010).
  
 When I am creating solutions, I generally put together a proof of concept 
 which includes the content types, lists, etc, which I then save as a WSP, and 
 then import into Visual Studio to add the rest of the customizations. I 
 generally only import the artifacts I need, not everything for the site, as I 
 like my solutions to be as lean as possible.
  
 I have found however that with Managed Metadata fields pulled in this way, 
 the field definition contains the environment specific properties:
 Property
 NameSspId/Name
 Value 
 xmlns:q1=http://www.w3.org/2001/XMLSchema; p4:type=q1:string 
 xmlns:p4=http://www.w3.org/2001/XMLSchema-instance;7437670e-a4f0-4f53-99ed-a9561766f7c5/Value
 /Property
  
 and
  
 Property
 NameTermSetId/Name
 Value 
 xmlns:q2=http://www.w3.org/2001/XMLSchema; p4:type=q2:string 
 xmlns:p4=http://www.w3.org/2001/XMLSchema-instance;9a2f696a-af3c-49cf-b186-1031f3f67113/Value
 /Property
  
  
 This means when you deploy this field onto another site collection using 
 different termset Id's the field no longer works.
  
 A better way is to edit the field definitions (and schema.xml files if using 
 list instances) and remove every property of a manged metadata field except 
 for TextField. Alternatively, you can import your field definitions using 
 the CKS toolkit, and it only brings across the TextId property.
  
 One last thing, edit your field definitions and remove all occurrences of the 
 Version property (e.g. Version=1) - having a version defined on a field 
 often means that if you try and update it through the UI after deployment, 
 you will get an error message back saying field has been modified by another 
 user.
  
 I would be interested to hear if others develop and package up field defs, 
 content types etc through any other means??
  
 Hope this helps someone out there
  
  
 ___
 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


Managed Metadata Fields

2013-09-11 Thread Nigel Witherdin
Hey guys,
Not a question this time - just a tip (NB I am working with SP2010, VS 2010).
When I am creating solutions, I generally put together a proof of concept which 
includes the content types, lists, etc, then I export this to WSP and import 
into Visual Studio, and add the rest of the customizations. I generally only 
pull in the artifacts I need, not everything for the site, as I like my 
solutions to be as lean as possible.
I have found however that with Managed Metadata fields pulled in this way, the 
field definition contains the environment specific properties:
  ___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Managed Metadata Fields

2013-09-11 Thread Nigel Witherdin
oops that went a bit early. Finished off below:

From: nigel_wither...@hotmail.com
To: ozmoss@ozmoss.com
Subject: Managed Metadata Fields
Date: Thu, 12 Sep 2013 01:31:56 +




Hey guys,
Not a question this time - just a tip (NB I am working with SP2010, VS 2010).
When I am creating solutions, I generally put together a proof of concept which 
includes the content types, lists, etc, which I then save as a WSP, and then 
import into Visual Studio to add the rest of the customizations. I generally 
only import the artifacts I need, not everything for the site, as I like my 
solutions to be as lean as possible.
I have found however that with Managed Metadata fields pulled in this way, the 
field definition contains the environment specific properties:  
  PropertyNameSspId/Name  
  Value xmlns:q1=http://www.w3.org/2001/XMLSchema; 
p4:type=q1:string 
xmlns:p4=http://www.w3.org/2001/XMLSchema-instance;7437670e-a4f0-4f53-99ed-a9561766f7c5/Value
/Property
and
Property
NameTermSetId/NameValue 
xmlns:q2=http://www.w3.org/2001/XMLSchema; p4:type=q2:string 
xmlns:p4=http://www.w3.org/2001/XMLSchema-instance;9a2f696a-af3c-49cf-b186-1031f3f67113/Value
/Property

This means when you deploy this field onto another site collection using 
different termset Id's the field no longer works.
A better way is to edit the field definitions (and schema.xml files if using 
list instances) and remove every property of a manged metadata field except for 
TextField. Alternatively, you can import your field definitions using the CKS 
toolkit, and it only brings across the TextId property.
One last thing, edit your field definitions and remove all occurrences of the 
Version property (e.g. Version=1) - having a version defined on a field 
often means that if you try and update it through the UI after deployment, you 
will get an error message back saying field has been modified by another user.
I would be interested to hear if others develop and package up field defs, 
content types etc through any other means??
Hope this helps someone out there


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


Re: Best Prectice for naming sites

2013-09-10 Thread Nigel Witherdin
I think the site title can be whatever you like, but I generally keep the URL 
for the site to be short (gen 6 letters or less), and without troubling 
characters like spaces.

Sent from my iPhone

On Sep 10, 2013, at 5:36 PM, Zahra Zamanikia zahra.zamani...@yahoo.com.au 
wrote:

 Hi All,
  
  
 There are different ways for naming sites, I just need a hint which way is 
 the best one ?
  
 Thanks,
 Zara
 ___
 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: Best Prectice for naming sites

2013-09-10 Thread Nigel Witherdin
ItemAdding event receiver on the SitePages library maybe?

Date: Wed, 11 Sep 2013 08:29:59 +1000
Subject: Re: Best Prectice for naming sites
From: web.ad...@syd.catholic.edu.au
To: ozmoss@ozmoss.com

I wish there was an easy way to enforce the same rules for pages. :)

Regards,

Paul



On 10 September 2013 18:07, Nigel Witherdin nigel_wither...@hotmail.com wrote:

I think the site title can be whatever you like, but I generally keep the URL 
for the site to be short (gen 6 letters or less), and without troubling 
characters like spaces.
Sent from my iPhone

On Sep 10, 2013, at 5:36 PM, Zahra Zamanikia zahra.zamani...@yahoo.com.au 
wrote:


Hi All,
 
 
There are different ways for naming sites, I just need a hint which way is the 
best one ?
 
Thanks,
Zara ___
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: List Views - Change headers to display down the side

2013-08-17 Thread Nigel Witherdin
You can create custom xslt to define how a view renders, but it is not a 
trivial exercise. This MSDN article has the info: 
http://msdn.microsoft.com/en-us/library/ff806162(v=office.14).aspx

Cheers

Nigel

Sent from my iPad

On 16/08/2013, at 10:18 PM, MacDonald, MM m...@securiantech.com wrote:

 Hi,
  
 Does any know if it is possible to change list views so that column headings 
 are displayed down the side of your screen instead of across the top?
  
 Thanks,
  
 Mike
 
 
  
 ___
 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: Refresh a Choice or Lookup Field without losing Form Data

2013-07-31 Thread Nigel Witherdin
It also doesn't add the fill-in choice to the drop down - ie. the string 
entered does not become avail as a choice for future edits.

If I did have to do it, I would use the SP Services library, which as a pretty 
simple js function that allows u to add a link to open a lookup columns source 
list and add an entry, then refreshes the values in the drop down dynamically.

The Kwiz solution ishai suggested would work too, but its always difficult to 
get budget for these little add-ins to SP

Sent from my iPad

On 31/07/2013, at 4:15 PM, Web Admin web.ad...@syd.catholic.edu.au wrote:

 It doesn't manage typos or duplicates well. And also fails to update existing 
 items because the value is stored as text rather than an indexed lookup to 
 the choice field values.
 
 I agree that managed metadata is the way to go. Very powerful.
 
 On 31 July 2013 16:11, Ivan Wilson iv...@sharepointgurus.net wrote:
 What about the “Allow Fill-in choices” option for the Choice field?
 
  
 
 image001.png
 
  
 
 Ivan
 
  
 
 From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf 
 Of Nigel Witherdin
 Sent: Wednesday, 31 July 2013 11:55 AM
 To: OzMoss
 
 
 Subject: Refresh a Choice or Lookup Field without losing Form Data
  
 
 Hey Guys,
 
  
 
 About to start googling it, but thought I would drop an email around first 
 to see if there are any suggestions.
 
  
 
 I have a user requirement to provide a dropdown on new/edit item forms that 
 allows the user to add a new dropdown option on the fly. I would personally 
 prefer it to be a choice field, but I understand that perhaps a lookup field 
 might better suit.
 
  
 
 So the point being the user uploads a document, fills out the form up to a 
 certain dropdown, discovers the dropdown doesnt have the option he/she 
 requires, is able to add the option to the dropdown and select it, and 
 continue completing the form.
 
  
 
 OOTB with choice and lookup they would have to close the form, go and add 
 the new option to the choice field or the source list, then edit the 
 uploaded documents properties and set the metadata.
 
  
 
 I know I could achieve this with Managed Metadata and an open termset, but I 
 dont really want to create a termset for all the dropdowns.
 
  
 
 So, any suggestions?
 
  
 
 Cheers,
 
  
 
 Nigel
 
 
 ___
 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


Refresh a Choice or Lookup Field without losing Form Data

2013-07-30 Thread Nigel Witherdin
Hey Guys,
About to start googling it, but thought I would drop an email around first to 
see if there are any suggestions.
I have a user requirement to provide a dropdown on new/edit item forms that 
allows the user to add a new dropdown option on the fly. I would personally 
prefer it to be a choice field, but I understand that perhaps a lookup field 
might better suit.
So the point being the user uploads a document, fills out the form up to a 
certain dropdown, discovers the dropdown doesnt have the option he/she 
requires, is able to add the option to the dropdown and select it, and continue 
completing the form.
OOTB with choice and lookup they would have to close the form, go and add the 
new option to the choice field or the source list, then edit the uploaded 
documents properties and set the metadata.
I know I could achieve this with Managed Metadata and an open termset, but I 
dont really want to create a termset for all the dropdowns.
So, any suggestions?
Cheers,
Nigel ___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Refresh a Choice or Lookup Field without losing Form Data

2013-07-30 Thread Nigel Witherdin
Hmmm SPServices SPLookupAddNew maybe... ??

From: nigel_wither...@hotmail.com
To: ozmoss@ozmoss.com
Subject: Refresh a Choice or Lookup Field without losing Form Data
Date: Wed, 31 Jul 2013 01:55:23 +




Hey Guys,
About to start googling it, but thought I would drop an email around first to 
see if there are any suggestions.
I have a user requirement to provide a dropdown on new/edit item forms that 
allows the user to add a new dropdown option on the fly. I would personally 
prefer it to be a choice field, but I understand that perhaps a lookup field 
might better suit.
So the point being the user uploads a document, fills out the form up to a 
certain dropdown, discovers the dropdown doesnt have the option he/she 
requires, is able to add the option to the dropdown and select it, and continue 
completing the form.
OOTB with choice and lookup they would have to close the form, go and add the 
new option to the choice field or the source list, then edit the uploaded 
documents properties and set the metadata.
I know I could achieve this with Managed Metadata and an open termset, but I 
dont really want to create a termset for all the dropdowns.
So, any suggestions?
Cheers,
Nigel 

___
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: Migration issue

2013-07-11 Thread Nigel Witherdin
Hey guys,
In case you're interested, we have gotten agreement that we only need to auto 
add the footer on docx and xlsx (woohoo), so I have achieved this with an event 
handler on ItemUpdated - this way I have access to the absolute url of the item 
and its current version number (as not available by quick parts). Used the 
OpenXML sdk to delete existing footer and insert new one.
Am happy to write a script or console app that will iterate through the docs 
and update any existing docx's and xslx's so that the previous version has the 
old footer information (matching any hard copies that are around), and the 
current version has the new correct footer info.
Dont really like having an event handler (just dont like them, although they 
seem to be all I am ever writing/maintaining), but it does seem appropriate in 
this case
thanks again for the help
Nigel

Date: Wed, 10 Jul 2013 15:30:15 +1000
Subject: Re: Migration issue
From: web.ad...@syd.catholic.edu.au
To: ozmoss@ozmoss.com

A whole world of pain basically.
New docs aren't the problem really. It's the existing ones you'll have  
problems with. Deal with them first.

The simplest solution is for them to accept that this is a new system and use 
content types and DispForm.aspx to display the metadata.

Not your fault they have multiple Office version docs.
I'd ignore the document path info for now cos it's going to change anyway. But 
if the Version info exists in the legacy system, u might want to query that and 
export to a spreadsheet. You could then use PowerShell to automate the field 
update against the filename after you upload them.


On 10 July 2013 14:49, Ishai Sagi is...@exd.com.au wrote:









Nigel – you are sending conflicting messages as to what you want to do. Lets 
put aside new documents and focus on documents in the
 system:
1.  
An event handler will not help, since there are no events running on the 
documents – you will need
 to edit the document properties or the documents to trigger the event handler 
– requiring you to edit each and every document

2.  
A button will not help, since it still requires you to open each document, 
press the button and
 save

3.  
A template will not help, since existing documents are not using the template


 
It seems to me that your best choice is to write an application that edits the 
documents. You will need a way to differentiate between
 new ones and migrated ones, and you will need code that runs on the server 
that can update the document content.
 

 
Ishai
 Sagi |
Solutions Architect


0488 789 786
|
is...@exd.com.au
|
www.sharepoint-tips.com
|
@ishaisagi
|
MVP Profile 



 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com]
On Behalf Of Nigel Witherdin

Sent: Wednesday, 10 July 2013 12:15 PM

To: OzMoss; Conrad Grobler

Subject: RE: Migration issue


 

Would creating an Office plugin (a button) that injects the values into the 
footer from the document's properties be feasible?


 


I think I have gotten version number in a footer in the document template by 
creating it as a label in the Info Mgmt Policy for the doc's content type 
before (so it can then be used in the
 template), but this doesn't really help me for the existing documents.


 


My other solution is shudder an event receiver that embeds the info into the 
footer.


 


Oh - this has to work for DOCs and DOCXs.


 


Again, would appreciate your thoughts - thanks guys!




Date: Wed, 10 Jul 2013 11:41:00 +1000

Subject: Re: Migration issue

From: web.ad...@syd.catholic.edu.au

To: ozmoss@ozmoss.com


Version and absolute URL are not available as Quick Parts.


 


I'd create a content type and add a Version (numeric) field so people can 
decide when this should change, rather than SharePoint.



 


For the file path you're going to have trouble though. Only way I can think is 
to set a field's value via a workflow.



 


Both could then be added to a template footer as Quick Parts.


 


As for legacy documents...there's no way I know to update these easily. I did 
see a batch XML converter around but I don't think it could handle these kind of
 changes.

On 10 July 2013 06:49, Nigel Witherdin nigel_wither...@hotmail.com wrote:




Hey guys,



We are currently migrating content from from legacy doc mgmt systems into 
SP2010, and I have come across a sticky requirement.



The doc mgmt system we are migrating from had a plugin to office that allowed 
the users to click a button and insert the file location and version number 
into the footer of the document. They like this functionality and see it as 
essential to exist in the new
 system.



For docs created within sharepoint, no problem. I can have a doc template that 
uses quick parts in the footer to display the items URL and version number (I 
assume), but that doesn't help for existing docs that are migrated into SP.




The other possible solution is to write a macro or customize word to provide a 
button that injects

RE: Migration issue

2013-07-09 Thread Nigel Witherdin
Would creating an Office plugin (a button) that injects the values into the 
footer from the document's properties be feasible?
I think I have gotten version number in a footer in the document template by 
creating it as a label in the Info Mgmt Policy for the doc's content type 
before (so it can then be used in the template), but this doesn't really help 
me for the existing documents.
My other solution is shudder an event receiver that embeds the info into the 
footer.
Oh - this has to work for DOCs and DOCXs.
Again, would appreciate your thoughts - thanks guys!

Date: Wed, 10 Jul 2013 11:41:00 +1000
Subject: Re: Migration issue
From: web.ad...@syd.catholic.edu.au
To: ozmoss@ozmoss.com

Version and absolute URL are not available as Quick Parts.
I'd create a content type and add a Version (numeric) field so people can 
decide when this should change, rather than SharePoint.

For the file path you're going to have trouble though. Only way I can think is 
to set a field's value via a workflow.

Both could then be added to a template footer as Quick Parts.
As for legacy documents...there's no way I know to update these easily. I did 
see a batch XML converter around but I don't think it could handle these kind 
of changes.


On 10 July 2013 06:49, Nigel Witherdin nigel_wither...@hotmail.com wrote:



Hey guys,



We are currently migrating content from from legacy doc mgmt systems into 
SP2010, and I have come across a sticky requirement.



The doc mgmt system we are migrating from had a plugin to office that allowed 
the users to click a button and insert the file location and version number 
into the footer of the document. They like this functionality and see it as 
essential to exist in the new system.




For docs created within sharepoint, no problem. I can have a doc template that 
uses quick parts in the footer to display the items URL and version number (I 
assume), but that doesn't help for existing docs that are migrated into SP.




The other possible solution is to write a macro or customize word to provide a 
button that injects the required info into the footer (from the document's 
properties?), but I haven't really done anything like this before, so not sure 
how viable this is.




What do you think, any suggestions on how I could solve this?



Many thanks,



nigel

___

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


Document Set Version Collection Corrupted

2013-07-07 Thread Nigel Witherdin
Hey Guys,
Just about to start looking into this one and trying some stuff, but as it is 
reasonably obscure thought I would throw it out there in case anyone else has 
encountered something similar. We have a library consisting of many thousands 
of document sets. Most of these document sets are fine, but have found one 
where trying to view the document set version history or create a new ds 
version throws an error:
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at 
System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean 
add) at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) 
at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.get_ListItemUrlToInternalIdMap()
 at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.CacheListItemsb__b(SPListItem
 item) at 
Microsoft.Office.Server.Utilities.ContentIterator.ProcessItem(SPListItem item, 
Boolean fIncludeFolderItems, MonitoredScopeWrapper monitoredScopeWrapper, 
ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout) at 
Microsoft.Office.Server.Utilities.ContentIterator.ProcessItems(SPListItemCollection
 items, Boolean fIncludeFolderItems, Boolean fIterateInReverseOrder, 
MonitoredScopeWrapper monitoredScopeWrapper, ItemProcessor itemProcessor, 
ItemProcessorErrorCallout errorCallout) at 
Microsoft.Office.Server.Utilities.ContentIterator.c__DisplayClass17.ProcessItemsInFolderb__16(SPListItemCollection
 items) at 
Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList list, 
SPQuery query, ItemsProcessor itemsProcessor, ItemsProcessorErrorCallout 
errorCallout) at 
Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList list, 
String strQuery, UInt32 rowLimit, Boolean fRecursive, SPFolder folder, 
ItemsProcessor itemsProcessor, ItemsProcessorErrorCallout errorCallout) at 
Microsoft.Office.Server.Utilities.ContentIterator.ProcessItemsInFolder(SPList 
list, SPFolder folder, Boolean fRecursive, Boolean fIncludeFolderItems, Boolean 
fIterateInReverseOrder, ItemProcessor itemProcessor, ItemProcessorErrorCallout 
errorCallout) at 
Microsoft.Office.Server.Utilities.ContentIterator.ProcessItemsInFolder(SPList 
list, SPFolder folder, Boolean fRecursive, Boolean fIncludeFolderItems, 
ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout) at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.CacheListItems()
 at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.Load()
 at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.Add(Boolean
 isLastMajor, String comments) at 
Microsoft.Office.DocumentManagement.Pages.CreateVersionUI.OnInit(EventArgs e)   
  at System.Web.UI.Control.InitRecursive(Control namingContainer) at 
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, 
Boolean includeStagesAfterAsyncPoint)

anyone have any ideas or suggestions?
Cheers,
Nigel ___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Document Set Version Collection Corrupted

2013-07-07 Thread Nigel Witherdin
Thanks Tom - will try the CU in the dev environment to see if it solves the 
issue. Out of interest - how did you find this??
Cheers,
Nigel

Date: Mon, 8 Jul 2013 10:39:29 +0930
Subject: Re: Document Set Version Collection Corrupted
From: oconnor...@gmail.com
To: ozmoss@ozmoss.com

What patch level are you at? Assuming SP2010.
There is a fix in the following CU that looks to be a fix for your 
issue.http://support.microsoft.com/kb/2687545



On 8 July 2013 09:28, Nigel Witherdin nigel_wither...@hotmail.com wrote:




Hey Guys,
Just about to start looking into this one and trying some stuff, but as it is 
reasonably obscure thought I would throw it out there in case anyone else has 
encountered something similar. We have a library consisting of many thousands 
of document sets. Most of these document sets are fine, but have found one 
where trying to view the document set version history or create a new ds 
version throws an error:

System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at 
System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean 
add)
 at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.get_ListItemUrlToInternalIdMap()
 at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.CacheListItemsb__b(SPListItem
 item)
 at Microsoft.Office.Server.Utilities.ContentIterator.ProcessItem(SPListItem 
item, Boolean fIncludeFolderItems, MonitoredScopeWrapper monitoredScopeWrapper, 
ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout)
 at 
Microsoft.Office.Server.Utilities.ContentIterator.ProcessItems(SPListItemCollection
 items, Boolean fIncludeFolderItems, Boolean fIterateInReverseOrder, 
MonitoredScopeWrapper monitoredScopeWrapper, ItemProcessor itemProcessor, 
ItemProcessorErrorCallout errorCallout)
 at 
Microsoft.Office.Server.Utilities.ContentIterator.c__DisplayClass17.ProcessItemsInFolderb__16(SPListItemCollection
 items) at 
Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList list, 
SPQuery query, ItemsProcessor itemsProcessor, ItemsProcessorErrorCallout 
errorCallout)
 at Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList 
list, String strQuery, UInt32 rowLimit, Boolean fRecursive, SPFolder folder, 
ItemsProcessor itemsProcessor, ItemsProcessorErrorCallout errorCallout)
 at 
Microsoft.Office.Server.Utilities.ContentIterator.ProcessItemsInFolder(SPList 
list, SPFolder folder, Boolean fRecursive, Boolean fIncludeFolderItems, Boolean 
fIterateInReverseOrder, ItemProcessor itemProcessor, ItemProcessorErrorCallout 
errorCallout)
 at 
Microsoft.Office.Server.Utilities.ContentIterator.ProcessItemsInFolder(SPList 
list, SPFolder folder, Boolean fRecursive, Boolean fIncludeFolderItems, 
ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout)
 at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.CacheListItems()
 at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.Load()

 at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.Add(Boolean
 isLastMajor, String comments) at 
Microsoft.Office.DocumentManagement.Pages.CreateVersionUI.OnInit(EventArgs e)   
 
 at System.Web.UI.Control.InitRecursive(Control namingContainer) at 
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, 
Boolean includeStagesAfterAsyncPoint)


anyone have any ideas or suggestions?
Cheers,
Nigel 

___

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: Document Set Version Collection Corrupted

2013-07-07 Thread Nigel Witherdin
Thanks guys - am installing the CU on dev vm now.
I did some searching as well and was suprised this CU didnt come up as I used 
terms SharePoint 2010 and the error message.
Let down by DuckDuckGo perhaps??

Date: Mon, 8 Jul 2013 12:27:32 +0930
Subject: Re: Document Set Version Collection Corrupted
From: oconnor...@gmail.com
To: ozmoss@ozmoss.com

Hi Nigel,
I vaguely remembered having a similar issue previously. I don't actually think 
it was the same problem, as Ishai said, it's a pretty generic error... I 
believe it was the same error but different circumstances.

I just put my Googling hat on and this hotfix came up, it sounded relatively 
similar to what you were experiencing. Of course, I'd suggest testing this out 
on a test environment before rolling it out to production, ensuring it does 
actually resolve the problem.

Cheers,Tom

On 8 July 2013 11:59, Ishai Sagi is...@exd.com.au wrote:









That fix may or may not be relevant – since it states that it is only about 
viewing version history, not creating a new one. The
 error is indicating that something that should be unique is duplicated – a 
regular unhelpful XML error. Since it is happening in a url to ID method, I 
would suspect that some file in the docset is registered as being there twice 
for some obscure reason.

 
 
Ishai
 Sagi |
Solutions Architect


0488 789 786
|
is...@exd.com.au
|
www.sharepoint-tips.com
|
@ishaisagi
|
MVP Profile 

 
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com]
On Behalf Of Tom O'Connor

Sent: Monday, 8 July 2013 11:09 AM

To: ozMOSS

Subject: Re: Document Set Version Collection Corrupted

 

What patch level are you at? Assuming SP2010.

 


There is a fix in the following CU that looks to be a fix for your issue.


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



 

On 8 July 2013 09:28, Nigel Witherdin nigel_wither...@hotmail.com wrote:



Hey Guys,

 


Just about to start looking into this one and trying some stuff, but as it is 
reasonably obscure thought I would throw it out there in case anyone else has 
encountered something similar. We have a library consisting of many thousands of
 document sets. Most of these document sets are fine, but have found one where 
trying to view the document set version history or create a new ds version 
throws an error:


 



System.ArgumentException: An item with the same key has already been added.   


 at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)


 at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, 
Boolean add)


 at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)


 at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.get_ListItemUrlToInternalIdMap()



 at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.CacheListItemsb__b(SPListItem
 item)


 at Microsoft.Office.Server.Utilities.ContentIterator.ProcessItem(SPListItem 
item, Boolean fIncludeFolderItems, MonitoredScopeWrapper monitoredScopeWrapper, 
ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout)



 at 
Microsoft.Office.Server.Utilities.ContentIterator.ProcessItems(SPListItemCollection
 items, Boolean fIncludeFolderItems, Boolean fIterateInReverseOrder, 
MonitoredScopeWrapper monitoredScopeWrapper, ItemProcessor itemProcessor, 
ItemProcessorErrorCallout
 errorCallout)


 at 
Microsoft.Office.Server.Utilities.ContentIterator.c__DisplayClass17.ProcessItemsInFolderb__16(SPListItemCollection
 items)


 at Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList 
list, SPQuery query, ItemsProcessor itemsProcessor, ItemsProcessorErrorCallout 
errorCallout)


 at Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList 
list, String strQuery, UInt32 rowLimit, Boolean fRecursive, SPFolder folder, 
ItemsProcessor itemsProcessor, ItemsProcessorErrorCallout errorCallout)



 at 
Microsoft.Office.Server.Utilities.ContentIterator.ProcessItemsInFolder(SPList 
list, SPFolder folder, Boolean fRecursive, Boolean fIncludeFolderItems, Boolean 
fIterateInReverseOrder, ItemProcessor itemProcessor, ItemProcessorErrorCallout
 errorCallout)


 at 
Microsoft.Office.Server.Utilities.ContentIterator.ProcessItemsInFolder(SPList 
list, SPFolder folder, Boolean fRecursive, Boolean fIncludeFolderItems, 
ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout)



 at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.CacheListItems()



 at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.Load()



 at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.Add(Boolean
 isLastMajor, String comments)


 at Microsoft.Office.DocumentManagement.Pages.CreateVersionUI.OnInit(EventArgs 
e)


 at System.Web.UI.Control.InitRecursive(Control namingContainer

RE: Document Set Version Collection Corrupted

2013-07-07 Thread Nigel Witherdin
Hey - an update for anyone interested.
The CU does not appear to have helped, in fact proving the rule NEVER apply a 
CU unless you have to, and then only do it to DEV with lots of testing,  it 
has broken the version history of all the document sets, giving the error:
System.FormatException: String was not recognized as a valid DateTime.at 
System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles 
styles) at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.ReadInSnapshotFields(XmlReader
 reader, DocumentSetVersion snapshot) at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.ReadInSnapshots(XmlReader
 reader) at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.Load()
 at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.get_Count()
 at 
Microsoft.Office.DocumentManagement.Pages.DocumentSetVersionHistoryUI.Sort()
 at 
Microsoft.Office.DocumentManagement.Pages.DocumentSetVersionHistoryUI.OnInit(EventArgs
 e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at 
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, 
Boolean includeStagesAfterAsyncPoint)

On a brighter point, I wrote a script to show all the doc sets that had the 
issue (around 20 of the 4000 in the library), and it appears that all of these 
document sets have nearly-duplicate documents in them - that is, they have MSG 
files added to them which have the same filename (not including extension) as a 
PDF in the doc set.
I believe deleting these files (and removing from the recycle bins) makes the 
whole thing work ok again - so well done Ishai!!! - but I am having to restore 
the environment to test properly
thanks for your help guys!


Date: Mon, 8 Jul 2013 12:27:32 +0930
Subject: Re: Document Set Version Collection Corrupted
From: oconnor...@gmail.com
To: ozmoss@ozmoss.com

Hi Nigel,
I vaguely remembered having a similar issue previously. I don't actually think 
it was the same problem, as Ishai said, it's a pretty generic error... I 
believe it was the same error but different circumstances.

I just put my Googling hat on and this hotfix came up, it sounded relatively 
similar to what you were experiencing. Of course, I'd suggest testing this out 
on a test environment before rolling it out to production, ensuring it does 
actually resolve the problem.

Cheers,Tom

On 8 July 2013 11:59, Ishai Sagi is...@exd.com.au wrote:









That fix may or may not be relevant – since it states that it is only about 
viewing version history, not creating a new one. The
 error is indicating that something that should be unique is duplicated – a 
regular unhelpful XML error. Since it is happening in a url to ID method, I 
would suspect that some file in the docset is registered as being there twice 
for some obscure reason.

 
 
Ishai
 Sagi |
Solutions Architect


0488 789 786
|
is...@exd.com.au
|
www.sharepoint-tips.com
|
@ishaisagi
|
MVP Profile 

 
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com]
On Behalf Of Tom O'Connor

Sent: Monday, 8 July 2013 11:09 AM

To: ozMOSS

Subject: Re: Document Set Version Collection Corrupted

 

What patch level are you at? Assuming SP2010.

 


There is a fix in the following CU that looks to be a fix for your issue.


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



 

On 8 July 2013 09:28, Nigel Witherdin nigel_wither...@hotmail.com wrote:



Hey Guys,

 


Just about to start looking into this one and trying some stuff, but as it is 
reasonably obscure thought I would throw it out there in case anyone else has 
encountered something similar. We have a library consisting of many thousands of
 document sets. Most of these document sets are fine, but have found one where 
trying to view the document set version history or create a new ds version 
throws an error:


 



System.ArgumentException: An item with the same key has already been added.   


 at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)


 at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, 
Boolean add)


 at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)


 at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.get_ListItemUrlToInternalIdMap()



 at 
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSetVersionCollection.CacheListItemsb__b(SPListItem
 item)


 at Microsoft.Office.Server.Utilities.ContentIterator.ProcessItem(SPListItem 
item, Boolean fIncludeFolderItems, MonitoredScopeWrapper monitoredScopeWrapper, 
ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout)



 at 
Microsoft.Office.Server.Utilities.ContentIterator.ProcessItems(SPListItemCollection
 items, Boolean fIncludeFolderItems, Boolean fIterateInReverseOrder, 
MonitoredScopeWrapper monitoredScopeWrapper, ItemProcessor

RE: Dropdownlist and masterpage gibberish

2013-07-02 Thread Nigel Witherdin
Yes - the control id is generated by sharepoint, consisting of the Guid 
assigned to the web part (I think) and some other details. So it will change 
between environments, site collections and even pages that the control is 
deployed to.
The best bet is to find another way to refer to your control in the jQuery, for 
example by class, or by using a selection pattern where you select a div 
containing the dropdown, then the next 'select'.
e.g. 
var dropDownCtrl = jQuery(select.drpDownClassName)
or
var dropdownCtrl = jQuery(div.divsClassName  select)
From: akhanna...@gmail.com
Date: Wed, 3 Jul 2013 14:16:24 +1200
Subject: Dropdownlist and masterpage gibberish
To: ozmoss@ozmoss.com

Hi Guys,
I am creating a custom user control in MOSS 2007 to save some values to 
database.

I am seeing the tags have changed because of masterpage..and affected Jquery 
code



Dropdown id was ddlComponents, it changed to 
#ctl00_m_g_97d0d488_aa17_4761_a330_12496d50c779_ctl00_ddlComponents

I have changed this and Jquery is working fine...

When we deploy to Test environment, will this gibberish - 
ctl00_m_g_97d0d488_aa17_4761_a330_12496d50c779_ctl00_- change again...





Cheers
A




___
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: List with hundreds of columns

2013-06-10 Thread Nigel Witherdin
I have done something similar, with a document set that has approx 60-70 
columns. I created a custom new form for the document set (as this is the only 
way to edit the new form for a doc set) and embedded jQuery in it to give the 
form tabs, do client side validations etc.

I then edited the edit and view forms, added content editor web parts with 
pretty much the same jQuery, so they get the tabs and the edit form gets the 
validations.

It all works well, and although there is some maintenance when the fields 
change, I much prefer it to have to change a little bit of jQuery and let the 
ootb list web part handle the CRUD operations then to have to develop a set of 
custom forms to do it (I know info path is an option, but we use managed 
metadata, so that pretty much rules that out).

Sent from my iPad

On 11/06/2013, at 5:32 AM, Ajay akhanna...@gmail.com wrote:

 It's web based system and I think broader based info path requires  
 enterprise 
 
 On Tuesday, June 11, 2013, Prashanth Thiyagalingam wrote:
 What about InfoPath with rules for dynamic functionality?
 
 Cheers,
 Prashanth
 
 Sent from my iPhone
 
 On Jun 11, 2013, at 11:53 AM, Ajay akhanna...@gmail.com wrote:
 
  Hi Guys,
 
  Looking at creating a really long safety form with hundreds (around 250) 
  of columns in a list.
  For data entry client wants a smart/dynamic form, like based on what we 
  choose, new fields appear of disappear.
 
  Is it worth while exploring dynamic behaviour using JQuery on list forms 
  or better create a custom page/webpart.
 
  Ruling out Infopath as web based requires enterprise cals.
 
  Cheers,
  A
  ___
  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
 
 
 -- 
 Sent from Gmail for iPhone 
 ___
 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: List View Threshold weirdness

2013-05-29 Thread Nigel Witherdin
Is it the account being used? Im pretty sure there is a different threshold 
setting for an admin user as compared to a normal user
CheersNigel

Date: Thu, 30 May 2013 11:46:00 +1000
Subject: Re: List View Threshold weirdness
From: web.ad...@syd.catholic.edu.au
To: ozmoss@ozmoss.com

There is no load balancing. Just one SharePoint box running as app and WFE, and 
separate SQL server.

The only place this occurs is from the box itself. And it's consistent.

Can view the list from SP servers in other farms, so it doesn't seem to be a SP 
server issue.

Just very odd. Wondering if I'm missing a prerequisite or other app but can't 
find any related info online.
Regards,

Paul



On 29 May 2013 15:53, Ishai Sagi is...@exd.com.au wrote:









99% of the time, when you have an issue that manifests in one client and not in 
the other,  it means that there is an issue with
 the load balancing (one client hits one server, which is ok, and the other 
hits another server which is not). I have  no idea how the threshold setting 
would only work on one WFE though…
 
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com]
On Behalf Of Web Admin

Sent: Wednesday, 29 May 2013 1:33 PM

To: ozMOSS

Subject: Re: List View Threshold weirdness
 

No it doesn't. Completely bizarre.

 


Can't imagine what occurs before a large list is rendered that would cause this.

 

On 29 May 2013 13:15, Nigel Witherdin nigel_wither...@hotmail.com wrote:



Not that I would know why this would affect the view threshold, but does the 
App server with the problem have a host entry for the URL? Does removing that 
host entry change the behaviour?


 


Cheers,


 


Nigel




Date: Wed, 29 May 2013 12:25:30 +1000

Subject: List View Threshold weirdness

From: web.ad...@syd.catholic.edu.au

To: ozmoss@ozmoss.com


 

Hi all,

 


I've created a list which exceeds the list view threshold of 5000. I then 
created a grouped view. This view displays without problem in 3 different 
browsers (FF, Chrome, IE) on two different machines (logged in as site admin in 
all cases).



 


However on one box (the SharePoint app server), all browsers are displaying the 
This view cannot be displayed because it exceeds the list view threshold... 
error.


 


Any idea how or why this would occur??


 




Regards,


 


Paul




 


___ 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   
  ___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: List View Threshold weirdness

2013-05-28 Thread Nigel Witherdin
Not that I would know why this would affect the view threshold, but does the 
App server with the problem have a host entry for the URL? Does removing that 
host entry change the behaviour?
Cheers,
Nigel

Date: Wed, 29 May 2013 12:25:30 +1000
Subject: List View Threshold weirdness
From: web.ad...@syd.catholic.edu.au
To: ozmoss@ozmoss.com

Hi all,
I've created a list which exceeds the list view threshold of 5000. I then 
created a grouped view. This view displays without problem in 3 different 
browsers (FF, Chrome, IE) on two different machines (logged in as site admin in 
all cases).

However on one box (the SharePoint app server), all browsers are displaying the 
This view cannot be displayed because it exceeds the list view threshold... 
error.

Any idea how or why this would occur??
Regards,


Paul


___
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: Issues Uploading Office 2003 docs to SP 2010 Programmatically

2013-05-15 Thread Nigel Witherdin
Hey Paul,
The commented code was setting the Content Type properties in a hashtable and 
applying that on file upload, but no that wasnt working. I suspect the Office 
2003 doc was then promoting its properties to SharePoint and overwriting this 
setting.
My code then goes processes a CSV (for original property data for each item 
from the old DMS), XML (for data mapping conversions of these old values to new 
SharePoint property values), and a huge switch statement that sets the new 
property value for different types of SharePoint columns, updating the item 
after ever property value had been set.
I found that if I then re-set the content type setting after all of this done, 
the content type setting stuck (I assume this is occurring after the document 
had promoted its properties).
Like I said, probably not the most efficient thing in the world, but its 
working now :D
Cheers,
Nigel

Date: Wed, 15 May 2013 15:57:23 +1000
Subject: Re: Issues Uploading Office 2003 docs to SP 2010 Programmatically
From: web.ad...@syd.catholic.edu.au
To: ozmoss@ozmoss.com

Nigel,
In my experience you need to set the properties before adding the file, which 
your commented code was already doing.
Did that not work for you?

Regards,

Paul



On 15 May 2013 13:55, Nigel Witherdin nigel_wither...@hotmail.com wrote:




Ok - have come up with a kludge of a fix.
I upload the file, get the item, set the content type, set all the metadata 
then get the item again and set the content type again. This time the content 
type setting seems to stick.

Yay - only took a few additional round trips to the database to re-get the 
item, re-set the content typemaybe not so yay after all
Oh well, at least it works now ;)


From: nigel_wither...@hotmail.com
To: ozmoss@ozmoss.com
Subject: RE: Issues Uploading Office 2003 docs to SP 2010 Programmatically

Date: Wed, 15 May 2013 02:15:18 +




I thought setting the ParserEnabled to false would prevent any property 
promotion/demotion. See - 
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.parserenabled.aspx
 and 
http://sharepointserver-2007.blogspot.com.au/2012/04/sharepoint-spweb-property-parserenabled.html

But unfortunately, Office 2003 docs are still ruining my day



From: is...@exd.com.au
To: ozmoss@ozmoss.com; conrad.grob...@gmail.com

Subject: RE: Issues Uploading Office 2003 docs to SP 2010 Programmatically
Date: Wed, 15 May 2013 01:05:55 +











Promotion
 of properties is my daily nemesis these days. I share your pain.

 

In the
 past I used to overcome this by uploading using the frontpage RPC – which 
allows you to set the promoted properties in XML before sending it to the site. 
However, it is cumbersome to use, and the object model should do what it is 
told!


 

 

 


 

Ishai
 Sagi |
Solutions Architect


0488 789 786
|
is...@exd.com.au
|
www.sharepoint-tips.com
|
@ishaisagi
|
MVP
 Profile 




 



From:
 ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Nigel Witherdin

Sent: Wednesday, 15 May 2013 10:37 AM

To: OzMoss; Conrad Grobler

Subject: Issues Uploading Office 2003 docs to SP 2010 Programmatically



 


Hi All,


 



We are using an in-house developed tool to upload files from old DMS into 
SharePoint 2010, and are finding
 we are having issues with Office 2003 docs. The tool uploads the file, sets 
content type, and then set metadata (as read from a CSV). This all works fine 
for PDFs, DOCXs, etc. but it does not work with DOCs. Frustratingly, it doesn't 
report any errors, and
 the logging info looks just fine for these files.



 



Instead of being set to the specified content type, they are always set to the 
default content type of the
 library, and do not have the metadata values set as expected.



 



The code being used to upload the file and set the content type (both ways it 
has been tried) is:



 




targetList.ParentWeb.ParserEnabled = false;



targetList.ParentWeb.Update();



 



//Hashtable ht = new Hashtable();



 



//ht.Add(ContentTypeId, targetCt.Id.ToString());



//ht.Add(ContentType, targetCt.Name);



 



//SPFile file = targetFolder.Files.Add(filename, fs, ht, true);



//file.Update();



 



SPFile file = targetFolder.Files.Add(filename, fs, true);



file.Update();



file.ParentFolder.Update();



 



file.Item[SPBuiltInFieldId.ContentTypeId] = targetCt.Id;



file.Item[SPBuiltInFieldId.ContentType] = targetCt.Name;



file.Item.UpdateOverwriteVersion();



 



targetList.ParentWeb.ParserEnabled = true;



targetList.ParentWeb.Update();




 



I have done some googling on the issue, and can see that other people have had 
different issues with SP
 2010 and Office 2003, but nothing that definitively states there is an issue 
loading these files programmatically (and setting CT

Issues Uploading Office 2003 docs to SP 2010 Programmatically

2013-05-14 Thread Nigel Witherdin
Hi All,
We are using an in-house developed tool to upload files from old DMS into 
SharePoint 2010, and are finding we are having issues with Office 2003 docs. 
The tool uploads the file, sets content type, and then set metadata (as read 
from a CSV). This all works fine for PDFs, DOCXs, etc. but it does not work 
with DOCs. Frustratingly, it doesn't report any errors, and the logging info 
looks just fine for these files.
Instead of being set to the specified content type, they are always set to the 
default content type of the library, and do not have the metadata values set as 
expected.
The code being used to upload the file and set the content type (both ways it 
has been tried) is:
targetList.ParentWeb.ParserEnabled = false;
targetList.ParentWeb.Update();
//Hashtable ht = new Hashtable();
//ht.Add(ContentTypeId, targetCt.Id.ToString());
//ht.Add(ContentType, targetCt.Name);
//SPFile file = targetFolder.Files.Add(filename, fs, ht, true); 
   //file.Update();
SPFile file = targetFolder.Files.Add(filename, fs, true);   
 file.Update();file.ParentFolder.Update();
file.Item[SPBuiltInFieldId.ContentTypeId] = targetCt.Id;
file.Item[SPBuiltInFieldId.ContentType] = targetCt.Name;
file.Item.UpdateOverwriteVersion();
targetList.ParentWeb.ParserEnabled = true;
targetList.ParentWeb.Update();
I have done some googling on the issue, and can see that other people have had 
different issues with SP 2010 and Office 2003, but nothing that definitively 
states there is an issue loading these files programmatically (and setting CT 
and metadata).
I have been able to quite happily load the file manually, and set CT and 
metadata.
I suspect the properties in the DOC files are promoting and overwriting the 
values set against the item by the tool, but cant find anything to prove this 
(no additional versions in history etc).
Whilst I could convert the DOCs to DOCXs, as these are legal documents, I 
suspect there will be restrictions in place that they must be unaltered.
Has anyone suffered anything similar? Any solutions/code samples would be 
greatly appreciated
Cheers,
Nigel ___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


Word Custom Properties Character Limitation

2013-05-09 Thread Nigel Witherdin
Hi All,
We are using SharePoint 2010, and have a Document Set which has a large number 
of shared fields, some of which are multiple lines of text.
Some of the allowed content types for the document set use Word document 
templates, which then use quick parts to display the metadata properties pushed 
down from the document set in the content of the document.
We have experienced a problem lately where Word hangs attempting open documents 
on the splash screen showing Processing...
A lot of digging around has shown (I think) that Word custom properties have a 
character limit of 255 char (similar complaints are here: 
http://social.msdn.microsoft.com/Forums/en-US/worddev/thread/fb885674-dc8c-4c0a-9202-374adbf11612/
 and here: https://forum.solidworks.com/message/282519#282519). 
Testing of the documents that hang in our environment has proven this out - the 
problem docs all have fields with content  255 chars, shrinking it down makes 
them open correctly.
The users are going to pitch a blue fit if we try and limit them to 255 chars 
for these fields!
Just wondering if anyone else has experienced this, and has any possible 
resolution/work around. My possible solutions are:- Whinge at MS (can't see any 
joy coming from this approach)- Use multiple fields limited to 255 chars (this 
would involve a lot of work re-doing the SharePoint forms, document templates, 
plus a nasty script to split the existing 255char content into the new 
fields)- Switch from using Word documents to web pages, display the field 
content much like a publishing page (I like this approach, but as it is going 
to require a bit of dev time to might be a hard sell)
Any ideas?
Cheers,
Nigel
  ___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


Re: SP Designer 2013 Workflows

2013-04-23 Thread Nigel Witherdin
Is developing custom workflow actions for SPD Workflows a viable/good option? 
Haven't done much at all, but this like the way to add more complex but 
reusable options to SPD wf's

Sent from my iPhone

On Apr 23, 2013, at 3:49 PM, Mark Daunt mda...@datacogs.com wrote:

 Yeah, I hear you.  SPD is only viable for really simple workflows.   As soon 
 as there is any level of complexity I have found it almost unworkable and 
 pretty much a waste of time.  In SPD 2010 it was not even easy to do a string 
 comparison that was not case sensitive!  There seems to always be little 
 brick walls like that.
 
 Why is Visual Studio not an option for you?
 
 Mark
 
 From: Web Admin web.ad...@syd.catholic.edu.au
 Reply-To: ozMOSS ozmoss@ozmoss.com
 Date: Tuesday, 23 April 2013 3:32 PM
 To: ozMOSS ozmoss@ozmoss.com
 Subject: Re: SP Designer 2013 Workflows
 
 I wish I had that option. :)
 
 I'm having a world of trouble trying to publish them as the complexity builds 
 with Email and Task and actions. Only solution is to strip them back and 
 delete associated xsn before re-publishing.
 
 On 23 April 2013 15:25, Mark Daunt mda...@datacogs.com wrote:
 A bit.  Enough to still avoid them like the plague.  No debugging is a real 
 show stopper for me.  I find time spent troubleshooting those suckers is 
 better spent doing it properly in Visual Studio.  I like the new ability to 
 create workflow in stand alone apps in VS2012 and deploy without having to 
 add code to the server (no dlls in GAC etc, its all declarative like SPD but 
 you can debug).  That's where I'll be spending most of my  workflow 
 development time.
 
 From: Web Admin web.ad...@syd.catholic.edu.au
 Reply-To: ozMOSS ozmoss@ozmoss.com
 Date: Tuesday, 23 April 2013 3:15 PM
 To: ozMOSS ozmoss@ozmoss.com
 Subject: SP Designer 2013 Workflows
 
 Anyone else had a chance to tinker with workflows in SPD 2013?
 
 Regards,
 
 Paul
 
 ___
 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: Prevent Site Deleting Access

2013-04-10 Thread Nigel Witherdin
Deleted sites are available in the Site collection recycle bin in 2010 also - 
post SP1
Cheers,
Nigel

Date: Thu, 11 Apr 2013 08:18:34 +1000
Subject: Re: Prevent Site Deleting Access
From: web.ad...@syd.catholic.edu.au
To: ozmoss@ozmoss.com

Sadly not. There's no explicit Delete Subsites permission. The Create Subsites 
permission seems to be all inclusive despite its description.
Your only saving grace in 2013 is that you can restore them from the recycling 
bin.
Regards,

Paul Noone

SharePoint Farm Admin/Developer
Infrastructure Team
CEO Sydney

p: (02) 9568 8461
f: (02) 9568 8483
e: paul.no...@syd.catholic.edu.au
w: http://www.ceosyd.catholic.edu.au/


On 11 April 2013 02:56, MacDonald, MM m...@securiantech.com wrote:









All, 
 
Is there a way to prevent a user from being able to delete a site, while still 
giving them access to create subsites?
 
Thanks,

 
Mike MacDonald

Sr. Securian Technology Analyst, Distribution Technology  •  Securian Financial 
Group

400 Robert Street North  •  St. Paul, MN 55101-2098

1888-237-1838 opt 5,5  •  651-665-5860 (fax)

m...@securiantech.com  •  www.securian.com

 
Securian Financial Group – Financial security for the long run®





 




___

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: Event Receiver - access the data I want to write

2013-04-09 Thread Nigel Witherdin
It depends on whether its a list or a library, what event you are triggering 
off, which way the wind is blowing, the current state of affairs on the korean 
peninsula...
This post always helps me figuring this out: 
http://www.synergyonline.com/Blog/Lists/Posts/Post.aspx?ID=122
Cheers,
Nigel
From: m.hansf...@mbs.edu
To: ozmoss@ozmoss.com
Subject: Event Receiver - access the data I want to write
Date: Wed, 10 Apr 2013 01:53:17 +









I’m building an ItemAdding event receiver. I want access to the data I want to 
write so I can compare fields in this data with items that may already be in 
the list. I can get to the data in the list with an SPQuery but I don’t know how
 to get to the data that I want to write. How do I do this?
 
Thanks
Mike




___
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


CQWP (Custom Styles) Not included in Save Site As Template

2012-11-19 Thread Nigel Witherdin

Hi All,
I have created a few CQWP custom styles, that are packaged as part of a 
solution where the XSL's are deployed to the site/Style Library/XSL Style 
Sheets/folder, and a modified .webpart file is deployed to the web part 
gallery referencing these styles. All this works great, and I now have a nice 
jQuery slider and a jQuery accordion.
However, when I add this web part to a page, and then save the site as template 
(including content), this customized CQWP is not created on the pages on the 
newly created site - even when the site is created within the same site 
colleciton (i.e. so there can be no doubt the web parts exist in the gallery 
with the expected IDs etc.).
I have exported the site template WSP to Studio and had a look at the 
SitePages elements.xml, and I can see the webpart is referenced correctly:
AllUsersWebPart WebPartOrder=2 WebPartZoneID=wpz 
ID=g_82de79b2_c4a3_4546_9d57_72ae552e3c1b![CDATA[webParts  webPart 
xmlns=http://schemas.microsoft.com/WebPart/v3;metaData  type 
name=Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart, 
Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, 
PublicKeyToken=71e9bce111e9429c /  importErrorMessageCannot import this 
Web Part./importErrorMessage/metaDatadata  properties   
 property name=GroupBy type=stringProjectProperty.Title/property
property name=FilterValue2 type=stringCompleted/property
property name=BaseType type=string /property name=AllowConnect 
type=boolTrue/propertyproperty name=ShowUntargetedItems 
type=boolFalse/propertyproperty name=DisplayName type=string 
/property name=Title type=stringMy Tasks/property
property name=ContentTypeName type=string /property 
name=ViewFlag type=string0/propertyproperty 
name=MediaPlayerStyleSource type=string null=true /property 
name=AdditionalGroupAndSortFields type=string /property 
name=GroupByDirection 
type=Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart+SortDirection,
 Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, 
PublicKeyToken=71e9bce111e9429cAsc/propertyproperty 
name=GroupByFieldType type=string /property 
name=FilterOperator1 
type=Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart+FilterFieldQueryOperator,
 Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, 
PublicKeyToken=71e9bce111e9429cEq/propertyproperty 
name=FeedTitle type=string /property name=FilterOperator3 
type=Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart+FilterFieldQueryOperator,
 Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, 
PublicKeyToken=71e9bce111e9429cEq/propertyproperty 
name=SortByDirection 
type=Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart+SortDirection,
 Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, 
PublicKeyToken=71e9bce111e9429cAsc/propertyproperty 
name=FilterDisplayValue3 type=string /property 
name=FilterDisplayValue2 type=stringCompleted/propertyproperty 
name=FilterDisplayValue1 type=string[Me]/propertyproperty 
name=FilterValue3 type=string /property name=DataMappings 
type=stringDescription:{fa564e0f-0c70-4ab9-b863-0177e6ddd247},Title,Text;|SipAddress:|Title:|OpenInNewWindow:|ImageUrl:|LinkUrl:|LinkToolTip:|/property
property name=ListGuid type=string /property 
name=ListUrl type=string null=true /property 
name=FilterValue1 type=string[Me]/propertyproperty 
name=CacheXslStorage type=boolTrue/propertyproperty 
name=MissingAssembly type=stringCannot import this Web Part./property
property name=ItemLimit type=int-1/propertyproperty 
name=DataMappingViewFields 
type=string{fa564e0f-0c70-4ab9-b863-0177e6ddd247},Text;/property
property name=XslLink type=string null=true /property 
name=DataColumnRenames type=string /property name=AllowMinimize 
type=boolTrue/propertyproperty name=ContentTypeBeginsWithId 
type=string0x0108/propertyproperty name=ListDisplayName 
type=string null=true /property name=ListsOverride 
type=string /property name=ItemXslLink type=string/mkt/Style 
Library/Xsl Style Sheets/Accordion/ItemStyle.xsl/propertyproperty 
name=Height type=string /property name=SortBy 
type=string{8c06beca-0777-48f7-91c7-6da68bc07b69}/property
property name=CatalogIconImageUrl type=string /property 
name=Default type=string /property name=FilterType1 
type=stringUser/propertyproperty name=FireInitialRow 
type=boolTrue/propertyproperty name=AsyncRefresh 
type=boolFalse/propertyproperty name=ItemStyle 
type=stringAccordionCreateLinkToItem/propertyproperty 
name=AdditionalFilterFields type=string /property name=WebUrl 

RE: SharePoint support

2012-11-07 Thread Nigel Witherdin

This codeplex tool does a good job of pulling together a bunch of information 
about a farm in a nice HTML interface: http://spsfarmreport.codeplex.com/
Cheers
Nigel

From: is...@exd.com.au
To: ozmoss@ozmoss.com
Subject: RE: SharePoint support
Date: Thu, 8 Nov 2012 04:35:19 +











Solutions
 installed in central administration is the firsts thing I look at.
 
Ishai
 Sagi |
Solutions Architect


0488 789 786
|
is...@exd.com.au
|
www.sharepoint-tips.com
|
@ishaisagi
|
MVP
 Profile 


 
From:
 ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Ajay

Sent: Thursday, 8 November 2012 2:37 PM

To: ozMOSS

Subject: SharePoint support
 

Hi Guys,


 


We are taking over support for a large SharePoint 2007 intranet as the dev has 
left, there is no governance or documentation available


 


Good thing is it's mostly OOTB intranet.


 


I have noted the various site collections, sub-sites, search settings, user 
profile settings, databases are in the backup plan, checked the logs and can 
see some issues with search, space  getting
 filled up, have made list of all custom web parts and their functionalities.


 


I had a meeting with the helpdesk and most of the calls they get are for access 
and creating new sub-sites etc


 


Do you have some suggestions, what things to look for, when taking over support.


 


I want to make list of what's all there, as this will be slowly migrated to SP 
2013 with new IA


 


 


 


Cheers


Ajay





___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss   
  attachment: image001.jpgattachment: image002.jpg___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


F5 Keep-Alive Images

2012-08-29 Thread Nigel Witherdin

Hey Guys,

 

Quick question – I have been hassling the network team here change
the F5 we use for load-balancing our server farm to stop using the 
ping-response from servers as the keep-alive
for directing traffic to them, and switch over to retrieving images for each
web application and using these as the keep-alive – the images I have suggested
using are stored in the Style Library (so in the site collections database).

 

They contend that they have not been able to get the URI’s to these images to 
load from the F5. I expect this is because they are not authenticating the 
request, but before
I chase this down with them, I wanted to confirm that the config I am proposing
is appropriate.

 

What do you think? Have you set this up before / do you think
using images stored in the content database for keep-alives sounds like a good
idea?

 

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


Re: Sharepoint Foundations - Content Types

2012-03-26 Thread Nigel Witherdin
Hi,

 1)  Is there a way to “Publish” a list content type as a site content 
 type?

Not through the UI (that I am aware of). There may be some way it is possible 
through SP Designer, or you could save the list as a template, download the 
.stp and rename to .cab, extract the schematic.xml and get the CAML from here 
to make your content type in visual studio (pretty long-winded)


 2)  If not, is there a way to copy a list content type and make others 
 with the same base fields?

Not so much the list content type itself, but is possible to make a template of 
the list (which would include the list content type) and re-use it.

If it was me, I would look at creating the site content type, then migrating 
your existing list data over to a list using the new site content type. Site 
CTs enables you to classify the same type of data throughout a site collection, 
which lets you do a lot of useful things like refining in search results, 
applying workflows, applying info mgmt policies, rolling up data of that type 
etc.

There are a lot of data migration products around that can help in migrating 
your existing data to you new list, or it is a fairly simple power shell script.

Good luck,

Nigel

Sent from my iPad

On 27/03/2012, at 7:20 AM, MacDonald, MM m...@securiantech.com wrote:

 All,
  
 I made a custom list with over 20 fields and now realize we need to make 9 
 other revisions of that list as content types.  I have a couple questions.
  
 1)  Is there a way to “Publish” a list content type as a site content 
 type?
 2)  If not, is there a way to copy a list content type and make others 
 with the same base fields?
  
 I tried making a site content type with the same custom fields, but then when 
 I add that content type to the list, I have duplicate fields in the list. 
  
 Does any of this makes sense?
  
 Thanks,
  
 Mike MacDonald
  
 ___
 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: The CORRECT way to delete specific list items by field ID

2012-02-29 Thread Nigel Witherdin
On features that create lists, on feature activation I tend to check of list 
already exists and create it if it doesn't, and on deactivation delete the list 
if it's empty. That way leaving user data available until the user takes the 
decision to remove it

Sent from my iPhone

On Mar 1, 2012, at 8:37 AM, Paul Noone paul.no...@ceosyd.catholic.edu.au 
wrote:

 Yes, I was aware of that method and had used it. But then I realised the IDs 
 increment regardless of whether items have been deleted. So I’ve opted to 
 just send all the lists to the Recycle Bin on FeatureDeactivated. Much 
 cleaner. J
  
 Thanks for the help. I appreciate this list more than you know. J
  
 From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf 
 Of Ishai Sagi
 Sent: Thursday, 1 March 2012 6:02 AM
 To: ozMOSS
 Subject: RE: The CORRECT way to delete specific list items by field ID
  
 Also - list.Items.DeleteItemById might be a better way?
  
  
  
 image002.jpgIshai Sagi | Solutions Architect 
 0488 789 786 | is...@exd.com.au | www.sharepoint-tips.com | @ishaisagi  
  
 From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf 
 Of Paul Noone
 Sent: Tuesday, 28 February 2012 18:36
 To: 'ozMOSS'
 Subject: RE: The CORRECT way to delete specific list items by field ID
  
 Thanks Sez. I had learnt that lesson with a previous custom action to bulk 
 delete items. J
  
 In this case I do want them gone for good when the feature is deactivated. 
 They are just dummy items.
  
 From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf 
 Of Sezai Komur
 Sent: Wednesday, 29 February 2012 12:41 PM
 To: ozMOSS
 Subject: Re: The CORRECT way to delete specific list items by field ID
  
 Another consideration when using SPListItem.Delete() in a custom solution 
 is... do you want the deleted item completely or do you want it to go to the 
 recycle bin?
  
 .Delete() bypasses the recycle bin completely and permanently deletes the 
 item, if you want users to be able to recycle the deleted items instead use 
 the .Recycle() method.
  
 http://blog.mastykarz.nl/programmatically-deleting-list-items-documents-recycle-bin/
  
 http://msdn.microsoft.com/en-us/microsoft.sharepoint.splistitem.recycle 
 
 Sezai.
 
 On Wed, Feb 29, 2012 at 8:41 AM, Paul Noone 
 paul.no...@ceosyd.catholic.edu.au wrote:
 Ah…FFS. Thanks Mark.
  
 I had that initially but the IDs were in quotes and I was getting “Operator 
 == cannot be applied to operands of type int and string.” Which threw me 
 completely!
  
 The following simplified method allso seems to work.
  
 // Delete sample items
 SPListItem item1 = bugsList.GetItemById(1);
 item1.Delete();
 SPListItem item2 = bugsList.GetItemById(2);
 item2.Delete();
  
 It’s the indexder and the SPItemCollection that seem to cause the issues. My 
 first attempt was to remove the first two items by index which fails because 
 index(0) changes with each deletion. J
  
 From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf 
 Of Mark Daunt
 Sent: Wednesday, 29 February 2012 11:21 AM
 To: ozMOSS
 Subject: Re: The CORRECT way to delete specific list items by field ID
  
 Hi Paul, 
 
 It’s the bastard == that you’re missing in your if statement :-)
 
 Mark
 
 
 On 29/02/12 10:18 AM, Paul Noone paul.no...@ceosyd.catholic.edu.au wrote:
 
 Hi all,
 This should be easy, right? I’ve followed several methods as defined in MSDN 
 documentation but nothing worked as expected. A froeach loop was giving me 
 “Collection was modified; enumeration operation may not execute.”. So I’m now 
 using a decrementing for loop and getting the items by title. While this 
 works, it is not ideal.
 I want to get the items by their field ID value but can’t get the syntax 
 right. I keep hitting “Operator '||' cannot be applied to operands of type 
 int and int”. 
 try{
  
 SPList bugsList = oWeb.Lists[Project Issues Register];
  
 for (int i = bugsList.Items.Count - 1; i = 0; i--)
 {
 if (bugsList.Items[i].ID = 1 || bugsList.Items[i].ID = 2)
  
 {
 bugsList.Items.Delete(i);
 }
 }
 }
 
 Figure 1 - Sample list
 
 image004.png
 Help?
 
 
 ___
 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: The CORRECT way to delete specific list items by field ID

2012-02-29 Thread Nigel Witherdin

Yep I use TryGetList, and I have a common function to delete list if empty 
which I call on feature deactivate:
 
/// summary
/// Delete list if exists on given web and has no items
/// /summary
/// param name=webSPWeb list exists on/param
/// param name=listTitleTitle of list to delete/param
public static void DeleteListIfEmpty(SPWeb web, string listTitle)
{
SPList list = web.Lists.TryGetList(listTitle); 
if (list != null  list.ItemCount == 0)
{
list.Delete();
}
}

 



From: paul.no...@ceosyd.catholic.edu.au
To: ozmoss@ozmoss.com
Date: Thu, 1 Mar 2012 09:40:14 +1100
Subject: RE: The CORRECT way to delete specific list items by field ID






Can I ask opinions on the best method to check for al list’s existence in 2010?
 
I’ve been using the TryGetList method and passing in the DisplayName but am 
surprised there doesn’t seem to be a way to get list by InternalName, only 
StaticName??
 
// Check if list exists
try
{
SPList theList = SPContext.Current.Web.Lists.TryGetList(Title);
 
if (theList!=null)
{
 
 
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Thursday, 1 March 2012 9:08 AM
To: 'ozMOSS'
Subject: RE: The CORRECT way to delete specific list items by field ID
 
Actually, scratch that. I perform a check first. J
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Thursday, 1 March 2012 9:06 AM
To: 'ozMOSS'
Subject: RE: The CORRECT way to delete specific list items by field ID
 
Hi Nigel,
 
That sounds like good advice.
 
In my experience, I’ve noticed that if the list already exists it doesn’t get 
overwritten and my sample items don’t get re-added (this is when provisioning 
through code alone). XML list instances are another story. K
 
Is this by design??
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Nigel Witherdin
Sent: Thursday, 1 March 2012 8:45 AM
To: ozMOSS
Subject: Re: The CORRECT way to delete specific list items by field ID
 

On features that create lists, on feature activation I tend to check of list 
already exists and create it if it doesn't, and on deactivation delete the list 
if it's empty. That way leaving user data available until the user takes the 
decision to remove it

Sent from my iPhone


On Mar 1, 2012, at 8:37 AM, Paul Noone paul.no...@ceosyd.catholic.edu.au 
wrote:


Yes, I was aware of that method and had used it. But then I realised the IDs 
increment regardless of whether items have been deleted. So I’ve opted to just 
send all the lists to the Recycle Bin on FeatureDeactivated. Much cleaner. J
 

Thanks for the help. I appreciate this list more than you know. J
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Ishai Sagi
Sent: Thursday, 1 March 2012 6:02 AM
To: ozMOSS
Subject: RE: The CORRECT way to delete specific list items by field ID
 
Also - list.Items.DeleteItemById might be a better way?
 
 

 
image002.jpgIshai Sagi | Solutions Architect 
0488 789 786 | is...@exd.com.au | www.sharepoint-tips.com | @ishaisagi  
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Tuesday, 28 February 2012 18:36
To: 'ozMOSS'
Subject: RE: The CORRECT way to delete specific list items by field ID
 
Thanks Sez. I had learnt that lesson with a previous custom action to bulk 
delete items. J
 
In this case I do want them gone for good when the feature is deactivated. They 
are just dummy items.
 
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Sezai Komur
Sent: Wednesday, 29 February 2012 12:41 PM
To: ozMOSS
Subject: Re: The CORRECT way to delete specific list items by field ID
 
Another consideration when using SPListItem.Delete() in a custom solution is... 
do you want the deleted item completely or do you want it to go to the recycle 
bin?

 

.Delete() bypasses the recycle bin completely and permanently deletes the item, 
if you want users to be able to recycle the deleted items instead use the 
.Recycle() method.

 

http://blog.mastykarz.nl/programmatically-deleting-list-items-documents-recycle-bin/
 

http://msdn.microsoft.com/en-us/microsoft.sharepoint.splistitem.recycle 

Sezai.

On Wed, Feb 29, 2012 at 8:41 AM, Paul Noone paul.no...@ceosyd.catholic.edu.au 
wrote:


Ah…FFS. Thanks Mark.
 
I had that initially but the IDs were in quotes and I was getting “Operator == 
cannot be applied to operands of type int and string.” Which threw me 
completely! 
 
The following simplified method allso seems to work.
 
// Delete sample items
SPListItem item1 = bugsList.GetItemById(1);
item1.Delete();
SPListItem item2 = bugsList.GetItemById(2);
item2.Delete();
 
It’s the indexder and the SPItemCollection that seem to cause the issues. My 
first attempt was to remove the first two items by index which fails because 
index(0) changes with each deletion. J
 


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

RE: Virtualization preferences for a new SharePoint Farm

2012-02-23 Thread Nigel Witherdin

Hi,
 
I prefer VmWare, simply because I am more comfortable with it - most places I 
have worked at use ESX as their virtualization solution.
 
I think it is still recommended that your SQL cluster is physical, though it 
works ok when virtualised as well (my current employer has SQL 2008 R2 
virtualised), but the performance of the whole thing then depends a lot on 
having good IOPS from the drive carrying the virtual machines.
 
SharePoint 2010 requires the following IOPS:

Crawl database, search requires from 3,500 to 7,000 I/O per second
Property database, search requires 2,000 IOPS.
 
Although I dont think they cover off on virtualised database servers, I found 
this document quite useful for this sort of stuff: 
http://www.dell.com/downloads/global/services/dell_large_sharepoint_farm.pdf
 
Cheers,
 
Nigel
 



Date: Fri, 24 Feb 2012 14:12:31 +1100
Subject: RE: Virtualization preferences for a new SharePoint Farm
From: tand...@tassoc.com.au
To: ozmoss@ozmoss.com


Hi All,
 
I should preface my questions by saying that I am *not* an infrastructure 
specialist, but a SharePoint Architect and Conslultant, and am in the process 
of specifying the infrastructure for a new SharePoint 2010 production farm 
within the organisation I work, and the question of any virtualization 
preferences for the farm have arisen in two senses:
 
1. We are free to choose either VMWare ESX Server Technology, or Microsoft 
HyperV. I'd appreciate any feedback positive or negative on either platform. I 
have personally had a recent bad experience in the VMWare world with the VMWare 
Ballooning memory management causing a SharePoint installation to run very 
poorly, but I assume that was simply inadvisable resource allocation by those 
managing the environment. However any advice one way or the other about the 
preferred virtualization platform would be much appreciated.
 
2. My recollection from several years ago, is that it would generally have been 
considered wise to recommend that the SQL Server cluster supporting such a 
SharePoint Farm remain on physical servers. What are others doing these days? 
Are you tending to virtualise your SQL Server Server clusters supporting 
SharePoint, or also virtualizing these as well? This cluster will be a new SQL 
Server 2008 R2 cluster, as the other SQL Server instances / clusters within the 
organisation are not of an appropriate version or architecture to support 
SharePoint 2010.
 
Any feedback on these issues would be much appreciated.
 
Cheers,
Trevor Andrew
___ 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: missing search results

2012-02-06 Thread Nigel Witherdin
Crawl rules maybe?

These tools might be able to help you check what is actually in the index 
(haven't used them myself but they look interesting). If the content is not in 
the index, with everything else you have checked, I would assume there is some 
crawl rule removing it

http://blogs.technet.com/b/speschka/archive/2010/08/15/free-developer-search-tool-for-sharepoint-2010-search-and-fast-search-for-sharepoint.aspx

http://sharepointsearchserv.codeplex.com/


Sent from my iPad

On 06/02/2012, at 7:11 PM, Maxine Harwood maxinetechg...@gmail.com wrote:

 I have several items in a library that are not appearing in search results. 
 there are a range of documents I have identified as missing, I can confirm 
 the following
  
 · the library where the documents are held has major and minor 
 versioning enabled, no content approval. the items have been published and 
 are not in draft. the documents that are showing are also published and not 
 in draft.
 · search results return only some documents within the same library, 
 the missing items inherit permissions from the parent, this is the same 
 setting for items that are included.
 · site search is not disabled (other items from same library are 
 showing)
 · documents are not checked out
 · documents in MS Word doc or docx format (there might be others 
 affected, but these are the few I am testing). search is returning both doc 
 and docx files.
 · search is keyword search. search for phrase that is contained 
 within both missing and included files (the files are very similar in content 
 and have many keywords). the keyword search is also the metadata title of the 
 document.
 · checked the crawl log and can’t see any issues or errors relating 
 to the library
  
 open to suggestions on where to look  now…
  
 Maxine Harwood | Solutions Architect
 Red Box IT
 0410 525 989 | 07 3056 1725 (VoIP)
 www.redboxit.com.au
 max...@redboxit.com.au
 ABN: 96 189 767 742 | ACN: 125 489 278
  
  
 ___
 ozmoss mailing list
 ozmoss@ozmoss.com
 http://prdlxvm0001.codify.net/mailman/listinfo/ozmosseverything Elaine
___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: missing search results

2012-02-06 Thread Nigel Witherdin

Considering the number of ideas I have stolen off you from reading this list 
over the years, it is my absolute pleasure!
 



From: paul.no...@ceosyd.catholic.edu.au
To: ozmoss@ozmoss.com
Date: Tue, 7 Feb 2012 09:04:26 +1100
Subject: RE: missing search results






Thanks Nigel. That’s just what I was looking for. J
 
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Nigel Witherdin
Sent: Monday, 6 February 2012 10:40 PM
To: ozMOSS
Subject: Re: missing search results
 

Crawl rules maybe?

 

These tools might be able to help you check what is actually in the index 
(haven't used them myself but they look interesting). If the content is not in 
the index, with everything else you have checked, I would assume there is some 
crawl rule removing it

 
http://blogs.technet.com/b/speschka/archive/2010/08/15/free-developer-search-tool-for-sharepoint-2010-search-and-fast-search-for-sharepoint.aspx

 

http://sharepointsearchserv.codeplex.com/

 

 

Sent from my iPad


On 06/02/2012, at 7:11 PM, Maxine Harwood maxinetechg...@gmail.com wrote:


I have several items in a library that are not appearing in search results. 
there are a range of documents I have identified as missing, I can confirm the 
following
 
· the library where the documents are held has major and minor 
versioning enabled, no content approval. the items have been published and are 
not in draft. the documents that are showing are also published and not in 
draft.
· search results return only some documents within the same library, 
the missing items inherit permissions from the parent, this is the same setting 
for items that are included.
· site search is not disabled (other items from same library are 
showing)
· documents are not checked out
· documents in MS Word doc or docx format (there might be others 
affected, but these are the few I am testing). search is returning both doc and 
docx files.
· search is keyword search. search for phrase that is contained within 
both missing and included files (the files are very similar in content and have 
many keywords). the keyword search is also the metadata title of the document.
· checked the crawl log and can’t see any issues or errors relating to 
the library
 
open to suggestions on where to look  now…
 
Maxine Harwood | Solutions Architect 
Red Box IT 
0410 525 989 | 07 3056 1725 (VoIP)
www.redboxit.com.au
max...@redboxit.com.au
ABN: 96 189 767 742 | ACN: 125 489 278
 
 


___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmosseverything Elaine
___ 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: Editing web parts - Website

2012-02-06 Thread Nigel Witherdin

Again from memory (been a few months since I played with this) you have to have 
the features installed on the pub site collection before doing the deployment - 
the deployment publishes sites, pages etc  that will have references to the 
items created by the features, so they must already be there.
 
From the log it looks like this is what is wrong on your pub site
 
Cheers,
 
Nigel
 



From: pmilli...@bendigotafe.edu.au
To: ozmoss@ozmoss.com
Subject: RE: Editing web parts - Website
Date: Mon, 6 Feb 2012 22:25:49 +





Thanks Nigel
 
I can make changes to other web parts  and they deploy ok - only seems to be 
failing with custom search pages and seems to point towards them being features 
(our website was done by consultants)
 
The deployment import log below
 
[2/7/2012 9:02:55 AM] Progress: De-Serializing Objects to Database.
[2/7/2012 9:02:55 AM] [File] [CourseResults.aspx] Progress: Importing
[2/7/2012 9:02:55 AM] [File] [CourseResults.aspx]   Verbose: Source URL: 
CourseResults.aspx
[2/7/2012 9:02:55 AM] [File] [CourseResults.aspx]   Verbose: Destination URL: 
/Search/CourseResults.aspx
[2/7/2012 9:02:55 AM] [File] [CourseResults.aspx]   Verbose: 
Features\BRIT.Internet_CourseSearchResultsPageProvisioner\CourseSearchResults\CourseResults.aspx
 4
[2/7/2012 9:02:55 AM] [File] [CourseResults.aspx]   Error: An unexpected error 
has occurred.
[2/7/2012 9:02:55 AM] [File] [CourseResults.aspx]   Debug:at 
Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   at Microsoft.SharePoint.Library.SPRequest.SetGhostedFile(String setupPath, 
Byte setupPathVersion, Int32 iVersion, Guid pguidListId, Guid pguidDocId, 
Int32 lDoclibRowId, Int32 iAuthorId, String authorLogin, String 
serverRelativeUrl, String targetUrlWebRelative, Boolean isInDocLib, Boolean 
isMigration, Boolean isPublishing, Object varProperties)
   at Microsoft.SharePoint.Deployment.FileSerializer.SetGhostedFile(Object 
fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid existId, String 
fileUrl, SerializationInfoHelper infoHelper, SerializationInfoHelper 
infoHelperListitem, Boolean fileExistsInDb, StreamingContext context)
[2/7/2012 9:02:55 AM] [File] [SiteSearchResults.aspx] Progress: Importing
[2/7/2012 9:02:55 AM] [File] [SiteSearchResults.aspx]   Verbose: Source URL: 
SiteSearchResults.aspx
[2/7/2012 9:02:55 AM] [File] [SiteSearchResults.aspx]   Verbose: Destination 
URL: /Search/SiteSearchResults.aspx
[2/7/2012 9:02:55 AM] [File] [SiteSearchResults.aspx]   Verbose: 
Features\BRIT.Internet_CourseSearchResultsPageProvisioner\CourseSearchResults\SiteSearchResults.aspx
 4
[2/7/2012 9:02:55 AM] [File] [SiteSearchResults.aspx]   Error: An unexpected 
error has occurred.
[2/7/2012 9:02:55 AM] [File] [SiteSearchResults.aspx]   Debug:at 
Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   at Microsoft.SharePoint.Library.SPRequest.SetGhostedFile(String setupPath, 
Byte setupPathVersion, Int32 iVersion, Guid pguidListId, Guid pguidDocId, 
Int32 lDoclibRowId, Int32 iAuthorId, String authorLogin, String 
serverRelativeUrl, String targetUrlWebRelative, Boolean isInDocLib, Boolean 
isMigration, Boolean isPublishing, Object varProperties)
   at Microsoft.SharePoint.Deployment.FileSerializer.SetGhostedFile(Object 
fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid existId, String 
fileUrl, SerializationInfoHelper infoHelper, SerializationInfoHelper 
infoHelperListitem, Boolean fileExistsInDb, StreamingContext context)
 
 
I think I may need to redeploy feature on authoring but then do I have to 
redeploy on Production?  Not sure.  Time for some more research and reading I 
think …
 
Regards
Peter Milliner
 
-Original Message-
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Nigel Witherdin
Sent: Monday, 6 February 2012 6:20 PM
To: ozMOSS
Subject: Re: Editing web parts - Website
 
From mem the content deploy moves the web part settings as part of the page 
content, so no, you should mod on authoring and then deploy. Otherwise i think 
u risk breaking the connection between auth and pub
 
Sent from my iPhone
 
On Feb 6, 2012, at 5:10 PM, Peter Milliner pmilli...@bendigotafe.edu.au 
wrote:
 
 changes
___
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: problem customising library editform

2012-02-05 Thread Nigel Witherdin

 
How was the library first created - from code, through the UI?
 
Whenever I have something that is acting a bit weird like this, I tend to start 
by saving the site as a WSP, then load it into Visual Studio and get a look at 
the generated CAML and see if there is anything weird in that.
 
Would also check the permissions on the hidden Forms folder withinin the 
library as this is where you're custom form would be saved (I think)
 
Good luck!
 



From: maxinetechg...@gmail.com
To: ozmoss@ozmoss.com
Subject: RE: problem customising library editform
Date: Sun, 5 Feb 2012 17:05:08 +1000






it looks like it is definitely the library. I created a template from the 
library (no content), created a new blank library from the template, and the 
same thing occurred.
 
any suggestions on how I could try and identify the issue?
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Wes MacDonald
Sent: Saturday, 4 February 2012 10:22 PM
To: ozMOSS
Subject: RE: problem customising library editform
 
Hi,
 
The Farm Admin account does not necessarily have the correct permissions, are 
you also the Site Collection Administrator for the site that has this library?
 
Wes
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Maxine Harwood
Sent: February-04-12 7:16 AM
To: ozMOSS
Subject: Re: problem customising library editform
 

Don't think so, I'm farm administrator.

Sent from Max's iPad


On 04/02/2012, at 9:54 PM, Wes MacDonald wmacdon...@like10.com wrote:


Hi,
 
Is it possible the permissions are different on this particular list (broken 
inheritance) and you don’t have permission?
 
Wes
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Maxine Harwood
Sent: February-03-12 8:01 PM
To: ozMOSS
Subject: problem customising library editform
 
I am having a strange issue and not sure how to start troubleshooting.
 
I am trying to customise the editform for a library. when I go to create a new 
edit form in SharePoint designer, I get a message: Could not save the list 
changes to the server.
 
I then tried to copy an existing form and make changes to my copy. I insert a 
custom list form for the library in question, and nothing happens? I can insert 
a custom list form for other libraries in the aspx page but not this one. I’m 
thinking there is an issue in the library? but how do I troubleshoot this, I 
can’t see anything in the SharePoint logs? any suggestions?
 
SharePoint Enterprise 2010 with sp1 and July CU.
 
any suggestions appreciated….
 
 
Maxine Harwood | Solutions Architect
Red Box IT 
0410 525 989 | 07 3056 1725 (VoIP)
www.redboxit.com.au
max...@redboxit.com.au
ABN: 96 189 767 742 | ACN: 125 489 278
 
 


___
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: Editing web parts - Website

2012-02-05 Thread Nigel Witherdin
From mem the content deploy moves the web part settings as part of the page 
content, so no, you should mod on authoring and then deploy. Otherwise i think 
u risk breaking the connection between auth and pub

Sent from my iPhone

On Feb 6, 2012, at 5:10 PM, Peter Milliner pmilli...@bendigotafe.edu.au 
wrote:

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


RE: Content Type Hub - Ct Declarative Customizations

2012-01-22 Thread Nigel Witherdin

 
It doesnt work when there a lower-case letters present (at least for me). All 
of my GUIDs are mixed case (as CreateGuid or vis studio 2010 generates them), 
and I found after changeing it to all upper case in the RegistrationId 
attribute of the CustomAction element made it suddenly start working on the 
published content type.
 
 



From: paul.no...@ceosyd.catholic.edu.au
To: ozmoss@ozmoss.com
Date: Mon, 23 Jan 2012 09:12:06 +1100
Subject: RE: Content Type Hub - Ct Declarative Customizations








Hi Nigel,
 
Are you saying the RegistrationID is case-sensitive, or that it simply doesn’t 
work when lower case letters are present?
 
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Nigel Witherdin
Sent: Friday, 20 January 2012 3:13 PM
To: OzMoss
Subject: RE: Content Type Hub - Ct Declarative Customizations
 


Sometimes working with SharePoint really makes you want to smash your face 
repeatedly against a wall!
 
I finally figured out why my CustomAction was not binding to the content type 
being distributed from the hub. The resolution was to make sure that the 
RegistrationId proprty in the CustomAction element contained only upper case 
letters (not some lower ones, like the CreateGuid util produces). After I 
changed them to all upper, activating the feature on the subscribing site 
collection made the ribbon change for any library that used the content type.
 
Roll on 5pm, Im ready for a bottle (or three) of red wine.
 
 




From: nigel_wither...@hotmail.com
To: ozmoss@ozmoss.com
Subject: Content Type Hub - Ct Declarative Customizations
Date: Sun, 15 Jan 2012 23:13:02 +

Hi All,
 
We have a number of content types which we are disseminating via the CT Hub 
component of SP 2010. Modifications bound to the content types stored in the 
SPContentType object get pushed out to subscribing site collections correctly 
(eg. event receivers, workflows etc.), however declarative modifications that 
are associated to the content type (eg. Ribbon mod, custom actions etc.) arent 
stored with the object and as such dont get pushed to the subscribers.
 
As the ID of the content types is the same in the subscribing site colls, I 
assumed seperating these customizations into their own feature, and activating 
them on the subscribing site collections would resolve this, but I am not 
seeing my ribbon modifications appear in the subscribing site collections for 
the targeted content types. This may be because the CT is read-only, or because 
of some bug in the code etc. - going to look into it today.
 
Anyway, wondered if anyone an opinion on the best way to implement and manage 
these sorts of CT modifications when using the hub.
 
Many thanks
 
Nigel
___ 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: Content Type Hub - Ct Declarative Customizations

2012-01-19 Thread Nigel Witherdin


Sometimes working with SharePoint really makes you want to smash your face 
repeatedly against a wall!
 
I finally figured out why my CustomAction was not binding to the content type 
being distributed from the hub. The resolution was to make sure that the 
RegistrationId proprty in the CustomAction element contained only upper case 
letters (not some lower ones, like the CreateGuid util produces). After I 
changed them to all upper, activating the feature on the subscribing site 
collection made the ribbon change for any library that used the content type.
 
Roll on 5pm, Im ready for a bottle (or three) of red wine.
 
 



From: nigel_wither...@hotmail.com
To: ozmoss@ozmoss.com
Subject: Content Type Hub - Ct Declarative Customizations
Date: Sun, 15 Jan 2012 23:13:02 +





Hi All,
 
We have a number of content types which we are disseminating via the CT Hub 
component of SP 2010. Modifications bound to the content types stored in the 
SPContentType object get pushed out to subscribing site collections correctly 
(eg. event receivers, workflows etc.), however declarative modifications that 
are associated to the content type (eg. Ribbon mod, custom actions etc.) arent 
stored with the object and as such dont get pushed to the subscribers.
 
As the ID of the content types is the same in the subscribing site colls, I 
assumed seperating these customizations into their own feature, and activating 
them on the subscribing site collections would resolve this, but I am not 
seeing my ribbon modifications appear in the subscribing site collections for 
the targeted content types. This may be because the CT is read-only, or because 
of some bug in the code etc. - going to look into it today.
 
Anyway, wondered if anyone an opinion on the best way to implement and manage 
these sorts of CT modifications when using the hub.
 
Many thanks
 
Nigel
  ___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Doing a SharePoint caveats talk soon - send me your good'uns

2012-01-18 Thread Nigel Witherdin

User Profile - issues around who can update data in there (just user, user and 
admin, etc), chance of losing that data if need to rebuild (backup those 
databases!!) - its better then in 2007, but still a little flaky (imho)
 
Content Type hub - understanding what gets published with the content type (in 
terms of receivers, workflow association not workflow itself, etc.), that CTs 
are readonly in subscribing site colls. The problems associated with changeing 
content types after they are in use (esp removing columns)
 
MMS is good - everyone seems a little suprised to find it is not well supported 
in infopath.
 
Not able to break the inheritance of content types information policies - i.e. 
all children ct's must inherit the imp from parent, and this cant be broken.
 



From: nigel.he...@stockland.com.au
To: ozmoss@ozmoss.com
Date: Thu, 19 Jan 2012 12:51:37 +1100
Subject: RE: Doing a SharePoint caveats talk soon - send me your good'uns






Oh hell yes. +1 to the ribbon.
I’d say the biggest issue I had was when doing a database attach upgrade from 
2007 to 2010, and having the installation somehow maintaining references to the 
page layouts on the old server. It happened 4 out of 5 times. I had to go in, 
export the file default.aspx file, modify it, and re-import it for it to work 
correctly.
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Thursday, 19 January 2012 12:43 PM
To: ozMOSS
Subject: RE: Doing a SharePoint caveats talk soon - send me your good'uns
 
Undocking the ribbon? J


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Culmsee
Sent: Thursday, 19 January 2012 12:33 PM
To: ozMOSS
Subject: Doing a SharePoint caveats talk soon - send me your good'uns
 
Hi all
Michal Pisarek and I are doing a talk in March about various SharePoint 
caveats. The audience is not really tech, but the purpose of the talk is to 
save people the pain of proceeding on an untested assumption and then finding 
out far too late that the logical edifice they have built has come crashing 
down. 
But it seems that there are around 2-3 common gotchas with most SharePoint 
components – and the newer the component the more the gotchas. 
Some of the big ones people know about are things like managed metadata support 
for InfoPath/SharePoint workspace. So if you have any caveats that has nailed 
you, would you mind sharing them with this list or mailing them to me? I’m sure 
each of us has a couple of good ones J
What’s the biggest issue/caveat that’s nailed you?
Regards
Paul 


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 
  ___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Doing a SharePoint caveats talk soon - send me your good'uns

2012-01-18 Thread Nigel Witherdin

that should have read more than a little suprised
 



From: nigel_wither...@hotmail.com
To: ozmoss@ozmoss.com
Subject: RE: Doing a SharePoint caveats talk soon - send me your good'uns
Date: Thu, 19 Jan 2012 02:21:21 +





User Profile - issues around who can update data in there (just user, user and 
admin, etc), chance of losing that data if need to rebuild (backup those 
databases!!) - its better then in 2007, but still a little flaky (imho)
 
Content Type hub - understanding what gets published with the content type (in 
terms of receivers, workflow association not workflow itself, etc.), that CTs 
are readonly in subscribing site colls. The problems associated with changeing 
content types after they are in use (esp removing columns)
 
MMS is good - everyone seems a little suprised to find it is not well supported 
in infopath.
 
Not able to break the inheritance of content types information policies - i.e. 
all children ct's must inherit the imp from parent, and this cant be broken.
 




From: nigel.he...@stockland.com.au
To: ozmoss@ozmoss.com
Date: Thu, 19 Jan 2012 12:51:37 +1100
Subject: RE: Doing a SharePoint caveats talk soon - send me your good'uns





Oh hell yes. +1 to the ribbon.
I’d say the biggest issue I had was when doing a database attach upgrade from 
2007 to 2010, and having the installation somehow maintaining references to the 
page layouts on the old server. It happened 4 out of 5 times. I had to go in, 
export the file default.aspx file, modify it, and re-import it for it to work 
correctly.
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Thursday, 19 January 2012 12:43 PM
To: ozMOSS
Subject: RE: Doing a SharePoint caveats talk soon - send me your good'uns
 
Undocking the ribbon? J


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Culmsee
Sent: Thursday, 19 January 2012 12:33 PM
To: ozMOSS
Subject: Doing a SharePoint caveats talk soon - send me your good'uns
 
Hi all
Michal Pisarek and I are doing a talk in March about various SharePoint 
caveats. The audience is not really tech, but the purpose of the talk is to 
save people the pain of proceeding on an untested assumption and then finding 
out far too late that the logical edifice they have built has come crashing 
down. 
But it seems that there are around 2-3 common gotchas with most SharePoint 
components – and the newer the component the more the gotchas. 
Some of the big ones people know about are things like managed metadata support 
for InfoPath/SharePoint workspace. So if you have any caveats that has nailed 
you, would you mind sharing them with this list or mailing them to me? I’m sure 
each of us has a couple of good ones J
What’s the biggest issue/caveat that’s nailed you?
Regards
Paul 


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
___ 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: VS 2010 - Add new feature not working correctly....

2012-01-15 Thread Nigel Witherdin

Just on this - I suspect it is something to do with my vm setup. Due to 
restrictions placed upon us re: not having our vms attached to the corporate 
network at all, we are storing oour source on a directory on the host machine, 
enabling that as a share, and then mapping a drive to that share on the vm. 
This way we can still check in/out easily (from the host).  Seems Studio doesnt 
like something about this setup (not really suprising) re: creating new 
features.  Everything else seems to be ok.
 
Cheers,
 



From: nigel_wither...@hotmail.com
To: ozmoss@ozmoss.com
Subject: VS 2010 - Add new feature not working correctly
Date: Thu, 12 Jan 2012 00:01:07 +





Hi all,
 
Has anyone experienced when using the VS2010 Sharepoint projects, adding a 
feature does not work correctly - seems to add the correct structure, but when 
I change the name of the feature (by pushing F2) it does not rename the node 
beneath, and changes the icon associated to a normal folder icon (see image).
 
It still deploys correctly etc., but I can no longer get to the designer view 
of the feature!  I added the feature by right-clicking the Features folder 
and selecting 'add feature'.
 
As you can see from the image, I added features previously without a problem,
 
Any help greatly appreciated
 
Nigel
 
 

___ 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


Content Type Hub - Ct Declarative Customizations

2012-01-15 Thread Nigel Witherdin

Hi All,
 
We have a number of content types which we are disseminating via the CT Hub 
component of SP 2010. Modifications bound to the content types stored in the 
SPContentType object get pushed out to subscribing site collections correctly 
(eg. event receivers, workflows etc.), however declarative modifications that 
are associated to the content type (eg. Ribbon mod, custom actions etc.) arent 
stored with the object and as such dont get pushed to the subscribers.
 
As the ID of the content types is the same in the subscribing site colls, I 
assumed seperating these customizations into their own feature, and activating 
them on the subscribing site collections would resolve this, but I am not 
seeing my ribbon modifications appear in the subscribing site collections for 
the targeted content types. This may be because the CT is read-only, or because 
of some bug in the code etc. - going to look into it today.
 
Anyway, wondered if anyone an opinion on the best way to implement and manage 
these sorts of CT modifications when using the hub.
 
Many thanks
 
Nigel ___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


VS 2010 - Add new feature not working correctly....

2012-01-11 Thread Nigel Witherdin

Hi all,
 
Has anyone experienced when using the VS2010 Sharepoint projects, adding a 
feature does not work correctly - seems to add the correct structure, but when 
I change the name of the feature (by pushing F2) it does not rename the node 
beneath, and changes the icon associated to a normal folder icon (see image).
 
It still deploys correctly etc., but I can no longer get to the designer view 
of the feature!  I added the feature by right-clicking the Features folder 
and selecting 'add feature'.
 
As you can see from the image, I added features previously without a problem,
 
Any help greatly appreciated
 
Nigel
 
  attachment: FeatureProb.png___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Powershell frustration....

2012-01-09 Thread Nigel Witherdin

Found that if I use:
 
New-SPWebApplication -Name ({0} -f $webApp.Name) -HostHeader
 
that because it converts the XmlAttribute to a string, it seems to delimits the 
string variable automatically (happy days!), so I dont need to delimit at all.
 
Many thanks
 



Date: Mon, 9 Jan 2012 20:09:10 +1000
From: tmcgee...@gmail.com
To: ozmoss@ozmoss.com
Subject: Re: Powershell frustration


Alternatively, delimiting the value with quotes might work:
e.g. 
New-SPWebApplication -Name ('{0}' -f $webApp.Name) -HostHeader  etc


On 9/01/2012 6:51 PM, Tony McGee wrote: 
I think you just want to put it into single quotes? Double quotes will expand 
the $webApp variable, single quotes won't.

e.g.
New-SPWebApplication -Name '$webApp.Name' -HostHeader  etc

Cheers,
Tony


On 9/01/2012 4:55 PM, Nigel Witherdin wrote: 



Hey All,
 
An easy one Im sure, but I havent been able to come up with the right google 
search string to fine the answer myself
 
I am writing a script that parses an XML file and creates web app, site coll, 
content db etc. based on the xml. All works ok, except when people put spaces 
into names (like web app name or app pool name, etc. - damn users!). So what 
ends up in my script is something like:
 
New-SPWebApplication -Name $webApp.Name -HostHeader . etc.
 
I need some way of delimiting the variable $webApp.Name but still resolving it 
to its value (not its type, which is what happens when you simply put: -Name 
$webApp.Name in the command). Really frustrating as I know I have already 
figured this out before, but cant find the script I had it in, so am not sure 
what I did for it (grrr)
 
Thanks
 
Nigel


 
___
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


Powershell frustration....

2012-01-08 Thread Nigel Witherdin

Hey All,
 
An easy one Im sure, but I havent been able to come up with the right google 
search string to fine the answer myself
 
I am writing a script that parses an XML file and creates web app, site coll, 
content db etc. based on the xml. All works ok, except when people put spaces 
into names (like web app name or app pool name, etc. - damn users!). So what 
ends up in my script is something like:
 
New-SPWebApplication -Name $webApp.Name -HostHeader . etc.
 
I need some way of delimiting the variable $webApp.Name but still resolving it 
to its value (not its type, which is what happens when you simply put: -Name 
$webApp.Name in the command). Really frustrating as I know I have already 
figured this out before, but cant find the script I had it in, so am not sure 
what I did for it (grrr)
 
Thanks
 
Nigel ___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Check null or empty on it field

2011-10-18 Thread Nigel Witherdin

Rather than pull the title out to a seperate string variable and then check on 
it, I would use something like:
 
string iTitle = (string)(spListItem[Title] ?? No Title);
string iDesc = (string)(spListItem[Description] ?? No description);
 
I believe casting the field value to string is more efficient then using a 
ToString function, and using the null-coalescing operator is more efficient 
then a seperate if statement (though I am prepared to be shouted down over 
this :)
Also, I think it is a lot neater in the code, and the same form can be used for 
different datatypes:
 
DateTime someDate = (DateTime)(item[Date Field Name] ?? DateTime.MinValue);
 
Cheers,
 
Nigel
 



From: paul.no...@ceosyd.catholic.edu.au
To: ozmoss@ozmoss.com
Date: Wed, 19 Oct 2011 11:10:58 +1100
Subject: Check null or empty on it field






Hi all,
I’m trying to put some checks in place to avoid exceptions when a field has no 
value. I had tried null but it didn’t seem to be enough. I’m now trying the 
following but continue to get an exception when a field in any item is empty.
Is there a more robust way to do this? Check length as well, or instead??
// Check the value for each string and supply a defualt if none exists
if (string.IsNullOrEmpty(iTitle))
{
iTitle = No Title;
}
if (string.IsNullOrEmpty(iDesc))
{
iDesc = No description;
}
 
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
w: 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: meeting workspaces nightmare

2011-10-06 Thread Nigel Witherdin

 
Staple a feature to the definition that enforces the setting??
 



Date: Thu, 6 Oct 2011 21:29:53 +1030
From: chr...@loftusit.com.au
To: ozmoss@ozmoss.com
Subject: Re: meeting workspaces nightmare






Howdy,
 
I see the same thing in office 365, so looks like its not environmental.
 
Perhapaps create a webprovisioning/ed event receiver to update the desired 
librarys.



Chris Grist


Senior Technical Consultant






Ground Level
175 Fullarton Rd
Dulwich SA 5065


Tel (08) 8304 
Fax (08) 8364 2910




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.




From: Maxine Harwood maxinetechg...@gmail.com
To: ozMOSS ozmoss@ozmoss.com
Sent: Thursday, 6 October, 2011 5:31:16 PM
Subject: meeting workspaces nightmare

I think meeting workspaces will be the end of me. it was bad enough in
MOSS2007 but SP2010 (enterprise) seems to be even worse (if that was
possible).

 

Is anyone else having issues with workspaces saved as templates? My
current engagement would like to use meeting workspaces in a big way. We
have done a lot of work on creating customised workspaces that we have
saved as templates. BUT, when the workspaces are created from the
template, the setting Share List Items Across All Meetings (Series Items)
 to set a given list or library as a series item is reset - so that they
are back to the default - NO.

 

I had hoped it would be resolved after SP1 and the June CU - but it's
still an issue?? is it just this environment. A quick Google didn't find
any other results - which I find surprising.

 

I've looked at the definitions within the solution - but can't see where
this property is set?

 

Any ideas.



___ ozmoss mailing list 
ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss 
  attachment: email-logo.gifattachment: partnerbar-email.gif___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: meeting workspaces nightmare

2011-10-06 Thread Nigel Witherdin

 
Besides, schema.xml (shudder) - horrible!!
 
Features - nice, clean, reusable, easily applied to many definitions, 
upgradeable, can be turned off on individual sites, etc.
 
I tend to avoid writing site def's (or even using site templates) except for 
taking a copy of the Blank Site Def and making it the Company Name Site 
Def. Then staple a bunch of features to it to configure it the way they want 
it.
 
 



From: paul.no...@ceosyd.catholic.edu.au
To: ozmoss@ozmoss.com
Date: Fri, 7 Oct 2011 12:43:35 +1100
Subject: RE: meeting workspaces nightmare








Just to pre-empt your next question: no. This can’t be set in the schema.xml. J
 
When you apply the setting SharePoint gives the list a new ID, which leads me 
to assume the change occurs in the DB and can only be get/set via code.
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Friday, 7 October 2011 12:20 PM
To: ozMOSS
Subject: RE: meeting workspaces nightmare
 
+1
 
It’s an SPList property called MultipleDataList.
 
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.multipledatalist.aspx
 
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Nigel Witherdin
Sent: Friday, 7 October 2011 11:58 AM
To: OzMoss
Subject: RE: meeting workspaces nightmare
 

 
Staple a feature to the definition that enforces the setting??
 




Date: Thu, 6 Oct 2011 21:29:53 +1030
From: chr...@loftusit.com.au
To: ozmoss@ozmoss.com
Subject: Re: meeting workspaces nightmare

Howdy,
 
I see the same thing in office 365, so looks like its not environmental.
 
Perhapaps create a webprovisioning/ed event receiver to update the desired 
librarys.


Chris Grist
 
Senior Technical Consultant
 

 
Ground Level
175 Fullarton Rd
Dulwich SA 5065
 
Tel (08) 8304 
Fax (08) 8364 2910


 
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.
 




From: Maxine Harwood maxinetechg...@gmail.com
To: ozMOSS ozmoss@ozmoss.com
Sent: Thursday, 6 October, 2011 5:31:16 PM
Subject: meeting workspaces nightmare

I think meeting workspaces will be the end of me. it was bad enough in
MOSS2007 but SP2010 (enterprise) seems to be even worse (if that was
possible).

 

Is anyone else having issues with workspaces saved as templates? My
current engagement would like to use meeting workspaces in a big way. We
have done a lot of work on creating customised workspaces that we have
saved as templates. BUT, when the workspaces are created from the
template, the setting Share List Items Across All Meetings (Series Items)
 to set a given list or library as a series item is reset - so that they
are back to the default - NO.

 

I had hoped it would be resolved after SP1 and the June CU - but it's
still an issue?? is it just this environment. A quick Google didn't find
any other results - which I find surprising.

 

I've looked at the definitions within the solution - but can't see where
this property is set?

 

Any ideas.
 

___ 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 
  attachment: image001.gifattachment: image002.gif___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: MOSS - Web Part chrome is locked

2011-09-27 Thread Nigel Witherdin

 
DocumentTemplate is an optional parameter for a ListInstance element, so 
presumably if you omit it, then no document template would be assigned to the 
list.
 
Haven't really checked this though, as I tend to create my ListInstances etc in 
code, not declaratively, as it gives you far more power over the configuration 
of the list, and allows you to handle conflicts (ie you can handle the case 
where a list already exists with the same name/url)
 
Cheers,
 
Nigel
 



From: paul.no...@ceosyd.catholic.edu.au
To: ozmoss@ozmoss.com
Date: Wed, 28 Sep 2011 11:45:40 +1000
Subject: RE: MOSS - Web Part chrome is locked






Sorry, typo: * IgnoreIfAlreadyExists*
 
Anyone know how to specify NO documenttemplate for a ListTemplate or Instance?
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Wednesday, 28 September 2011 10:43 AM
To: ozMOSS
Subject: RE: MOSS - Web Part chrome is locked
 
Hi Shahram,
 
That hasn’t been my experience. It’s possible that it’s an either or (by design 
or otherwise) but the properties added to the webpart file seem to apply 
directly to its properties in the gallery, not a page instance. In any case 
I’ve only needed to add the property to the elements module and it works as I’d 
hoped.
 
A slight variation was required.
 
Property Name=ChromeType Value=TitleOnly /
 

I’ve also found that many other advertised properties don’t work as expected or 
where they’re expected. It’s very, very difficult to get the right info because 
a lot of it relates to System.Web.UI.WebControls.WebParts as opposed to what’s 
strictly allowed within a feature elements file for SharePoint.
 
The SharePoint schema reference lacks any detail when it comes to a parameter 
set for these elements.
 
I’ve tried to use the IgnoreIfExists attribute for my list instance and web 
part module but they’re apparently invalid in this context. :\
 
Regards,

Paul
 
--
Online Developer/SharePoint Administrator,
ICT Infrastructure Team
CEO Sydney
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Shahram Banihashem
Sent: Wednesday, 28 September 2011 10:17 AM
To: ozMOSS
Subject: Re: MOSS - Web Part chrome is locked
 


Hi Paul,

 

This change to elements.xml won't help. Similar change has to be applied to 
.webpart file:

 

...

data
  properties
property name=ChromeType Type=stringNone/property

 

Regards,

 

Shahram.

 


From: Paul Noone paul.no...@ceosyd.catholic.edu.au
To: ozMOSS ozmoss@ozmoss.com
Sent: Tuesday, 27 September 2011 3:04 PM
Subject: RE: MOSS - Web Part chrome is locked



Hi Jorge,

Found it. It can be set as a property of the file element within the module in 
elements.xml.

e.g.

Module...
  File...
Property Name=ChromeType Type=chrometypeNone/Property


Incredibly useful MSDN reference with terrific examples [not]:

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

 



From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Jorge Carvalho
Sent: Monday, 19 September 2011 9:32 PM
To: ozMOSS
Subject: RE: MOSS - Web Part chrome is locked

 

Hi Paul,

The CreatechildControls method creates the controls on runtime when the web 
part is rendered, not when it is provisioned.

You’re resetting the Chrome type every time you display the web part.

You can define custom settings when you are provisioning the web part as part 
of a web template, or in a feature activated event receiver, I’m not sure how 
would you go about defining the default chrome for a particular web part 
though…. Anyone?

Cheers,

JC

 



From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Paul Noone
Sent: Monday, 19 September 2011 9:37 AM
To: ozMOSS (ozmoss@ozmoss.com)
Subject: MOSS - Web Part chrome is locked

 

Hi all,

I’m sure I’ve done something silly but I’m unable to change the chrome settings 
for a custom web part via the UI.

They always revert to what I’ve defined in CreateChildControls.

protected override void CreateChildControls()

{

if (!error)

{

try

{

 

base.CreateChildControls();

this.ChromeType = PartChromeType.TitleOnly;

Table table = new Table();

// etc...  

row.Controls.Add(cell);

table.Controls.Add(row);

this.Controls.Add(table);

Is there a simple way to prevent this?

 

Kind regards,

Paul

___
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

RE: SharePoint Coding Standard

2011-09-22 Thread Nigel Witherdin

 
Cool - many thanks for this!
 



Date: Thu, 22 Sep 2011 11:07:58 +0800
Subject: Re: SharePoint Coding Standard
From: sharepointse...@gmail.com
To: ozmoss@ozmoss.com


Yeah I believe this is it: 
http://www.muhimbi.com/blog/2009/05/muhimbis-sharepoint-development.html
http://www.muhimbi.com/Images---Files/Blog/Muhimbi-Development-Guidelines.aspx
 
It's for MOSS 2007 though, not sure if they have an updated one. It's a nice 
example if you need to write up one of these yourself.

Sezai.
 
On Thu, Sep 22, 2011 at 11:03 AM, Paul Culmsee paul.culm...@sevensigma.com.au 
wrote:




Sezai a long time ago put me onto one that wasn’t bad, authored by a 3rd party. 
Sezai – do you remember it?
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Maxine Harwood
Sent: Thursday, 22 September 2011 9:48 AM
To: 'ozMOSS'
Subject: RE: SharePoint Coding Standard



 
I’d be interested in anything that comes out of this, we don’t have standards 
in place at present – but would like to .
 
max
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Nigel Witherdin
Sent: Thursday, 22 September 2011 11:16 AM
To: OzMoss
Subject: SharePoint Coding Standard
 

Hi All,
 
Have been tasked with writing a coding standard (C# and PowerShell) focussed on 
SharePoint developments.  Can anyone please provide me with an example that I 
can use as a basis?
 
Many thanks,
 
Nigel
___
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: webpart spacing

2011-08-23 Thread Nigel Witherdin
Probably Solved with styling? Check: 
https://mail.avanade.com/OWA/redir.aspx?C=be5476c25c2343aaad3e244e3096b36aURL=http://sharepointexperience.com/csschart/csschart.html_NWe-tAb

From: chr...@loftusit.com.au
To: ozmoss@ozmoss.com
Subject: webpart spacing
Date: Tue, 23 Aug 2011 16:13:27 +0930



Hi Guys, Ive given some webparts some borders, having issue getting them spaced 
nicely on a webpart page, you can see in the screenshot, two web parts are 
flush up against each other, when the page is edited they are nicely spaced. 
Chris Grist 
MCITP, MCTS, VCP

Senior Technical Consultant

Ground Floor 
175 Fullarton Rd 
Dulwich SA 5065

Tel (08) 8304 
Fax (08) 8364 2910
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   
  attachment: image001.gifattachment: image002.gif___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: webpart spacing

2011-08-23 Thread Nigel Witherdin
Sorry - that link without the Owa redirect is  
http://sharepointexperience.com/csschart/csschart.html

From: chr...@loftusit.com.au
To: ozmoss@ozmoss.com
Subject: webpart spacing
Date: Tue, 23 Aug 2011 16:13:27 +0930



Hi Guys, Ive given some webparts some borders, having issue getting them spaced 
nicely on a webpart page, you can see in the screenshot, two web parts are 
flush up against each other, when the page is edited they are nicely spaced. 
Chris Grist 
MCITP, MCTS, VCP

Senior Technical Consultant

Ground Floor 
175 Fullarton Rd 
Dulwich SA 5065

Tel (08) 8304 
Fax (08) 8364 2910
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   
  attachment: image001.gifattachment: image002.gif___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Search Crawl stuck in Stopping State

2011-08-04 Thread Nigel Witherdin

Hi,
The ULS show this error relating to search (though it seems to be query 
related, not crawl):
Caught exception
while retrying Tripoli component: 0x80070002  
ddb9e893-6060-46a3-8b12-a7be0e432581

CTripoliConnectionWrapper::SignalError
with 0x80070002.ddb9e893-6060-46a3-8b12-a7be0e432581

Error 0x80070002 from
component SVMSP003PR on machine
82c100d7-f0f0-4732-b5a6-aef8a7902756-query-3.
ddb9e893-6060-46a3-8b12-a7be0e432581

_RLokErrorKind In:
0x80070002.  ddb9e893-6060-46a3-8b12-a7be0e432581

_RLokErrorKind Out:
0x80070002, Type: 2.   ddb9e893-6060-46a3-8b12-a7be0e432581

Retry of query
component 82c100d7-f0f0-4732-b5a6-aef8a7902756-query-3 has failed with error:
The system cannot find the file specified.   0x80070002. It will be
retried again in 64 seconds.   
ddb9e893-6060-46a3-8b12-a7be0e432581
Cheers,
Nigel
From: akhanna...@gmail.com
Date: Thu, 4 Aug 2011 21:44:31 +1200
Subject: Re: Search Crawl stuck in Stopping State
To: ozmoss@ozmoss.com

Did you find any pointer to possible cause of this in the ULS logs or Windows 
Log.


On Thu, Aug 4, 2011 at 3:16 PM, Nigel Witherdin nigel_wither...@hotmail.com 
wrote:







Probably as a last resort
Cheers, 

From: jos...@beyondurban.com
To: ozmoss@ozmoss.com


Date: Wed, 3 Aug 2011 19:38:58 -0700
Subject: RE: Search Crawl stuck in Stopping State



Seen this a few time unfortunately. The only way I have been able to resolve 
this is to delete the search service app. Is this an option?

 Cheers Josh

  From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf 
Of Nigel Witherdin


Sent: Thursday, 4 August 2011 11:32 AM
To: OzMoss
Subject: RE: Search Crawl stuck in Stopping State Hi Ken,

 I have tried restarting the service from the services.msc snap-in on all boxes 
(and confirmed that this did actually remove the mssearch.exe process), and 
have also tried restarting the timer service on all boxes, but this did not help

 Cheers, 
Nigel
From: lied...@hotmail.com


To: ozmoss@ozmoss.com
Subject: RE: Search Crawl stuck in Stopping State
Date: Thu, 4 Aug 2011 10:58:01 +0930Hi Nigel,



  Have you tried to restart the search service?

Ken

From: nigel_wither...@hotmail.com
To: ozmoss@ozmoss.com
Subject: Search Crawl stuck in Stopping State


Date: Thu, 4 Aug 2011 01:11:52 +Hi All, 

At a customer site where the environment is SP 2010 using Enterprise search, 
the crawl of the “Local SharePoint site” content source is stuck in a state of 
“Stopping”.

 Have attempted to force the crawl to stop by using the PowerShell commands:

 $searchapp = Get-SPEnterpriseSearchServiceApplication Search Service 
Application  

$contentsource = Get-SPEnterpriseSearchCrawlContentSource Local SharePoint 
Sites -SearchApplication $searchapp

$contentsource.StopCrawl() 

However this does not appear to have any affect. Also tried the STSADM command: 

Stsadm –o osearch –action stop 

But this gives the response: 

'stop' action failed. Additional information: Invalid search service 
unprovisioning: application 'Search Service Application' still has a ready 
component '82c100d7-f0f0-4732-b5a6-aef8a7902756-crawl-1' on server 
'SVMSP005PR'.

 Not sure what is the best way to progress – need to stop the crawl so I can 
reconfigure the content source, reset the index and then recrawl the corpus.  
Any advice would be greatly appreciated.

 Cheers, Nigel


___ 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





___
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


Search Crawl stuck in Stopping State

2011-08-03 Thread Nigel Witherdin

Hi All,

 

At a customer site where the
environment is SP 2010 using Enterprise search, the crawl of the “Local
SharePoint site” content source is stuck in a state of “Stopping”.

 

Have attempted to force the
crawl to stop by using the PowerShell commands:

 

$searchapp
= Get-SPEnterpriseSearchServiceApplication Search Service
Application  

$contentsource
= Get-SPEnterpriseSearchCrawlContentSource Local SharePoint Sites
-SearchApplication $searchapp

$contentsource.StopCrawl()

 

However this does not appear to
have any affect. Also tried the STSADM command:

 

Stsadm
–o osearch –action stop

 

But this gives the response:

 

'stop'
action failed. Additional information: Invalid search service unprovisioning:
application 'Search Service Application' still has a ready component
'82c100d7-f0f0-4732-b5a6-aef8a7902756-crawl-1' on server 'SVMSP005PR'.

 

Not sure what is the best way to
progress – need to stop the crawl so I can reconfigure the content source,
reset the index and then recrawl the corpus.  Any advice would be greatly
appreciated.
Cheers,
Nigel ___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Search Crawl stuck in Stopping State

2011-08-03 Thread Nigel Witherdin

Hi Ken,
I have tried restarting the service from the services.msc snap-in on all boxes 
(and confirmed that this did actually remove the mssearch.exe process), and 
have also tried restarting the timer service on all boxes, but this did not help
Cheers,
Nigel

From: lied...@hotmail.com
To: ozmoss@ozmoss.com
Subject: RE: Search Crawl stuck in Stopping State
Date: Thu, 4 Aug 2011 10:58:01 +0930








Hi Nigel,

  Have you tried to restart the search service?

Ken

From: nigel_wither...@hotmail.com
To: ozmoss@ozmoss.com
Subject: Search Crawl stuck in Stopping State
Date: Thu, 4 Aug 2011 01:11:52 +








Hi All,

 

At a customer site where the
environment is SP 2010 using Enterprise search, the crawl of the “Local
SharePoint site” content source is stuck in a state of “Stopping”.

 

Have attempted to force the
crawl to stop by using the PowerShell commands:

 

$searchapp
= Get-SPEnterpriseSearchServiceApplication Search Service
Application  

$contentsource
= Get-SPEnterpriseSearchCrawlContentSource Local SharePoint Sites
-SearchApplication $searchapp

$contentsource.StopCrawl()

 

However this does not appear to
have any affect. Also tried the STSADM command:

 

Stsadm
–o osearch –action stop

 

But this gives the response:

 

'stop'
action failed. Additional information: Invalid search service unprovisioning:
application 'Search Service Application' still has a ready component
'82c100d7-f0f0-4732-b5a6-aef8a7902756-crawl-1' on server 'SVMSP005PR'.

 

Not sure what is the best way to
progress – need to stop the crawl so I can reconfigure the content source,
reset the index and then recrawl the corpus.  Any advice would be greatly
appreciated.
Cheers,
Nigel 

___
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: Search Crawl stuck in Stopping State

2011-08-03 Thread Nigel Witherdin

Probably as a last resort
Cheers, 

From: jos...@beyondurban.com
To: ozmoss@ozmoss.com
Date: Wed, 3 Aug 2011 19:38:58 -0700
Subject: RE: Search Crawl stuck in Stopping State



Seen this a few time unfortunately. The only way I have been able to resolve 
this is to delete the search service app. Is this an option? Cheers Josh  From: 
ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Nigel 
Witherdin
Sent: Thursday, 4 August 2011 11:32 AM
To: OzMoss
Subject: RE: Search Crawl stuck in Stopping State Hi Ken, I have tried 
restarting the service from the services.msc snap-in on all boxes (and 
confirmed that this did actually remove the mssearch.exe process), and have 
also tried restarting the timer service on all boxes, but this did not help 
Cheers, NigelFrom: lied...@hotmail.com
To: ozmoss@ozmoss.com
Subject: RE: Search Crawl stuck in Stopping State
Date: Thu, 4 Aug 2011 10:58:01 +0930Hi Nigel,

  Have you tried to restart the search service?

KenFrom: nigel_wither...@hotmail.com
To: ozmoss@ozmoss.com
Subject: Search Crawl stuck in Stopping State
Date: Thu, 4 Aug 2011 01:11:52 +Hi All, At a customer site where the 
environment is SP 2010 using Enterprise search, the crawl of the “Local 
SharePoint site” content source is stuck in a state of “Stopping”. Have 
attempted to force the crawl to stop by using the PowerShell commands: 
$searchapp = Get-SPEnterpriseSearchServiceApplication Search Service 
Application  $contentsource = Get-SPEnterpriseSearchCrawlContentSource Local 
SharePoint Sites -SearchApplication $searchapp$contentsource.StopCrawl() 
However this does not appear to have any affect. Also tried the STSADM command: 
Stsadm –o osearch –action stop But this gives the response: 'stop' action 
failed. Additional information: Invalid search service unprovisioning: 
application 'Search Service Application' still has a ready component 
'82c100d7-f0f0-4732-b5a6-aef8a7902756-crawl-1' on server 'SVMSP005PR'. Not 
sure what is the best way to progress – need to stop the crawl so I can 
reconfigure the content source, reset the index and then recrawl the corpus.  
Any advice would be greatly appreciated. Cheers, Nigel
___ 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: Deploying custom app page on sp2010

2011-03-23 Thread Nigel Witherdin

In your Visual Studio solution, Right click on package and then click view in 
designer. Click on Advanced (down the bottom). From here you can select other 
DLLs to be packaged into your WSP

 Subject: Deploying custom app page on sp2010
 From: maxinetechg...@gmail.com
 Date: Wed, 23 Mar 2011 17:55:13 +1000
 To: ozmoss@ozmoss.com
 
 I am trying to add a simple application page to sp2010. The code references a 
 third party app and works as a standard aspx page, but bringing it into a 
 'sp2010 application page', the dll is not being included on the deployed 
 package and as a consequence, I get a 'file not found' error when I run the 
 aspx. Any suggestions or sites that will help me to deploy the all to 
 sharepoint? I've searched but the search terms i'm using are getting me 
 nowhere!! 
 
 
 Ta
 Max. 
 
 
 
 Sent from Max's iPhone 
 ___
 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: suggestions to solve a banner problem

2011-02-13 Thread Nigel Witherdin

I think in most cases the top section of a page will be controlled by the 
master page, not the page layout, as there is generally a logo and a global nav 
held there also. You cannot add web part zones to a master page (without doing 
a little hack - 
http://littletalk.wordpress.com/2009/07/28/add-webpart-zone-on-masterpage-in-sharepoint/),
 so if your layout is like I have described, then you need to use a content 
placeholder.  Also, I don't really like the idea of content author's having the 
ability to change items considered to be part of the overall design, and not 
specific to the current page. 
From: paul.no...@ceosyd.catholic.edu.au
To: ozmoss@ozmoss.com
Date: Mon, 14 Feb 2011 10:18:46 +1100
Subject: RE: suggestions to solve a banner problem



I’m with Nigel. This is a clear-cut case for a new layout page designed for 
this purpose. The benefit of a layout page is that you can use it whenever 
required and have the flexibility to add whatever content you want as needs 
change. We have employed this to great effect. I simply created a new layout 
page with a web part zone that stretches full-width along the top of the page. 
The benefits of using a web part zone are that you don’t need to worry about a 
custom placeholder, and you can also add any web part you might need - Picture, 
Flash, Silverlight etc. Regards,

Paul --Online Developer/SharePoint Administrator,
ICT Infrastrcuture Team
CEO Sydney From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] 
On Behalf Of Nigel Witherdin
Sent: Saturday, 12 February 2011 12:15 PM
To: OzMoss
Subject: RE: suggestions to solve a banner problem 
 I would think adding a contentplaceholder which is replaced by your home 
page's page layout would be a better option, as this means the banner would 
only be downloaded to the client on the home page, not every page and then 
hidden on most of them by javasscript or css From: maxinetechg...@gmail.com
To: ozmoss@ozmoss.com
Subject: RE: suggestions to solve a banner problem
Date: Sat, 12 Feb 2011 10:10:04 +1000

Thanks Guys, some great suggestions, I’ll definitely try them out on Monday!  
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Dan Sheedy
Sent: Friday, 11 February 2011 10:15 PM
To: ozMOSS
Subject: Re: suggestions to solve a banner problem 2 options. Add some 
javascript on the master page to check the url and either hide/display the 
banner element.  https://developer.mozilla.org/en/DOM/window.location Or again, 
have the banner element in the master page, hide it by default in your 
custom.css and use a content editor web part to override the display property 
when needed. 
http://www.endusersharepoint.com/2010/01/29/style-a-page-using-the-content-editor-web-part-and-css/
 Both ways you can leave the element in the master page and not worry about the 
other pages.  On Fri, Feb 11, 2011 at 7:59 PM, ken zheng lied...@hotmail.com 
wrote:you can just embed the JQeury into your front page to change the image 
From: maxinetechg...@gmail.com
To: ozmoss@ozmoss.comSubject: RE: suggestions to solve a banner problemDate: 
Fri, 11 Feb 2011 17:28:17 +1000 Are you suggesting something like having the 
banner in a div tag, and changing the style sheet to display:none if it’s not 
the site root? I could look into that…
 From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf 
Of ken zheng
Sent: Friday, 11 February 2011 3:58 PM
To: ozmoss@ozmoss.com
Subject: RE: suggestions to solve a banner problem have you considered using 
Javscript/JQuery to change the style sheet?

KenFrom: maxinetechg...@gmail.com
To: ozmoss@ozmoss.com
Subject: suggestions to solve a banner problem
Date: Fri, 11 Feb 2011 14:48:45 +1000Hey all,
 
Wondering if anyone can suggest a solution to this problem.
 
The client wants a banner on the front page (preferably only the front page but 
could be at the top level of the site if that is the easiest way).
 
I can create a custom master page, but I do not want this master page used on 
any new subsites created. 
 
I have considered everything from a custom placeholder on the page (don’t know 
if this would work) or using a custom layout?? Going round in circles and hoped 
somebody out there has had this issue before. I figure there has to be an easy 
way to solve this – I think I’m looking too hard…
 
Any suggestions?
 
Maxine Harwood | Solutions ArchitectRed Box IT 0410 525 989 | 07 3056 1725 
(VoIP)www.redboxit.com.auABN: 96 189 767 742 | ACN: 125 489 278 
 
___ 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

RE: suggestions to solve a banner problem

2011-02-11 Thread Nigel Witherdin


 I would think adding a contentplaceholder which is replaced by your home 
page's page layout would be a better option, as this means the banner would 
only be downloaded to the client on the home page, not every page and then 
hidden on most of them by javasscript or css

From: maxinetechg...@gmail.com
To: ozmoss@ozmoss.com
Subject: RE: suggestions to solve a banner problem
Date: Sat, 12 Feb 2011 10:10:04 +1000








Thanks Guys, some great suggestions, I’ll definitely try them out on Monday! 
 
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Dan Sheedy
Sent: Friday, 11 February 2011 10:15 PM
To: ozMOSS
Subject: Re: suggestions to solve a banner problem
 
2 options. Add some javascript on the master page to check the url and either 
hide/display the banner element. 

 

https://developer.mozilla.org/en/DOM/window.location

 


Or again, have the banner element in the master page, hide it by default in 
your custom.css and use a content editor web part to override the display 
property when needed.

 

http://www.endusersharepoint.com/2010/01/29/style-a-page-using-the-content-editor-web-part-and-css/

 

Both ways you can leave the element in the master page and not worry about the 
other pages. 


 

On Fri, Feb 11, 2011 at 7:59 PM, ken zheng lied...@hotmail.com wrote:

you can just embed the JQeury into your front page to change the image

 



From: maxinetechg...@gmail.com
To: ozmoss@ozmoss.com

Subject: RE: suggestions to solve a banner problem
Date: Fri, 11 Feb 2011 17:28:17 +1000


 

Are you suggesting something like having the banner in a div tag, and changing 
the style sheet to display:none if it’s not the site root? I could look into 
that…
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
ken zheng
Sent: Friday, 11 February 2011 3:58 PM
To: ozmoss@ozmoss.com
Subject: RE: suggestions to solve a banner problem
 
have you considered using Javscript/JQuery to change the style sheet?

Ken



From: maxinetechg...@gmail.com
To: ozmoss@ozmoss.com
Subject: suggestions to solve a banner problem
Date: Fri, 11 Feb 2011 14:48:45 +1000

Hey all,
 
Wondering if anyone can suggest a solution to this problem.
 
The client wants a banner on the front page (preferably only the front page but 
could be at the top level of the site if that is the easiest way).
 
I can create a custom master page, but I do not want this master page used on 
any new subsites created. 
 
I have considered everything from a custom placeholder on the page (don’t know 
if this would work) or using a custom layout?? Going round in circles and hoped 
somebody out there has had this issue before. I figure there has to be an easy 
way to solve this – I think I’m looking too hard…
 
Any suggestions?
 
Maxine Harwood | Solutions Architect
Red Box IT 
0410 525 989 | 07 3056 1725 (VoIP)
www.redboxit.com.au
ABN: 96 189 767 742 | ACN: 125 489 278
 
 

___ 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 
  ___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Assigned to email alert in custom list

2010-06-27 Thread Nigel Witherdin

 

Yep, this is possible. An ItemAdded event handler can be added to your list 
where you implement this logic.
 


From: jason.tay...@gotosage.com
To: ozmoss@ozmoss.com
Date: Fri, 25 Jun 2010 12:08:24 +0930
Subject: Assigned to email alert in custom list





Hi,
I have a custom list definition and content type (based in Item) for managing 
project risks. The content type has an “assigned to” field. I would like the 
functionality of the task or issue list to email the person when they are 
assigned to the risk. Anyone know if this is possible without using third party 
controls or SharePoint Designer? Code solutions are fine.
 
Regards, 
Jason Taylor
SAGE is the first and only Australian company certified to the global benchmark 
standards of the Control Systems Integration Association. To see how this 
benefits you, simply visit www.controlsys.org



Disclaimer: The information contained in this e-mail is intended only for the 
use of the person(s) to whom it is addressed and may be confidential or contain 
legally privileged information. If you are not the intended recipient you are 
hereby notified that any perusal, use, distribution, copying, modification or 
disclosure is strictly prohibited. If you have received this e-mail in error 
please immediately advise us by return e-mail and delete the document without 
making a copy. No warranty is made that any attachments are free from viruses. 
It is the recipient's responsibility to establish its own protection against 
viruses and other damage.
  
_
http://clk.atdmt.com/UKM/go/19780/direct/01/
Do you have a story that started on Hotmail? Tell us now___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: UpdateListItems web service

2010-05-21 Thread Nigel Witherdin

what a bugger!
 


From: paul.no...@ceosyd.catholic.edu.au
To: ozmoss@ozmoss.com
Date: Fri, 21 May 2010 10:23:30 +1000
Subject: UpdateListItems web service





Hi all,
 
I’m using the following within a SOAP envelope to create a list item using the 
UpdatelistItems web service.
 
Batch OnError=Continue ListVersion=1
  Method ID=1 Cmd=New
Field Name=IDNew/Field
Field Name=TitleMartin/Field
  /Method
/Batch
 
I run it. No errors. I refresh my list. No items. I’ve been banging my head 
against a brick wall thinking it wasn’t working only to discover that my custom 
views were using the ‘Title’ and ‘Title (linked to item)’ fields while the 
batch element was only updating the ‘Title (linked to item with edit menu)’ 
field!
 
Is this expected behaviour?? Am I expected to update all three of these or 
there a magic one I should be using which will update all three?
 
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
w: http://www.ceosyd.catholic.edu.au/
  
_
http://clk.atdmt.com/UKM/go/195013117/direct/01/
___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Event Handler Not Firing

2010-02-13 Thread Nigel Witherdin

probably not the same (i havent done an item added event handler) but i had a 
very similar experience with email rec event handler. Turned out it was because 
the email rec'd was associated with the owstimer.exe (timer service) not the w3 
process, so this service had to be rset to pick up my event handler, and 
likewise you hadto attach to this process to debug.

 

As i say, not sure what svc item added is assoc with - would guess it is the w3 
process - but just sounds very similar to the frustration i had before the coin 
dropped
 


Date: Fri, 12 Feb 2010 16:04:30 +
Subject: Re: Event Handler Not Firing
From: breen...@gmail.com
To: ozmoss@ozmoss.com

Thank you for replying.

Tried those 3 different tools to confirm that the Event Handler is registered 
on the Document Library and I can see it with all 3.
With SPM 2007 I can see that it is registered to fire with both ItemAdded and 
ItemAdding ... yet it does not fire at all.

Tried rebuilding/retracting/redeploying the solution ... no joy.

Turned off/on Check In/Check Out.

Tried Uploading using the Upload file option.
Tried Saving from Word to the Doc Lib ... nothing seems to trigger it.

The document library is in a Document Center site template.  Does that make any 
difference?

I had Approval turned on for new Items but I have tried turning that off and on 
and testing whether the Event Handler would fire.

Tried using a different Content Type and tried using the standard Document 
content type.  Still it does not fire.

When should ItemAdding fire?  (I thought it fired if any new item is created 
and it should fire Synchronously before the created item.  Then ItemAdded fires 
after Asychronously).

  
_
Do you have a story that started on Hotmail? Tell us now
http://clk.atdmt.com/UKM/go/195013117/direct/01/___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Source Control for VS Projects

2010-01-19 Thread Nigel Witherdin

SVN with Tortoise and Ankh all the way - only had heartache and pain with boths 
VSS and TFS

 

Cheers,

Nige
 


From: dan...@danielbrown.id.au
To: ozmoss@ozmoss.com
Date: Tue, 19 Jan 2010 23:03:10 +1030
Subject: RE: Source Control for VS Projects





Team Foundation Server is nice, but very big and heavy if it’s a small dev team.
 
A great alternative which I’ve had some success with is SVN.
 
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Power, Karl
Sent: Tuesday, 19 January 2010 10:48 PM
To: ozmoss@ozmoss.com
Subject: Source Control for VS Projects
 
Hi folks,
 
I was wondering what tools are being used by some of you guys for managing 
source code?  We were looking at deploying SourceSafe but we have come across 
some pretty scathing reviews.  Any information would be greatly appreciated,
 
Rgds,
 
KP
 
  
Karl Power
Glanbia Business Services
Glanbia Plc
Tel:  +353 (0) 56 883 6016
Email:  kpo...@glanbia.ie
 
__
The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material. Any 
review, retransmission, dissemination or other use of, or taking of any action 
in reliance upon, this information by persons or entities other than the 
intended recipient is prohibited. 
Any views and opinions expressed are those of the individual author/sender and 
are not necessarily shared or endorsed by Glanbia plc or any associated or 
related company.
This message has been scanned for all known viruses.
If you received this in error, please contact the sender and delete the 
material from any computer.

Glanbia plc is registered in Ireland as a public limited company.
Registered Office: Glanbia House, Kilkenny.
Company Number: 129933
==
  
_
Tell us your greatest, weirdest and funniest Hotmail stories
http://clk.atdmt.com/UKM/go/195013117/direct/01/___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Custom Site Def not deploying .aspx when used on diff Site Collection

2009-11-30 Thread Nigel Witherdin

Hi,

 

Just to make sure I described the situation properly:

 

Custom Site Definitions I have created by engineering a site, then using the 
SSG to export them to a VSS project work fine when used on the web application 
where the site they are based off was created, but on other web apps, they 
create ok, but the pages that should be deployed with them (eg default.aspx - 
exist on the filesystem, and are referenced in the onet.xml) do not get created.

 

1) Currently running on WSSv3.0 SP1

 

2) Next step to try is to build one up from hand - just trying to avoid this if 
possible.  Have looked over the ONET.XML (shudder) and the pages themselves but 
cant really see anythign wrong with them. Also considering adding a feature to 
the sites that simply adds the pages to the site if they dont already exist 
there - but think this is ugly as it will mean the pages bcome ghosted, when I 
really want it to live on the filesystem as much as possible.

 

3) Same thing happens if I create a template from one of the sites, and then 
export that to .stp, import it on another web app - site creates ok, but the 
pages aren't there.

 

Rgds,

 

Nige
 


From: nemt...@msn.com
To: ozmoss@ozmoss.com
Subject: RE: Custom Site Def not deploying .aspx when used on diff Site 
Collection
Date: Sat, 28 Nov 2009 15:03:03 +1100







Hello,
 
1)  what’s the latest service pack  Cumulative update do u have installed?!
2)  Did you try to copy existing one and modify it instead of reverse 
engineering?
3)  Any issues if you save it as template and create new sites from 
template?
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Nigel Witherdin
Sent: Saturday, 28 November 2009 3:08 AM
To: ozmoss@ozmoss.com
Subject: Custom Site Def not deploying .aspx when used on diff Site Collection
 
Hi All, 

Am experiencing an issue with some of my custom site definitions when I try 
using them on a different site collection to the one they were originally 
created on - they complete succesfully, but none of the aspx pages that should 
be at the root of the site are there (eg. default.aspx). 

I created the custom def's by creating the site (lists, pages, features, etc.) 
manually, then using the SP Solution Generator to create a site def as a VS 
proj, then finally moving the necessary files from the generated VS proj into 
my overall VS proj. 

Strangely, the custom def's work fine on the site coll where I originally 
manually created the sites, but not on any others. 

I have attached a copy of one of the problematic onet.xml's
 
Can anyone please shed any light on what is going on here for me??? 

Many thanks, 

nige 



New! Receive and respond to mail from other email accounts from within Hotmail 
Find out how.  
_
Have more than one Hotmail account? Link them together to easily access both
 http://clk.atdmt.com/UKM/go/186394591/direct/01/___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Custom Site Def not deploying .aspx when used on diff Site Collection

2009-11-30 Thread Nigel Witherdin

Nope, not publishing pages (am using WSS)

 

These are subsites that are being created, underneath the root site of a web 
application.


Am starting to think there is nothing for it but coding up the def from hand, 
have a fairly good handle on the onet.xml now i think, so guess its not going 
to be too bad - as long as the sites work as expected at the end of it!

 

If anyone can suggest anything, or knows a good way of constructing the sites 
(other then by copying an existing def and modifying to suit needs - this is 
what I am planning on doing) please let me know.  In fact, does anyone know if 
creating a site template (stp) then opening it up as a cab, and using the files 
in there as a def (ie living on the filesystem) is an appropriate strategy??

 

Cheers,

 

Nigel


From: paul.no...@ceosyd.catholic.edu.au
To: ozmoss@ozmoss.com
Date: Tue, 1 Dec 2009 08:45:36 +1100
Subject: RE: Custom Site Def not deploying .aspx when used on diff Site 
Collection







Are these publishing pages? And are you using the template to create subwebs or 
root sites?
 

Regards,

Paul
Online Developer, ICT
CEO Sydney
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Nigel Witherdin
Sent: Tuesday, 1 December 2009 12:33 AM
To: OzMoss
Subject: RE: Custom Site Def not deploying .aspx when used on diff Site 
Collection
 
Hi,
 
Just to make sure I described the situation properly:
 
Custom Site Definitions I have created by engineering a site, then using the 
SSG to export them to a VSS project work fine when used on the web application 
where the site they are based off was created, but on other web apps, they 
create ok, but the pages that should be deployed with them (eg default.aspx - 
exist on the filesystem, and are referenced in the onet.xml) do not get created.
 
1) Currently running on WSSv3.0 SP1
 
2) Next step to try is to build one up from hand - just trying to avoid this if 
possible.  Have looked over the ONET.XML (shudder) and the pages themselves but 
cant really see anythign wrong with them. Also considering adding a feature to 
the sites that simply adds the pages to the site if they dont already exist 
there - but think this is ugly as it will mean the pages bcome ghosted, when I 
really want it to live on the filesystem as much as possible.
 
3) Same thing happens if I create a template from one of the sites, and then 
export that to .stp, import it on another web app - site creates ok, but the 
pages aren't there.
 
Rgds,
 
Nige
 



From: nemt...@msn.com
To: ozmoss@ozmoss.com
Subject: RE: Custom Site Def not deploying .aspx when used on diff Site 
Collection
Date: Sat, 28 Nov 2009 15:03:03 +1100

Hello,
 
1)  what’s the latest service pack  Cumulative update do u have installed?!
2)  Did you try to copy existing one and modify it instead of reverse 
engineering?
3)  Any issues if you save it as template and create new sites from 
template?
 


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Nigel Witherdin
Sent: Saturday, 28 November 2009 3:08 AM
To: ozmoss@ozmoss.com
Subject: Custom Site Def not deploying .aspx when used on diff Site Collection
 
Hi All, 

Am experiencing an issue with some of my custom site definitions when I try 
using them on a different site collection to the one they were originally 
created on - they complete succesfully, but none of the aspx pages that should 
be at the root of the site are there (eg. default.aspx). 

I created the custom def's by creating the site (lists, pages, features, etc.) 
manually, then using the SP Solution Generator to create a site def as a VS 
proj, then finally moving the necessary files from the generated VS proj into 
my overall VS proj. 

Strangely, the custom def's work fine on the site coll where I originally 
manually created the sites, but not on any others. 

I have attached a copy of one of the problematic onet.xml's
 
Can anyone please shed any light on what is going on here for me??? 

Many thanks, 

nige 



New! Receive and respond to mail from other email accounts from within Hotmail 
Find out how.
 



Add other email accounts to Hotmail in 3 easy steps. Find out how.  
  
_
Got more than one Hotmail account? Save time by linking them together
 http://clk.atdmt.com/UKM/go/186394591/direct/01/___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


  1   2   >