I am trying to add a Create New Group Button to a custom entity Find Screen. Is this possible? I added the following script to the EntityFind.asp page.
searchContainer.AddButton(CRM.Button("Create New Group","save.gif", CRM.Url(597)));
The Create New Group Screen comes up. However, if I hit Save, nothing appears to happen. Also, if I don't enter a name and hit "Save", I get a message that the name is missing.
This is my URL when I am on the page...
http://mycomputer/CRM/eware.dll/Do?SID=146227766039936&Act=597&Mode=1&CLk=T&Key0=58#
I noticed that each of the primary entities that have the Create New Group Button on their find screen appear to have their own SearchKey.
CompanySearchKey = 19.
This is the URL if you hit the Create New Group button on the company find screen.
http://mycomputer/CRM/eware.dll/Do?SID=146227766039936&Act=597&Mode=1&CLk=T&Key0=19
Key 58 is the key for a custom entity and does not represent a SearchKey.
Is it possible to enter a translation in order to get this to work. Or am I attempting something that is not possible?
If I am not able to do this with the action code, is there another way to add a Create New Group button to a custom entity find screen?
Any assistance would be greatly appreciated.