So, could I just have all my functionality in the custom timer job instead of a workflow?
Well, you could do that, I think. There is nothing coming in my head that won't work from a timer job (on the other hand I just started with SharePoint and I don't know everything).
Building a workflow is easier to build and of cause you can set it up for multiple WSCs.
I would create the Workflow and start it with the Timer Job but that's only my opinion.
So, I was able to do everything I wanted within the custom timer, which has opened up a whole bunch of other functionality that I can put into my site. I'll leave the workflows to the business processes.
Well, I've got a list with contactpersons depending on a contenttype which extends the Contact-contenttype. I've got another list with customes (firms) which extends the basetype element. Both lists are generated via xml in a VisualStudio-Project, because it will be used in multiple websitecollections.
Now I want to link the "company" field in the contactperson-list with the customer-list and lookup the values already established there.
I'm able to generate a new field for example "My Company" and lookup the values in the customer-list, but when I try to set the already existing company-field as a lookup-field linked with the customer list, I get an error. The same when I leave xml and programm it in C#.
Is it possible to do what I want? Perhaps not, because it's a SharePoint-Field and it's not designed to be a loopup-field.
So do I have to generate a "new" company field, with a name like "My lookedup company-field from the customed-list, as it's not possible or I'm to stupid to link the existing customer-field"? Well that would be a solution but the name is sooooo long.
Uh, I've found the answer. When I use the webbrowser to do changes on the list I can't change the "Company"-field to a lookup-field, too. It's not envisaged to do that. So the answer is that I have to create a new field and (for example) hide the existing one.
With a little contemplation I would have sift it out before writing the question and perhaps I wouldn't have spend four hours on testing. But on the other side, perhaps someone will have the same question so I didn't deleted it and just answered it on myself.
(I give it a five )
I've got a c# project for SharePoint, where two contenttypes, two lists and a documentlibrary are defined and linked up with xml. All works fine. But now I want to use a InfoPath-document I already have designed for the documentlibrary. Of course I can use Infopath to link it and upload it, but it would be interesting to install it together with the feature I designed in VisualStudio, because it can be used in different websitecollections.
Now I'm totally lost. Can I link the InfoPath-document to the newly created documentlibrary and the two lists, where some values are lookedup? Has anybody an idea how to do that or a link for me? I already searched in google, but I just found how to upload a document with visualstudio and not how to link it.
I created created custom content type called "Voucher" which contains two columns.
I created one List Using "Document Library".
Library Settings->Genaral settings-> Allow management of content types->Yes.
But I am unable to Select Custom Content Type by Add from existing site content types..
You can only use those contenttypes that inherits from a base-contenttype avaibable in documentlibraries. For example you can create a "Voucher" using the document-contenttype and best putting it in the same group.
Then you can use it.
The question is: why can't you use another type. That's because other types don't have the file-field declared by SharePoint. That field is important cause a document library has documents and documents are stored in the file-field. A list that doesn't inherit it from such a content-type doesn't have the right field (with the right id). So it can't be used.
Normally it should be visible in "All Groups". So the question is, if the site is in the same WebSite where the content type has been defined. If it's not, you should copy it there or (a way I didn't tried yet) use the content-type-hub.
Your question is not fully clear to me but it appears like you added a new column to a document library but might have missed to include the column in the default view. Anyway, you can include that column in view by modifying the view.
There is no foolish question, there is no final answer...
I have been working on a SharePoint 2010 solution on a server using Visual Studio. Unfortunately the server decided to die on me. Fortunately I have the solution backed up using source control and had another server ready to go. After changing the necessary site url property on the project in visual studio, I used the deploy option in the build menu and it seemed everything was successful.
However, none of the features show in the site collection features, site features or farm features. The folders and files exist in the features under the 14 hive and the assembly is in the gac.
Having no luck with this I tried packaging the wsp, uploading and activating it manually (something ive not done before). This throws up an immediate error with a correlation id allowing me to find something in the logs.
Some of the logs seemed to be complaining because of farm-scoped features. As I have never done a manual deploy before I dont know if I have to do the differently scoped features separately (visual studio used to do it all at the same time for me).
The only other error I can see is "Missing one or more of the following attributes from the root node in solution Bistech___Provision_Sites.wsp: assembly '', type ''"
The solution is not a sandboxed solution and I have all the permissions etc i need (farm admin, site collection admin...)
I hope someone can help because I am out of my depth on this one!!
I had created two SP List.One for storing questions and one for storing answers(which option answered).I was able to store the option which answered by a user.But I want to create a graohical result based on the ansewrs(which option answered).When I click on a link buttn it shows the graphical result.Can u tell me the code for this?
I want to create polls.I had created two SP list.One for storing question and options one for storing ans(which option had answered).I was able to store the result into the List.How can I create the grpahical result based on the giving answers? when ever I click on a link button Show Results ,it should show the graphical result
In MOOS 2007 aspx pages works only on detach from page layout otherwise it's throws error:"The file or folder name contains characters that are not permitted. Please use a different name." And if i click any Existing pages from the Web Application Sub Sites that also will throw the above error.
Last Visit: 13-Nov-19 4:41 Last Update: 13-Nov-19 4:41