Whenever I try to edit the shared properties of my custom web part in sharepoint 2007, I get the following error:
Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOw...
Hello,
I've been looking around for quite some time, and I'm not entirely sure how to accomplish this in Sharepoint 2007.
I'm trying to create a web part view that takes the entries of a particular data source, groups the entries by the user, and then sums up a calculated column from said source.
I've found similar tutorials online ab...
I would like to have the "Look In" of the Asset Picker to default to the Site Collection Images for a given RichImageField.
I tried using the DefaultAssetImageLocation attribute, but it doesn't seem to work properly. I found that unanswered post on msdn: http://social.technet.microsoft.com/Forums/en/sharepoint2010customization/thread/ba...
I have duplicate list and I would like that to have rolled up to master list. Any possibilities without using code?
...
Hello everyone,
I am using VSTS 2008 + C# + .Net 3.5 + ASP.Net + SharePoint Server Enterprise 2007 on IIS 7.0 with Windows Server 2008 Enterprise.
I am currently using queryex web serivces API to get matched query results for a specific query. My question is, how to get the number of matched query results without returning the whole qu...
Hi all,
I would like to create a SharePoint 2007 survey with an introduction and background to the survey; confidentiality note at the beginning of the survey. I would also like to group questions into sections such as Personal Details (for questions 1 - 6), Training Needs (for questions 7 - 10), Challenges (for questions 11 - 25), etc....
Hey...
So I'm developing a custom timer job for sharepoint using the SPJobDefinition.
This job is activated through a feature receiver.
As I understand it the SPJobDefinition runs on the web-application.
if the feature scope is site or web based, is there any way code-wise to determine which site the feature is activated through in t...
Is there any way I can add a custom function to WSS 3.0 that can be used in calculated fields?
For example, I want to add a function that URL Encodes strings, so that the users can create columns with the URLs based on the other fields something like this:
"http://www.test.com?fname="&URLENCODE([FirstName])&"&lname="&U...
Hi, I'm trying to implement the requiredfieldvalidator asp.net control in sharepoint designer. I have dragged the control to the page and associated the control with the field in the tag properties editor by going to the controltovalidate property. I save and test the page.
The field is blank yet does not show the validation alert. ...
Since this isn't available OOB, I tried sorting the discussion list using Sharepoint Designer, converting "Replies" to number using XPath..but it sorts it like a string (e.g., 1, 10, 11, 2, 3, 4, 5, and so on...).
How do sort by number of replies properly?
...
In visual studio 2008 is have any plugines or extensions (executable file) for the sharepoint 2010
...
I am beginner of unit testing so I want to ask what kind of function/method we can use as unit testing object.
I want unit test sharepoint code which written on C#.
By the way, I don't ask about unit testing framework. I want to know that what kind of function I can use as unit test object.
Ex:
// function that return a value.
...
I've created a BDC for Sharepoint 2007 to integrate data from a third party database. This all works fine but now I want to filter the search result depending on the current user.
Anyone has a idea how this can be accomplished?
...
Hey guys.
So I created a custom feature with a receiver. Everything works fine and dandy - under a windows authenticated sharepoint application.
The same web application has been extended to include a forms based authenticated site.
Activating the feature on this site gives me a 403 forbidden error. Can anyone help me out here?
It's ...
I am trying to upgrade a site from MOSS 2007 to SP 2010, but there is a document library which uses the CreateWebPage.aspx to create the pages in MOSS 2007. However, when I try to add an item to the library in 2010 version, I get a NullReferenceException, I opened the code of CreateWebPage.aspx in _layouts folder on the 2007 machine and ...
Within my SharePoint list I use a field to hold a url and text, this is not a custom field, but its a standard SharePoint hyperlink field, SPFieldUrl type. When I set the SpFieldUrl Description and Url properties and save it to my list, on rare occations my data is never saved. How does this happen? Below is a sample of my code.
Populat...
Hi all,
I have a sharepoint list with several columns, one of which is a text box that is set to accept numbers. I would like to auto populate a drop down box based on the number entered into that text box.
I am not very code-savvy, and so far all the answers I have found involve getting a number/value from a drop down box to insert i...
Hi,
I need to set the page title (Page Title) of a SharePoint page in code. I have already tested
this.Page.Title = "My Page Title";
But this does not change the title when the page loads. Can anyone offer any advise on how to do this?
Thanks, MagicAndi
...
I have a simple workflow that creates a User and Date/Time stamp when the user checks complete = Yes. Everything works fine when the columns are unprotected, but when the columns are Hidden or Read-only, the Date/Time from the previous step disappears. I've tried Hiding the fields by managing site content, and by using SharePoint Boost...
I am not a Sharepoint programmer, I'll admit up front. But I'm a user, and I know if I find a solution online it'll be a lot faster than waiting for my I/S team to find it....
I am building a wiki with a main page and one level deep of subsidiary pages. (I don't want to debate if it should be a wiki or not... I'm looking for shared acce...