I would be doing this from a custom workflow activity.
Does anyone know if this has been done before? Any suggestions on where to start?
I am an admin on both farms.
I'd suggest you look into using the Copy web service provided by SharePoint
/_vti_bin/copy.asmx
Use web client and copy.asmx check this link might help http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/4556873e-e2e0-4b26-99f2-70f0b0e50c2c
Related
I want to change the trust level of a Sharepoint Web Application without having to change the web.config manually (i.e. WSS_Minimum, WSS_Custom, etc). Making manual changes to the web.config tag is highly undesirable in anything other than a one-server farm. Is there any way via stsadm or Central Admin to change this?
Third party tools or a Powershell script would be acceptable in that they would make clear that there's no native way to accomplish this.
Thanks in advance
See my answer here. There's an object model call to propagate web config modifications to every server in a farm as well as a freely available Central Admin plugin that wraps the OM in an easier to use interface.
There is a class designed for this called SPWebConfigModification that will propagate your changes to all member servers of the farm.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spwebconfigmodification.aspx
-Oisin
SPWebConfigModifications are a pain.. but this stsadm extension will make it a lot easier.
Create a CAS policy?
I'm developing sharepoint workflow inside which I call custom web service. Where can I put the configuration file (section), so I can change the url in the future for the web service? With the default one is working fine.
Thanks
Please refer to this question Access config file from a VS Sharepoint Workflow which has been already answered
You can also use an association form for your workflow. That has worked pretty well for me.
i am new to sharepoint. i have a sharepoint application. i have to create a package setup (install shield kind of thing) that can deploy the sharepoint solution on the client machine. in my application we have .dll,.ascx,.xml etc files available. i think i have to deploy the dlls,ascx, xml files.
Can any body help me on this? how shloud i go forward and is there any tool available which i can use for this?
is it possible with VS2005? VS2005 provides a setup and deploy feature. can we use that for sharepoint? if yes can any body help me how to do it?
thanks in advance.
Try and have a look at http://www.codeplex.com/sharepointinstaller. It is a free tool offering a user friendly install/upgrade/uninstall of SharePoint solutions.
The first thing you need to understand is Solution Packages. They are the unit of deployment in SharePoint.
Creating a Solution Package in Windows SharePoint Services 3.0
However, Solution Packages are meant to be deployed by SharePoint Administrators. They don't have a user friendly installation process.
If you want something more like an installer, you can look at the SharePoint Solution Installer CodePlex project.
Can someone please tell me how to do the following in SharePoint (WSS 3.0):
Have a user log in (user name and password) on a page and then if correct display the home page of a WSS 3.0 site?
I think it's called forms based authentication.
Here's a video about using Forms Auth. with WSS3 and here are some samples. Basically, you use the login.aspx page in _layouts to collect credentials and cache them. You have to modify web.config to use the membership provider. More on that here.
This is one of the best article on FBA
Save yourself a lot of time and checkout http://sharepointsolutions.com/SharePoint-Add-ons/Products/Pages/ExtranetCollaborationManager.aspx
I have done it several ways but this has made life easier when configuring environments.
As a special case of Forms Based AuthN, in case you don't have to own the DB containing your users, you can rely on Live ID to authenticate users to your site. Haven't tried this, but may help you.
I just believe some JavaScript is enough to do that.Maybe I am Wrong!
Does anyone have any idea how to deploy an InfoPath Form (2007) as a Site ContentType programatically (script or object model)? I do not want the form published to Central Admin and FormServerTemplates, but rather a Forms Library created by a Web scoped feature. The intention is to be able to publish the form via script or code in order to deploy and test the form in dev/stage/prod environments.
Well, I had to cut bait. Seems the two links provided a workable solution for now.
Sahil Malik's articel here provided enough information to deploy the form and the data connection was a simple matter of adding a module to the elements file for the feature. Some tips for this can be found here
Howerver, it seems there is no way to deploy a form to anything other than a Site Feature. After diving into the assembly Sahil mentions with Reflector, there is a check in the code to ensure the Feature is Site scoped. Arrgghh. If anyone can explain why this is, and perhaps an alternative, I would greatly appreciate it! Hope this helps someone else.