Link to home
Start Free TrialLog in
Avatar of allanmark
allanmark

asked on

Feature to create Picture Library in SharePoint , using Visual Studio 2010

Greetings all

I ma trying to create a feature that will create a picture library on a SharePoint 2010 site (see attached code).

I get this error when I deploy:

Error occurred in deployment step 'Activate Features': Feature 'd9569cc7-45dc-4412-9b2d-59b39ca1f197' for list template '109' is not installed in this farm.  The operation could not be completed.
            0      0      CreatePictureLibrary


Any  thoughts?

In advance, thanks!!

allanmark
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">


      <ListInstance
          FeatureId="{D9569CC7-45DC-4412-9B2D-59B39CA1F197}"
          TemplateType="109"
          Title="Shopper Pictures"
          Url="Shopper Pictures"
          Description=""
          QuickLaunchUrl="Shopper Pictures/Forms/AllItems.aspx" />


</Elements>

Open in new window

Avatar of Melih SARICA
Melih SARICA
Flag of Türkiye image

what is your sharepoint version ?
Avatar of allanmark
allanmark

ASKER

SP 2010
do u ave Sharepoint Server Publish feature activated  ?
ASKER CERTIFIED SOLUTION
Avatar of allanmark
allanmark

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial