Way To Create Sites And WebParts - How To Automate Site Page Creation Process
Aug 5, 2010
We are working on a SharePoint Site where we have created lot of webparts. Now so far we have been creating SitePages for these webparts manually and adding webparts to those. It takes lot of time in any environment and its difficult to move from environment to environment.What is the ideal way of doing it? How can we automate sitePage creation process and hopefully add webpart to it by some scripts?
View 1 Replies
Similar Messages:
Nov 15, 2010
we want all these requests to point back to www.site.com and not have to physically create the files and directories for every type of site... so if I just create a virtual directory (www.site.com/india) and point it to www.site.com... then I figure I can look at the URL and set some parameters/text/images accordingly to fill out the template
View 4 Replies
Jan 14, 2011
I'm updating an old process that already exists, which works as follows:
The user submits a form which runs the following asp (simplified, names changed):
<%
set rb = Server.CreateObject("RecordBuilder.SomeObject")
rb.Calculate()
rb.StartProcess()
%>
The RecordBuilder.SomeObject was an old VB6 DLL, I don't have VB6, so I converted it to VB.NeT 4.0
The call to Calculate() works as expected, the call to StartProcess() fails.
StartProcess() is the following:
Public Function StartProcess()
Try
strProcess = "Starting process"
Dim proc = New Process()
proc.StartInfo.RedirectStandardOutput = True
proc.StartInfo.UseShellExecute = False
proc.StartInfo.CreateNoWindow = True
proc.StartInfo.FileName = "d:AppRecordProcessor.exe"
Dim procHandle = proc.Start()
strProcess = "Started process"
Catch ex As Exception
Err.Raise(vbObjectError + 9999, "RecordBuilder.SomeObject", strProcess & " failed: " & ex.Message & "<hr />Stack Trace:<br />" & ex.StackTrace)
End Try
End Function
This fails with the call to proc.Start(), however if I copy the test ASP to a .vbs file it will work as expected.
I have changed the permissions on d:AppRecordProcessor.exe to grant execute permission to the group Everyone.
View 1 Replies
Dec 6, 2010
[Code]....
after successful creation of 3 users on my web site now cannot create users
View 9 Replies
Nov 16, 2010
I created a resiter.aspx page and active.aspx page. a user that register recieve authenticetion email and only after verifying the using a link verification (redirevt to active.aspx page) only then the user authenticated.
This pages are tested and working!
How can I use this page for several solutions? of course I can copy/past this pages. but then I will have to maintain the same code twice....I am looking for the best way to achieve
View 6 Replies
Apr 23, 2010
I am working with an asp.net 2.0 site (call it site 1) which has an iframe in it which loads up another site (site2) which is also an asp.net site which is developed by our team. When you log onto site 1 then behind the scenes site 2 is also logged in so that when you click the iframe tab then this displays site 2 with the user logged in (to prevent the user from having to log in twice).The problem i have is that when a user logs out of site 1 then we call some cleanup methods to perform FormsAuthentication.SignOut and clean session variables etc but at the moment no cleanup is called when the user on site 2. So the issue is that if the user opens up Site 2 from within a browser then website 2 opens with the user still logged in which is undesired. Can anyone give me some guidance as to the best approach for this?? One possible approach i though of was just that on click of logout button i could do a call to a custom page on Site 2 which would do the logout. Code below
[code]....
View 1 Replies
Nov 20, 2010
I want to create rounded corner webparts in my webpage using .
View 3 Replies
Feb 2, 2011
I have few ASPX pages and I am planning to have some webparts on these pages.
a) Looking for custom code to create ASP.NET webpart (code samples, webcasts or samples would be great)
b) Once I have webpart created, I would like to know how I can refernce them in ASPX pages.
View 1 Replies
Jun 16, 2010
can i create webparts controls for Sharepoint 2007 in Delphi Prism? If yes, how?
View 1 Replies
May 31, 2010
I want to create several websites on my domain, and I am wondering how to go about this in MVC? Should I put them all within one project, and create separate folders in each Views, Models and Controllers folder for each site, or would it be better to create a separate project for each site, although I'm not sure how I would integrate
View 5 Replies
Feb 16, 2011
Im working on a project where i will need to create sites programatically when a user completes a sign up process.
so basically if my main site is: www.mysite.com i will need to create subsites in the format of: www.username.mysite.com
where username is an option entered by the user in the signup process to designate a unique identifier for their site.
im working with VB.NET language.
View 5 Replies
Mar 29, 2010
My understanding of Factory Method Pattern is (Correct me if i am wrong) Factory Method Pattern "Factory Method allow the client to delegates the product creation (Instance Creation) to the subclass". There are two situation in which we can go for creating Factory Method pattern.
(i) When the client is restricted to the product (Instance) creation.
(ii) There are multiple products available.But a decision to be made which product instance need to be returned. If you want to create Abstract Method pattern
You need to have abstract product Concrete Product Factory Method to return the appropriate product.
public enum ORMChoice
{
L2SQL,
EFM,
LS,
Sonic
}
//Abstract Product
public interface IProduct
{
void ProductTaken();
}
//Concrete Product
public class LinqtoSql : IProduct
{
public void ProductTaken()
{
Console.WriteLine("OR Mapping Taken:LinqtoSql");
}
}
//concrete product
public class Subsonic : IProduct
{
public void ProductTaken()
{
Console.WriteLine("OR Mapping Taken:Subsonic");
}
}
//concrete product
public class EntityFramework : IProduct
{
public void ProductTaken()
{
Console.WriteLine("OR Mapping Taken:EntityFramework");
}
}
//concrete product
public class LightSpeed : IProduct
{
public void ProductTaken()
{
Console.WriteLine("OR Mapping Taken :LightSpeed");
}
}
public class Creator
{
//Factory Method
public IProduct ReturnORTool(ORMChoice choice)
{
switch (choice)
{
case ORMChoice.EFM:return new EntityFramework();
break;
case ORMChoice.L2SQL:return new LinqtoSql();
break;
case ORMChoice.LS:return new LightSpeed();
break;
case ORMChoice.Sonic:return new Subsonic();
break;
default: return null;
}
}
}
**Client**
Button_Click()
{
Creator c = new Creator();
IProduct p = c.ReturnORTool(ORMChoice.L2SQL);
p.ProductTaken();
}
Is my understanding of Factory Method is correct?
View 3 Replies
Jan 11, 2010
I am have made a website which entertains its users(authenticated) to send sms. Website is available to users within my local network and outside (internet). I have designed two libraries, one for sending receiving sms and other one for processing those sms messages....But whenever page is refreshed, all the objects are initialized again blah blah resulting error for port 'Acess denied' For that I used object serialization etc. But I want to put my whole sms related work to separate process and use MSMQ between my website and sms process for communication. Please guide me that how can I run that separate sms process all the time and taking commands from website to send sms to whom etc?
Requirements:
1. SMS Process (background) should not have any interface but to communicate with using MSMQ only.
2. Website should be able to communicate with that SMS Process at any time using MSMQ, that is commands to send sms to whom, show received sms etc.
I am complete with all my website and sms engine work. All put all this in website but couldnt get reliablility. Please just guide me how and where to start for MSQM?
View 1 Replies
Apr 20, 2010
I have several ASP.NET sites in IIS7 and would like to be able to group them into folders (or other mechanism, if available). Ideally, I would use a customer name or account number and put the sites under there.
Is there a way to customize the organization of sites in IIS7, or is there just the one 'flat' view?
I'm open to tricks and hacks.
View 1 Replies
Aug 6, 2010
ASP.Net 2005
I am a new bie to work with ASP.net. I want to create an application /site in asp.net which work like content management system. As we see many sites are now a days being build on JOOMLA. How can we create such a CMS (content management system) sites using ASP.NET.
View 1 Replies
Aug 17, 2010
i m not able to open certain sites from internet explorer 7.it is showing all sites as restricted .
View 12 Replies
Jun 16, 2010
I work for an agency that has been responsible for maintaining a client's .net 3.5 website for a number of years along with another agency. Work is farmed out by the client to both agencies on a pretty much ad-hoc basis.
The site is quite old and has a structure and deployment process to match. The site is setup that developers have local copies of the sites. There is a staging environment, where client feedback and approval happens, followed by the live environment. There are a number of scenarios where work from one agency will be on the staging environment awaiting approval, and changes from the other agency need to go through staging, approval and deployed to live without the original changes being affected. Most of the time we get away with it but it's far from ideal as not all conflicts can be resolved.
Up until recently we had still been on Sourcesafe but have moved over to Subversion and are running into many more scenarios where work is overwritten. This obviously isn't a fault with subversion, rather that the locking of projects and files in Sourcesafe served as a good indicator to developers from both agencies that someone was working on that project or file. The process previously was that you checked out a file from sourcesafe and kept it checked out until changes went live (acknowledge that this is a rubbish process hence the desire to move away from sourcesafe and such a model)
The trouble is that even though we know that the way we do it now is bad, I'm at a bit of a loss as to how to restructure the overall site and deployment process to make it "better". Some ideas we've pondered are:
Separate dev, test and live branches in subversion so we need to commit and build the appropriate branch before deploying (not really sure how to make that work)Single repository for both agencies but a separate staging environment for each. Staging environment could then reflect the changes assigned to each agencyA separate instance of the staging site for each branch
View 1 Replies
Nov 19, 2010
how do i create website which supports various screen resolution & Multi browser support (i.e 1024*768 ) and others using asp.net...
i have developed website in asp.net (vb) my monitor resoultion is 1024*768 but when i try to access my site in other monitor having the resolution more than 1024*768 then the controls are unmanaged .... in the webpage...
View 1 Replies
Jun 1, 2010
I'm developing an ASP.NET (C#) application using EPiServer CMS 5. On the startpage we have four WebPart-zones and everything works great running it through Visual Studio. When publishing it to the production-server (IIS 7) the startpage shows as a blank page, no error what so ever...
When we remove these lines of code it works, so it has something to do with the WebParts.
<WebParts:ExtendedWebPartManager ID="WebPartsManager" runat="server"></WebParts:ExtendedWebPartManager>
<WebParts:ExtendedWebPartZone WebPartProperty="WebPartZone1" runat="server" ID="WebPartZone1" PartChromeType="None" AllowLayoutChange="false" Padding="0" PartChromePadding="0" Width="100%"></WebParts:ExtendedWebPartZone>
<WebParts:ExtendedWebPartZone WebPartProperty="WebPartZone2" runat="server" ID="WebPartZone2" PartChromeType="None" AllowLayoutChange="false" Padding="0" PartChromePadding="0" Width="100%"></WebParts:ExtendedWebPartZone>
<WebParts:ExtendedWebPartZone WebPartProperty="WebPartZone3" runat="server" ID="WebPartZone3" PartChromeType="None" AllowLayoutChange="false" Padding="0" PartChromePadding="0" Width="100%"></WebParts:ExtendedWebPartZone>
<WebParts:ExtendedWebPartZone WebPartProperty="WebPartZone4" runat="server" ID="WebPartZone4" PartChromeType="None" AllowLayoutChange="false" Padding="0" PartChromePadding="0" Width="100%"></WebParts:ExtendedWebPartZone>
View 2 Replies
Feb 28, 2011
I have two e-commerce sites. One was built using ASP .net technology and the other one was built using open source codes.
Now I would like to allow shared shopping cart between the two sites. The customer will be able to add product from either site to the same shopping cart and check out.
Has anyone done this type of project before? It seems that there isn't any easy solution -- i.e. we would have to build a new shopping cart from group up for both sites.
View 1 Replies
Mar 8, 2010
There is a page that retrieves for about 100 records from database.
In this page I have several of webparts. wach webpart has a usercontol, and in it there is a datalist.
I need way to sen data from the page into the webparts. for each webpart I wish to send 20 records only from the 100 that was retrieved from database.
NOTE: Sometins in that page there is 4 webparts, and sometimes there is only 2...it keeps changing.
How can I achieve that?
View 1 Replies
Jun 11, 2010
How the sites like stackoverrflow using the third parthy login id(gmail,blogspot), to login the site?How to do this in asp.net? Give me a idea to implement this in to my applicationi don'
View 3 Replies
Jul 16, 2010
I am interested in developing Web Parts that can be used in our ASP.NET sites
and our SharePoint sites. An example Web Part I have in mind is a Post Code (Zip Code) look up.- Visual Studio 2010 Premium- SharePoint Designer 2007- Windows 2003 Server (therefore WSS 3.0)- No SharePoint Server
View 2 Replies
Sep 30, 2010
I am using Web Expression and Access database to build an aspx page.I am displaying records using listview Tiled option and DataPager is enabled also which is creating multiple pages.
View 1 Replies
Feb 22, 2010
I have been looking around for a solution for this problem that works across different versions of Windows Server & IIS, but so far I couldn't find a reasonable solution, what I need is some sort of a script or a command line tool, that takes a certificate file (pfx) for example and then either using the same script or tool find a way to configure one website to use this certificate.
View 1 Replies