I deployed some fields and validation rules related to a particular object onto clients production through Eclipse. This deployment updated all the profiles with my name? Is this a default action or is this a bug or how is this possible? Because, when I deploy an object, how come all the profiles are updated with my name? Any help is appreciated.

I created some custom fields and validation rules under under Opportunity standard object. Then I added these to my project through add/remove componenets. Then I deployed the Opportunity object onto the production.

Is this the right way to deploy my new stuff onto production? For classes or triggers, it would show me what exactly is being updated on production. I dont think it showed me that for Opportunity object.

The problem now is that whole opportunity object got updated on production. Did I do something wrong? And there is no way to go back, thats the worst part!! Any help is greately appreciated.

The problem is that when I click new opportunity, I am directed to another page that has a pick list to select tha opportunity type. When I selct the opportunity type and hit continue, I am getting redirected to the same page! But when I hit continue again, I am getting redirected to the next page correctly..I am unable to fix the problem of getting redirected to the same page when I click continue first time though..any help is appreciated!

I have a trigger with the following code, everything seems to be working fine until I got the above exception through email this morning. The code looks simple and correct to me an so I am having hard time figuring out why the query could have run into governor limits exception..

How can we redirect a trigger to a standard salesforce URL? Like when the user updates a cutom field in Opportunity, I want him to go to the new Partner reated list page directly when he hits save. Usually you can only see the new partner page only when you click New in Partner subsection from the opportunity details page. But I want to mandate the partner related list page when user selects YES for a custom field in Opportunity page.

I want to show partner related list on a custom field update(if yes) in opportunity. The partner related list is usually visible only after you save a opportunity and you can only edit it after you click new Partner.

I am thinking of doing this with work flow and s-control but have no idea how I can do it. I mean I dont know how can you or where you should reference a s-control with workflow?

Basically, I want to mandate the partner related list in opportunity when the user changes a custom field(picklist) to yes in opportunity. I have number of fields and I want user to fill the respective partner related list for each field that they say yes.

My site is controlled by a VF page which is controlled by a Apex Controller extension. When I hit submit on sites, automated emails are sent to the people. The from address of these automated emails is displaying my email address but I want it to display a generic email address of the company that is hosting the site. How can I do it? Any help is appreciated.

I wrote a trigger after update for child cases. If all the child cases are closed, the Inactive field of the ContactId reference of the parent case will be set to true...I am getting an exception with the following code, when I try to close the last child case. Its then trying to evaluate the innermost if condition and hitting the exception..

I am unable to create a record through sites which is integrated with a visual force page. I have the read, create, edit permissions checked for the custom object on public access settings. I can create the records through the VF page that the sites refers to but I am unable to create the same through sites. Any help? Here is the controller code that is being called when I hit submit button and expect the record be created..

I have created some parent and respective child cases in Case object. Now, I want to make parent case not closable unless child cases have been closed..in other words, somebody should not be able to set the status of parent case to closed unless they have closed all the child cases. I am thinking to do this with triggers...but I have no idea how..any help is appreciated.

I deployed some fields and validation rules related to a particular object onto clients production through Eclipse. This deployment updated all the profiles with my name? Is this a default action or is this a bug or how is this possible? Because, when I deploy an object, how come all the profiles are updated with my name? Any help is appreciated.

I have a trigger with the following code, everything seems to be working fine until I got the above exception through email this morning. The code looks simple and correct to me an so I am having hard time figuring out why the query could have run into governor limits exception..

How can we redirect a trigger to a standard salesforce URL? Like when the user updates a cutom field in Opportunity, I want him to go to the new Partner reated list page directly when he hits save. Usually you can only see the new partner page only when you click New in Partner subsection from the opportunity details page. But I want to mandate the partner related list page when user selects YES for a custom field in Opportunity page.

I have created some parent and respective child cases in Case object. Now, I want to make parent case not closable unless child cases have been closed..in other words, somebody should not be able to set the status of parent case to closed unless they have closed all the child cases. I am thinking to do this with triggers...but I have no idea how..any help is appreciated.

I am trying to figure out a way to effectively redirect the user to a VisualForce page after a new opportunity is created, while passing in the ID of the new Opportunity. The overall objective is to require the user to enter additional information about the Opportunity on a separate screen. I'd also like to avoid completely recreating the Opportunity edit page
in VF so that the admins can still add/change fields and use the
PageLayout Editor.

My thought was that I could use the standard Opportunity Controller on a VF page and then use <apex:detail>, however it doesn't seem like it's possible to call an Apex page for a new record unless you're manually building the form. For example:

https://na6.salesforce.com/006/e?retURL=/apex/OppPart2/id=newOppID - This would redirect the user to a specific page after the save has completed, but there's no way to know the newOppID ahead of time.

https://na6.salesforce.com/apex/NewOpportunity/e - Calling a VF page with the standard /e at the end fails with an error

I would like to redirect to a Visualforce page I've created when a user saves an Opportunity, and the Opportunity is closed/won. I've written a trigger to test the logic and the new VIsualforce page, but I'm stumped on how to accomplish the redirect because apparently according to this thread: http://community.salesforce.com/sforce/board/message?board.id=apex&message.id=3321 you can't redirect from a trigger.