Hi there,
The community has been of great help in trying to get me up the curve with best practice on using Solutions...however I still need some assistance.
Firstly the documentation is a bit obsolete, but we managed to work through that. I have worked through the 74 page ALM white paper and although it is full of interesting information I am not sure it is a step by step guide!
I want to create the simplest possible Development and Production environment and put one app into one solution into Dev, then release it as a managed solution into Prod. If i want to change the app then I would change in Dev and then re-deploy into Prod.
1. I created two environments: GD_Dev_01 and GD_Prod_01
2. I created a solution in GD_Dev_01 called GD_Solution_01
3. I wanted to add an app to that solution:
a.I started by adding an app that i had previously created in the Dev enviroment, but when I tried to export and then import into prod it failed as it said it didn't have all dependencies such as Site Map.
b. I therefore clicked on +,New, App and created what i wanted and then published/saved/closed, (it confused me by generating two objects...one MDA and one 'Client Extension' but I guess thats what was missing in step 3a)
4. I exported that solution, and then imported into GD_Prod_01
5. I can access that App in my prod environment - hurrah! (I think!)
QUESTIONS
1. Why did the 3a step fail...I am guessing it is because it didn't have the 'Client Extension' object, given that step 3b succeeded, but what is going on there? Why can't I add a pre-existing app to a solution, or what would I have to do to make that work.
2.Why am I am able to Edit that App in the prod environment...I would assume that since it is 'managed' I would not be able to edit. I see if I go into the Solution in prod then it tells me I can't edit the solution...but I am confused as to why i can edit the app...I was (naively??) expecting the app to be 'locked down' in Prod. Surely that is the whole point
3. More generally, I am still struggling to understand how exactly this works from here. If i want to add an new entity to my app, do I edit the app object in the Dev solution (ie select Edit,and add an entity using the Site Map) and then release over the top of my original version? I have tested that and it seems to work, without deleting any data. Is that a reasonable practice given my simple requirements/
4. Finally..can anyone point me at a dummy's guide or tutorial covering these issues? The documentation moves immediately to using Package Deployer..I want to learn how to do that, but it brings in a whole level of complexity with Visual Studio etc. I would like to do it manually first to get some confidence.
Thanks once again, all
Ged