Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

default.aspx provisioning

  Asked By: Dianna    Date: Feb 16    Category: Sharepoint    Views: 1682

The requirement is to provision default.aspx page when site is created and site
provisioning order is the road block.

I would be adding certain List Views to default page. These lists are created
through a single stapled features which includes custom lists as well as
calendar and tasks lists with custom fields. Lists also contains some lookup
columns.

can some one give some hint what would be the best way to add list views in this
scenario.

I believe <View> elements in Module file will not work as they it may not find
referenece to custom lists and customizated calendar and tasks list.

I have wrapped all the functionality in a feature and handled feature activation
asynchronously (Thanks to someone's blog) with enough delay to make sure default
page is provisioned but this is unacceptable by the end users.

I cannot use Execute URL property due to some undisclosed reason.

I was thinking about a hidden web part which checks if the feature provisioning
default.aspx page is activated and activate it if it is not.

Please recommend how could I have programmed it better inorder to meet required
functionality.

Share: 

 

4 Answers Found

 
Answer #1    Answered By: Bhairavi Damle     Answered On: Feb 16

I'm not sure I understand your problem properly. Are you saying that
you can't add  your webparts to the already provisioned default.aspx page
at the end  of the FeatureActivated code for each feature  you are
activating to create your custom lists  etc?

 
Answer #2    Answered By: Leeann Hull     Answered On: Feb 16

I am customizing Meeting workspace sites, I need to drop some list  view web
parts on default.aspx page, whenever site  is created.

default.aspx page  is not created  by the time FeatureActivated event is fired. It
is because in Site Provisioning order, features  are activated before modules are
created.

 
Answer #3    Answered By: Vaasu Radhakrishna     Answered On: Feb 16

What about creating a timer job that waits for that page  to get provisioned
and then adds the LVWPs?

 
Answer #4    Answered By: Brinda Bca     Answered On: Feb 16

thats what I did in the first place.

But it is unacceptable to users.

 
Didn't find what you were looking for? Find more on default.aspx provisioning Or get search suggestion and latest updates.




Tagged: