Tag Info

Hot answers tagged

5

You should try $libraries = $web.lists | Where-Object { $_.BaseType -Eq "DocumentLibrary" } $libraries | Format-Table title,id -AutoSize $lists = $web.lists | Where-Object { $_.BaseType -Eq "GenericList" } $lists | Format-Table title,id -AutoSize The key here, is the SPList.BaseType property. As decribed in the SPBaseType Enumeration, there are other ...


5

You can do it in InfoPath, cascading drop downs. But since you said you need to do it in jQuery, there is a very useful library, called SPServices, available to assist. Marc has created a function in the library to do cascading drop downs, which is exactly what you want. Look over that information and see if it's helpful.


4

I would consider looking at Web Templates - see Anders Rask's slide deck & code from #SPSUK http://sites.wizdim.com/andersrask/sharepoint-2010/slide-decks-and-demo-code-from-my-sharepoint-saturday-uk-session/ In essence, save as a site template, import to Visual Studio and package up with the appropriate elements (cutting out elements you don't really ...


3

To rename the SharePoint_AdminContent_[some guid] database the process is the same as under SharePoint 2007. Run as a user with the appropriate privileges to make these changes. stsadm.exe -o deletecontentdb -url http://[ca server]:[ca port] -databasename SharePoint_AdminContent_[some guid] -databaseserver [Your DB Server] Rename the database using a tool ...


3

Did you check the system requirements which are listed in the readme.txt delivered in the spg? I've got the same error. It was fixed by installing: Windows SharePoint Services 3.0: Software Development Kit (SDK) Also check the version of the Silverlight SDK. Should be 2 and not 3 ! Kind regards, Andre


3

Some things from my experiences: Don't use hard coded values in workflow notifications. Document all changes you make to the template and where it's been deployed so you know what to apply, where. Enhancements and bug fixes are going to be a management concern going forward as once the site is provisioned from the template, there is no inheritance. If ...


2

If you really want to use Site Templates instead of Web Templates (a perfectly viable solution in certain specific scenarios) there is a guide here that tells you what gets packaged and what doesnt (glancing at that list my guess is it is not complete, custom fields for example i'm pretty sure is not supported!) Included in user solution WSP ...


2

Another reason for using the SPContext.GetContext is to set the context of a control to one that is different than the context of the current page. For example, you can set the ItemFieldIterator.ItemContext proprty to get information from a list on different SPWeb object. myItemFieldIterator.ItemContext = SPContext.GetContext(Context, 0, ListId, oSPWeb);


2

PostSharp won't work properly if the assembly being processed has been installed in GAC. It needs to be uninstalled before compilation.


1

About the disk capacity - you can expand your disk later, by following a procedure described on the VMware support site. Anyway, if space isn't a problem I would just go with an initial capacity of 80-100GB. The point about the disk isn't the capacity, but if you want to pre-allocate the space or grow dynamically. As you can imagine dynamic grow has a little ...


1

You can do all of that with out of the box functionality. Either by creating a calendar object, or by creating a custom list with a calendar view. With the custom list you can have the default view be a list and create a standard SharePoint form for the information, then create a calendar view to show elsewhere on the site for users to display the ...


1

SPContext.GetContext tends to be used if there is no current context (console app? timer job? FeatureUninstalling?), whereby in the case where you do, you would use the obviously named SPContext.Current.


1

You will want to use a Web Template for the base site, but then you will want to consider additional features to cover some of the other dependencies and customizations. The secondary features can provide a great way to maintain the customizations over time and also does a better job of ensuring that any dependencies are already in place. Those secondary ...


1

Since you don't want to perform extra requests to get the values, it means that the relationship between the two fields must be present somewhere in the form page. The way to do this would be to store this relationship in a SharePoint list: |Title | Choice | | A1 | A | | B1 | B | etc. Add this list as a Web Part, hidden below your form. ...


1

I know this is an old post, but I was having this exact problem with a custom sandbox web part I am developing and it was a real pain to solve. I believe this is caused when there is a static reference to a SPList or SPListItem object. A simplified version of the class that was causing this error: class SomeClass { private SPList List; private ...


1

If you are trying to write to ULS, can you try this code (preferably SPRunWithElevatedPrivileges) - http://www.chakkaradeep.com/post/SharePoint-2010-Log-to-ULS-from-code.aspx


1

Microsoft offers a "Second Shot" retest option for certification exams. Specifically, if you pay around 15% more for the first exam, you get a voucher that will let you retake it again at a later date if you do not pass the first try. Also, if you are working for a Microsoft Partner then your company has access to the Partner Learning Center which ...


1

Sign up for a cloud trial instance of SharePoint. Then, watch the Lynda guide. http://www.lynda.com/SharePoint-2010-tutorials/essential-training/65720-2.html This will teach you what a working instance of SharePoint is for... yes that does take a couple of days or so of full-time learning. It's important to know this before you try to set it up, otherwise ...


1

The exam hasn't been out that long in comparison to other Microsoft certs (less than one year since the Beta exams came out). Best thing to do is to read this page: http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-667#tab2 Then look up the Skills Measured on TechNet: http://technet.microsoft.com/en-us/sharepoint/default


1

I would say to start with the tutorials from microsoft. Really focus on 1. Creating Site Columns 2. Creating Content Types 3. Creating Custom Lists Those are the basics that will help you use Sharepoint. Once you think you are confident enough you should start learning the helpers (e.g. SPUtility ) and the Sharepoint Object Model. For instance a Site ...



Only top voted, non community-wiki answers of a minimum length are eligible