.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Kaviya Balasubramanian
Imran Ghani
Post New Web Links

Trigger a macro anytime a site or web is opened in SharePoint Designer

Posted By:      Posted Date: September 01, 2010    Points: 0   Category :SharePoint
 
Within SharePoint Designer (not interfacing with SharePoint services), I would like to have a macro automatically run anytime a web is opened. I assume I need to use the OnWebOpen VBA event but I'm not sure how to write this into a module. Is there any chance someone could assist me with what this sub routine should look like? Thank you! Greg


View Complete Post


More Related Resource Links

How to Establish a Remote Web Site Connection in SharePoint Designer 2007

  

I am modifying a SharePoint site and so far so good.  Some of the objects were created using Visual Studio 2008 (C#).  I was able to modify these objects and implement them on the targete machine without issue.  The final step is to implement the ASPX pages that were modified using SharePoint Designer 2007.  These are aspx pages that are used to modify items in lists.  All the pages involved in this upgrade are customized.  I need to upgrade the target site with the modified version of these pages.  My intent is to copy the code from the page in the source site and past it into the same page on the target site.  I tried using the Remote Web Site connection tool in SharePoint Designer 2007 but received the following error message:

"Unable to open 'https://(site address)'.  Server Error:  Could not find a Web server at 'website'.  Please check to make sure that the Web server name is valid and your proxy settings are set correctly.  If you are sure that everything is correct, the Web server may be temporarily out of service."

I am not sure how to first check to see if the Web Server is temporarily out of service.  I would appreciate your input on how to verify this.

Background information of target machine:  WinServer 2008, IIS 7, Sharepoint (MOSS2007), site on port 80

Cannot access parent site list from subsite in XSLt List View webpart in sharepoint designer 2010

  
Hi    We are using sharepoint 2010  for internet facing sites for our big client in healthcare domain .  I am using XSLT list view webpart in sharepoint designer 2010 for retrieving contents from sharepoint list & displaying it by using XSLT List view webpart in publishing sites. We are having lot of list in rootsite collection, If i am creating pages by using XSLt list view webpart in root site collection I can access the list,View and Display in Pages by XSLT List view webpart. Now the requirement is i have to access the list in roosite collection(parent site) from subsites.  In Sharepoint designer 2010, while i am inserting XSLT list view webpart, i could not find datasource to access the list that exist in rootsite collection(Parent site) from subsite. Below is the the code i am using for accessing the list& view from parent site & creating the pages in parent site by using xslt list view webpart,now i wants to access parent site list from subsite by using XSLT list view webpat in subsite pages.  Pls let me know what i have to change in the code level <WebPartPages:XsltListViewWebPart runat="server" Description="The list for the conditions details" ListDisplayName="" PartOrder="2" Default="FALSE" HelpLink="" AllowRemove="True" IsVisible="True" All

Cannot access parent site list from subsite in XSLt List View webpart in sharepoint designer 2010

  
Hi    We are using sharepoint 2010  for internet facing sites for our big client in healthcare domain .  I am using XSLT list view webpart in sharepoint designer 2010 for retrieving contents from sharepoint list & displaying it by using XSLT List view webpart in publishing sites. We are having lot of list in rootsite collection, If i am creating pages by using XSLt list view webpart in root site collection I can access the list,View and Display in Pages by XSLT List view webpart. Now the requirement is i have to access the list in roosite collection(parent site) from subsites.  In Sharepoint designer 2010, while i am inserting XSLT list view webpart, i could not find datasource to access the list that exist in rootsite collection(Parent site) from subsite. Below is the the code i am using for accessing the list& view from parent site & creating the pages in parent site by using xslt list view webpart,now i wants to access parent site list from subsite by using XSLT list view webpat in subsite pages.  Pls let me know what i have to change in the code level <WebPartPages:XsltListViewWebPart runat="server" Description="The list for the conditions details" ListDisplayName="" PartOrder="2" Default="FALSE" HelpLink="" AllowRemove="True" IsVisible="True" All

How to connect 2 Lists Sharepoint site through Designer

  
Hello to all I am siddiqali new to sharepoint 2010,I want to know how can i connect 2 lists in sharepoint 2010 without using code ,look ups and visual webpart. I am guessing that it can be posibble through designer,but as i am new to sharepoint i am not able to do it  Example If in 1 list student number,name,class,section is existed ,In other list if we enter student number in text box we should get the student information   Thank You, MD.SIDDIQALI

can't open sharepoint site with sharepoint designer 2010

  
Hi there, We've installed SP Foundation + SP Server 2010 and set up some sites. when we tried to open it with SP Designer 2010, it fails and gave us some errors. opening SPD through site actions : unable to open website. possible causes: 1. the web server may not have sharepoint server installed 2. the web server may be temporarily out of service 3. if you are connecting through a proxy server, the proxy settings may be incorrect 4. an error may have occured in the web server opening sharepoint site through SPD: the folder 'http://mysp.domain.com/site/default.aspx' isn't accessible. the folder may be located in an unavailable location, protected with a password, or the filename contains a / or \. the thing is ... we have no problem with sharepoint designer 2007. any idea?

SharePoint / Project Server 2010 Unable to edit a HTTPS site in SharePoint designer 32 bit

  

Hi,

I posted this thread below under a different forum and was requested to move.  Below is our current problem and the feedback that was given.

We currently have a project server 2010 site with several workspaces associated with it.  When trying to edit the site (either from choosing edit is designer from the site actions or from trying to open from within the designer) a dialog appears asking to choose a certificate for the site.domain.com.

The certificate issued by the site is a GeoTrust certificate and checks ok when browsing the site in IE.  This Windows security dialog also appears when trying to export to excel on the same site.

Any thoughts to what we are missing?

Thanks,

Kevin

 

Dear Partner,

 

Thank you for posting in our Partner Online Technical Community.

 

<

Can no longer upload any files to the site via Sharepoint Designer

  

Greetings.

My colleague is using Sharepoint Designer with MOSS 2007. She made a folder in the site root and is putting pictures of employees there in order to show them in profiles. Suddenly, this morning, she can no longer do it. She can create new folders, rename them, etc, but if she tries to upload any file anywhere via the Designer, a message will instantly pop up (as usual, message is in russian, with no error code...) complaining about "connection time out" or "connection lost" or something. Of course, since she can still rename folders etc, the connection is just fine.

We tried iisreset and reboot of the pc running the designer but it didnt help. Still we cannot upload any file anymore. 

More than that, previously she could upload files with going into a document library, then using an option to "open in explorer", then a windows explorer windows would pop up, showing the address of the sharepoint site folder in adress bar, like "http://sharepointsrv/sites/portal/Sharepoint/" and allowing to copy files into it, and those files copied there would then appear on the server in the doc library. But now copying files this way also does nothing.

All we remember doing fro

Is it possible to remove 'SharePoint Designer Settings' link from Site collection Adminitration Se

  
Is it possible to remove the link 'SharePoint Designer Settings' from the Site Collection Administration section of settings page.
Satheesh

trigger an automatic sharepoint site provision event from within Office project 2010

  

hi,

can anyone give me an idea on what i could do to automate the site creation in sharepoint when i press the sync button in project ? thanks


Unable to open a site in Sharepoint Designer

  

I am trying to connect my SharePoint Designer 2007 to sharepoint sites on a remote Windows Server 2003 created on ports other than 80. But it throws an error "The folder ['http://servername:12345/'] isn't accessible. The folder may be located in an unavailable location, protected with a password, or the filename contains a / or \."

 

But when I try to connect the port 80, it successfully does.


Cannot access parent site list from subsite using XSLt List View webpart in sharepoint designer 201

  

Hi
   We are using sharepoint 2010  for internet facing sites for our big client in healthcare domain .  I am using XSLT list view webpart in sharepoint designer 2010 for retrieving contents from sharepoint list & displaying it by using XSLT List view webpart in publishing sites.

We are having lot of list in rootsite collection, If i am creating pages by using XSLt list view webpart in root site collection I can access the list,View and Display in Pages by XSLT List view webpart.


Now the requirement is i have to access the list in roosite collection(parent site) from subsites.  In Sharepoint designer 2010, while i am inserting XSLT list view webpart, i could not find datasource to access the list that exist in rootsite collection(Parent site) from subsite.

Below is the the code i am using for accessing the list& view from parent site & creating the pages in parent site by using xslt list view webpart,now i wants to access parent site list from subsite by using XSLT list view webpat in subsite pages. 

Pls let me know what i have to change in the code level


<WebPartPages:XsltListViewWebPart runat="server" Description="The list for the conditions details" ListDisplayName="" PartOrder="2" Default="FALSE" HelpLink="" AllowR

Opening a site using Sharepoint designer 2010

  

We have an intranet sharepoint 2010 site. windows 2008 64 bit machine and the sharepoint version is 14.0.4763.1000. Configuration database version is 14.0.4762.1000.

My machine runs on windows XP and I installed 32-bit sharepoint designer 2010 on mine. version of designer is 14.0.4760.1000. I am not able to connect to the sharepoint 2010 site which is hosted on the above mentioned server. But It opens the site if I use designer from the server itself. Is it something as expected?

I checked and enabled sharepoint designer settings and client integration settings from Central administration. I am able to browse the sites from my XP machine without any problem. Any idea why is this happening?

 

 


Sharepoint Designer 2007 not showing the updated site summary usage data

  

HI All,

I have sharepoint designer2007 in my production server.That Sharepoint designer is not showing the updated usage reports.It is showing only from 2008 Nov to 2009 Apr hits and downloads.But if i look in the site directly for the site usage reports site is showing updated reports properly.But Why not in the Sharepoint designer? And one more catch here is the same sharepoint designer displaying the updated usage reports for the sites which is running in other server.Can any one help on this issue please?

Thanks in advance Sreeni


Can't open site in sharepoint designer after migration

  

I moved  a client's WSS 3.0 instance (application and databases) from a Windows Server 2003 to Windows Server 2008 environment.

 

After the move, the sites look ok in internet explorer and seem to be working fine via the intended url "sps.clientswebsite.com".  However, I am now unable to open the site in sharepoint designer 2007.  I only have access to the new sharepoint server itself, so that is the only computer I have tried connecting via SPD on.  When I open Sharepoint designer, click open site, then type the address "sps.clientswebsite.com" I get the message:

-----------------------

http://sps.clientswebsite.com/

Path does not exist.

Check the path and try again.

----------------------

I get the same when trying to open any individual aspx page from SPD's "Open" dialog by copying and pasting in a page's url.

 

If, however, I open up a site in internet explorer and, for example, go to site settings > galleries > masterpages and then choose "Edit in Microsoft Office Sharepoint Designer" I get a different error:

--------------------

The server could not complete your request. Contact your Internet service provider or Web server administrator to make sure that the server has the FrontPage Server Extensions or Sha

Is it Possible to edit an already existing Web Part in a sharepoint site with SharePoint Designer 20

  

I want to add few options with already existing web part and customize it more using sharepoint designer.

I do not get the needed options through browser customizations.

Is it possible?.. How can i open a particular web part in SharePoint designer?


How to open Sharepoint 2010 Site in Sharepoint 2010 Designer?

  

Hi,

I'm trying to open my site in sharepoint designer 2010.

I've read a forum that in order to open it in the Sharepoint designer, you must extend your web app. After i've extended my web app my site can now be open in sharepoint designer. But when i've close it then tried to open it again. It wasn't opening again. No error message or anything. Then i've tried to open my Web app extension it promt "Path does not exist".

Does any body know how to resolve this problem?

Thanks! :)


Sharepoint Designer Gives Error when Attempting to Customize Site

  

Hi,

I'm running SP 2010 Foundation on Win 7 with SPD 2010 32bit installed.  When I attempt to Customize my Site in SPD, I receive the error:

You do not have a default My Site specified.  You can set one as the default by browsing to your My Site and accepting the prompt to configure it as the default site.

I navigate to my SP 2010 Foundation site by using http://<PCName> and login with my Windows username and password.  However, I cannot find any reference to setting My Site as the default.  Can anyone steer me in the proper direction?

Thanks,

Sid


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend