You need to sign in to do that
Don't have an account?
sandipm
overriding standard button in custom object tab
Hi,
I am overriding standard button 'New', on my custom objects tab to Visual force page as I wanted some
customization for creating new object. It works fine.
but when I package everything and install it in other organization, overriding is gone. They see standard page which comes up after clicking New button.
I want this overriding to be permanent or packaged. so when other user installs package, 'New' button should point to VF page.
Is there any way to do by making changes to Metadata object?
regards,
Sandip
Packaging Button Overrides will be available in the Spring '10 release. If you wanted to though, you can use the metadata API, see here.
Hope that helps,
Sati
thanks shillyer...
as per metadata api link, I created a webline but it is creating new custom button but not actually
overriding existing standard new button.
following is metadata I tried adding into customName.object
<webLinks>
<fullName>New</fullName>
<availability>online</availability>
<displayType>button</displayType>
<hasScrollbars>true</hasScrollbars>
<height>600</height>
<isResizable>true</isResizable>
<linkType>page</linkType>
<masterLabel>New</masterLabel>
<openType>newWindow</openType>
<page>NewPage</page>
<position>none</position>
<protected>false</protected>
</webLinks>
thanks
Sandip