Should I try Visual Studio?
-
SharePoint filter: Hitting limits with SharePoint Designer; Should I dive into Visual Studio? I'm using SharePoint Designer to make some workflows that trade information between lists, auto-populate lists with information from other lists based on parameters, etc. I keep hitting limits on SP Designer--especially when I try to do stuff like group logical conditions in a step. I also want to use workflows for multiple lists (not possible in SP Designer). When I research solutions, I keep seeing "use Visual Studio". I know I could probably think of different ways to do things and avoid the limits with SP Designer, but I'm kinda wondering if it would be easier if I just bit the bullet and started doing real programming. Not a programmer, but I think I know enough to be dangerous? I'm lusting some of the workflows I could build with Visual Studio. I don't want to ask my work to pay for Visual Studio, and then I crack it open and it's WAY over my head. When I watch tutorials about VS, I think I could learn it and it looks like fun. I'm pretty good at learning on my own. tech level--data manager, web experience, lots of SharePoint/Infopath "power user" stuffs, know some PHP, SQL, Oracle, blah blah, etc etc, not pertinent to this, but I wanted to illustrate my knowledge level. Not fluent in any programming language, I have the basic concepts and I want to level up. I think since I'm actually trying to achieve a means, I could learn a language more easily. Am I going the right direction? Is Visual Studio the right tool? Any advice or resources? (currently on SP 2007, upgrading to 2010 in the next year)
-
Answer:
There will trial versions of Visual Studio Professional (and above) that you can use to try it out. I will however caution you that dropping into Visual Studio to create workflows will probably be a big leap for you. There is a certain amount of visual designing of workflows in VS but as soon as you have to write actual code you'll have to understand the programming language, the SharePoint API and the Windows Workflow Foundations API (the last of which is probably your biggest stumbling block). You will want to find yourself a good book that you like that will walk you through learning this stuff. You are going to want to get yourself a virtual machine that has SharePoint + Visual Studio running in it to make your development be as smooth as possible (MS has trial VM images of these as well). This is essential as doing this work in SP2007 means installing code on the server and that isn't likely something your administrator is going to want you to do while you experiment and learn. As you can imagine this means you need a pretty beefy PC for development or access to a machine somewhere that can host your VM. Lastly, you might consider things like http://jquery.com/ and its extensions like http://spservices.codeplex.com/ which help you access the SharePoint web services from the client side. This would let you build your own interfaces that mash up data from different list as well as do things like push changes to many lists,etc. Good luck.
hotelechozulu at Ask.Metafilter.Com Visit the source
Other answers
SP2007 and SP2010 are night and day different in development, so be warned. If you're going to go the Visual Studio route, make sure you know C# and understand XML, because that's what you're going to be doing a lot of. I'd recommend once you're comfortable with them, get some books, andhttp://channel9.msdn.com/Blogs/pdc2008/BB13
blue_beetle
I don't know how to do exactly what you are trying to do, but it is possible to write c# code directly within spd. You might want to look into that to start.
callmejay
Microsoft offers free trial editions of VS you can download and use for non-commercial purposes. While this wouldn't probably help for the actual work you need to do, the versions they offer are more than full-featured enough to build full applications, etc. and would allow you to play around and learn quite a bit so that you could decide if you wanted to pursue this. http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express
BigHeartedGuy
Yeah, you can mess around with VS 2010 Express to get a feel for Visual Studio but you will need Visual Studio Professional for the Sharepoint Extensions. Don't let VS scare you. I have been using it for 7 or 8 years on a daily basis and I probably don't use 90% of it.
Ad hominem
i've gotten away with not using vb, but doing work-arounds when dealing with logic issues (breaking up complex logic statements to smaller ones) often i use hidden variables to store info to break up the statements... but it can get messy. i have found that while you can't do some stuff from designer's gui's, you can meddle in the xml and asp pages to get the workflows to do what you want...
fozzie33
fozzie33, I thought of that idea as I walked out of the building--create hidden variables in a previous step to lump statuses together and condense my logic statements. I've been using a lot of these already. It's good to read that someone else has the same issues and hit a similar solution. I was just worried about having too many bloated workflows running on a list. mmascolino, I had seen the jquery stuff mentioned on some SP blogs, which I'm already familiar with in other applications, so I will try that path. I was already wondering what permissions I would need to actually deploy any workflows I could make in VS--part of the reason why I came here before talking to my SP Admin--didn't want to scare the crap out of him.
hotelechozulu
alot of the data i deal with is sensitive, so i also ensure at the end i clear out the hidden variables... also, make sure to put plenty of notes in the workflow, so you know where it breaks when it invariably does break.
fozzie33
Related Q & A:
- How can you change the line color in Visual Studio?Best solution by Stack Overflow
- How to Create Visual Studio 2013 Extension?Best solution by Stack Overflow
- Why doesn't ClickOnce in Visual Studio deploy content files from dependent assemblies?Best solution by Stack Overflow
- Is visual studio a good IDE for Python?Best solution by Stack Overflow
- In Visual Studio 2012 or 2013, how can I register a DLL file on Windows 7 64-bit computer using a Custom Action command?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.