I want to control the SuperOffice CRM web through the web tools (tray app), I want to open tickets for a person or for a company, and I want to create a new ticket for a given person. I have tested and I can open a ticket, if I have an id or a new ticket also. The docs have not yet been updated for ticket entities, see it here: SoProtocol
This is how I did it in the old service versions.
// http://service.xxx.com/scripts/ticket.exe?_sf=0&action=viewTableEntry&table=contact&id=3
// http://service.xxx.com/scripts/ticket.exe?_sf=0&action=viewTableEntry&table=person&id=17690
// http://service.xxx.com/scripts/ticket.exe?action=newTicket&custId=17690
superoffice:ticket?ticket_id=4 is the only one I can find to show a ticket and it doesn't list the request like I want (of cause).
EDIT: superoffice.ticket.new?person_id=1 will open a new ticket filled with the person selected. So that one is solved
Does any one have a list of the new protocols for ticket ?
All Replies (8)
Url based you can open a ticket like this:
.../default.aspx?ticket.main?ticket_id=
Create a new ticket:
../default.aspx?ticket.new
SOProtocol:
EventData eventData = getEventData();
// open existing ticket
eventData.setNavigateTo("soprotocol:ticket.main?ticket_id=220");
// create new empty
eventData.setNavigateTo("soprotocol:ticket.new");
// create new with specific person
eventData.setNavigateTo("soprotocol:ticket.new?person_id=1756");
You can redirect to the standard entity screen and show the default ticket archive:
contact.main.ticketarchive?contact_id=1520
person.main.ticketarchive?person_id=1756
I don't think you can open a specific ticket search using SOProtocol, you can redirect to the find/search page, but not specify any criteria (ticket.findticket)
BTW: Do you know if it is possible to keep the card (top) of contact, like: soprotocol:contact.[use-current].ticketarchive?contact_id=1
It would kind of top of the funktionallity I think.
As far as I know you will need to specify the top view to be able to set a bottom view.
You could retrieve the current user state and parse the currently active top view from there (user preference, owner_id = associate id, prefsection = 'SuperMode', prefkey = entity (contact/person))
Does this work with the script based triggers for Requests ?
I can for example do this from a sale/contact/project window but not from a request window.
What I am trying to achieve is to navigate to a specific script in the minipanel whenever i am in the ticket window irrespective of being in view/edit/new ticket.