You need to sign in to do that
Don't have an account?
Br1
Sites packaging
I'm doing a managed package that works with sites, at my app i expose some apex classes, pages , and set some permissions to my custom objects to make it public and accessible to the site.
How all this information can be packaged? where i can find info about that ?
I have seen at the summer'09 features a intro but the info are not sufficient.
thanks.
brx.
You can include the visualforce pages, apex classes that you use on your sites, but you can't package site configuration.
After you install your package you need to configure your site (manually or via metadata api)
All Answers
You can include the visualforce pages, apex classes that you use on your sites, but you can't package site configuration.
After you install your package you need to configure your site (manually or via metadata api)
Bulent , thanks for the reply, i have a related question about the classes and pages packaging :
I have done a managed package (in beta to test the installation), after that, i install the package at a dev org with sites enabled, as you said before, i do the site configuration, but when i try to enable apex classes to my site, the classes of the installed package doesn't appear at the multi select to give public access.
I have changed the API version from 14.0 to 15 at the classes, then uploaded the package again, and installed it another time at other org, but the package classes doesn't show at the multi select.
Only the default classes are there.
i know , what i do is:
Setup > Sites > Click on sitelabel > Public Access Settings > Enabled Apex Class Access > Edit
But the classes installed with the package doesn't appear at the left picklist to enable.
Here is the part from the online help related to the apex class security
If you have installed a managed package in your organization, you can set security only for the Apex classes in
that package that are declared as global, or for classes that contain methods declared as webService.
thanks again Bulent!!
br1