Has anybody implemented a custom tab for elevated events out there that is read/write? I'm currently trying to set one up and cannot get the application to recognize it as read/write (no add or delete buttons appear, although the tab and any data I insert through sql show up for the correct campaign) and I am wondering what I am missing.
I've tried both a built in sql statement and a stored procedure as a data source on my custom form (infomaker), but neither gets me to read/write
I've granted select/insert/update/delete rights to impusers.
The name of the underlying custom table in the update_table in the appropriate row in tr_custom tab.
ID_key is the primary key for the table and it has a required column for campaign_no. ID_key is also an identity column.
Thanks for any help you can provide.Matt
Matthew,
There is a custom events module posted to the Shared Reports catalog on TASK. It's a suite of custom screens and reports and it is solution #271 under the Reference Materials project.
Thanks Brian! I've downloaded it and will see what I can learn.
Also, thanks to Brian Grundstrom for sharing!
Unfortunately Brian's solution doesn't really apply to my situation. It looks like all of his work applies to customer custom tabs, where I am focusing on campaign custom tabs. Ah well, the search goes on.
Thanks for the reference, though, there is some pretty cool stuff in Brian's solution.
Hey Matt, having the exact same issue. How did you get this resolved (if you did)?
Matt,
I think I tried a very similar thing a few months back and opened a support ticket for help. I have included the results of that ticket below - you'll want to read from bottom to top. Hope this helps.
Dale
Entered on 10/21/2009 at 15:31:13 by Dale Aucoin:Thanks for your help Brian, I was thinking I would have to do something like that with a local table but wasn't so excited about the prospect. I'll check out the solution you suggest.Dale
Entered on 10/20/2009 at 12:46:58 by Brian Pedaci:Yes, I think you're right. I tried creating my own custom screen and had the sameproblem, even using a view to select from and update.You may wish to take a look at solution #271 in the Reference Materials project ofTASK Online for an example of a custom screen (plus report) for maintaining elevatedevent data. It looks like the creator of that module used local tables to hold theguest data instead, with a trigger on the custom table to update the TX_EVENT_GUESTtable.
Entered on 10/19/2009 at 16:02:47 by Dale Aucoin:Brian,Thanks for your help on this. I made the changes you suggested but I'm still not able to edit through Tessitura even though we are now on version 9. I'm thinking my issue here might have something to do witih tx_event_guest which doesn't have a primary key. Am I correct on that?Dale
Entered on 10/19/2009 at 13:55:13 by Brian Pedaci:I am sorry it's taken me so long to get back to this. After much testing, I finallyfound out that there was a bug in version 8.0 that made the new custom tabs inCampaigns and Appeals not editable under any circumstances. This was addressed inthe 9.0 general release. Are you indeed still on version 8.0.0.3 as the informationon the ticket says?Once you do the upgrade, there may be further issues, looking at the query.There must be a column in every custom data object called id_key, defined as a longinteger. This can be aliased to the tx_event_extract.evex_no column in the query,since that is the primary key on the table you intend to update. Also, since thisappears to be a custom tab from the Campaign screen, you need a column called inv_no(also long) that represents the campaign_no.So, your query might appear like this:select id_key = a.evex_no, inv_no = a.campaign_no, a.customer_no, c.fname, c.lname,b.description as 'status',a.recd_amt, d.guest_name, d.guest_cust_no, e.description as 'cust_level', d.table_no,d.seat_no,d.perf_seat....Make sure the edited column names appear correctly in the column specificationwindow, and in the datawindow design itself. Also make sure that all columns exceptthose coming from TX_EVENT_EXTRACT are marked with the NOEDIT tag, as updateablecolumns can only come from the table listed in the 'Update Table' column ofTR_CUSTOM_TAB.
Entered on 09/17/2009 at 16:26:11 by Dale Aucoin:Ok, I think I'm trying to do something illegal and just want to check to make sure so I don't do it.I wanted to create a custom tab that would allow changes to Event seating (tx_event_guest) for elevated events in a custom tab. The tab I created shows me the correct information but doesn't allow me to edit. Is this because of a foreign key violation?Here's my scriptselect a.evex_no, a.campaign_no, a.customer_no, c.fname, c.lname, b.description as 'status', a.recd_amt, d.guest_name, d.guest_cust_no, e.description as 'cust_level', d.table_no, d.seat_no, d.perf_seatfrom tx_event_extract ajoin tr_invitation_status b on a.inv_status = b.idjoin t_customer c on a.customer_no = c.customer_nojoin tx_event_guest d on a.evex_no = d.evex_nojoin tr_event_level e on d.level = e.idwhere a.campaign_no = :campaign_noand a.inv_status not in (6,1,8)Or is there another reason I am unable to edit?Thanks!Dale
Thanks Dale, this is helpful. Seems like the identical issues I’m having. I’m creating (or attempting to, anyway) a custom tab under the Campaigns where select users can create three goals (high, medium, low) and an editable Forecast and attach it to an Appeal Category, one per campaign. I just can’t get it to be editable in the client, and I wanted it to remain on each Campaign for easy viewing rather than elsewhere. Oh well.
MH
matt_hilgers@milwaukeeartspartners.org
IM: matt_hilgers
From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Dale Aucoin Sent: Monday, May 31, 2010 9:32 AM To: Matt Hilgers Subject: Re: [Tessitura Technical Forum] Custom tab for elevated events
Entered on 10/21/2009 at 15:31:13 by Dale Aucoin: Thanks for your help Brian, I was thinking I would have to do something like that with a local table but wasn't so excited about the prospect. I'll check out the solution you suggest. Dale
Entered on 10/20/2009 at 12:46:58 by Brian Pedaci: Yes, I think you're right. I tried creating my own custom screen and had the same problem, even using a view to select from and update. You may wish to take a look at solution #271 in the Reference Materials project of TASK Online for an example of a custom screen (plus report) for maintaining elevated event data. It looks like the creator of that module used local tables to hold the guest data instead, with a trigger on the custom table to update the TX_EVENT_GUEST table.
Entered on 10/19/2009 at 16:02:47 by Dale Aucoin: Brian, Thanks for your help on this. I made the changes you suggested but I'm still not able to edit through Tessitura even though we are now on version 9. I'm thinking my issue here might have something to do witih tx_event_guest which doesn't have a primary key. Am I correct on that? Dale
Entered on 10/19/2009 at 13:55:13 by Brian Pedaci: I am sorry it's taken me so long to get back to this. After much testing, I finally found out that there was a bug in version 8.0 that made the new custom tabs in Campaigns and Appeals not editable under any circumstances. This was addressed in the 9.0 general release. Are you indeed still on version 8.0.0.3 as the information on the ticket says? Once you do the upgrade, there may be further issues, looking at the query. There must be a column in every custom data object called id_key, defined as a long integer. This can be aliased to the tx_event_extract.evex_no column in the query, since that is the primary key on the table you intend to update. Also, since this appears to be a custom tab from the Campaign screen, you need a column called inv_no (also long) that represents the campaign_no. So, your query might appear like this: select id_key = a.evex_no, inv_no = a.campaign_no, a.customer_no, c.fname, c.lname, b.description as 'status', a.recd_amt, d.guest_name, d.guest_cust_no, e.description as 'cust_level', d.table_no, d.seat_no, d.perf_seat.... Make sure the edited column names appear correctly in the column specification window, and in the datawindow design itself. Also make sure that all columns except those coming from TX_EVENT_EXTRACT are marked with the NOEDIT tag, as updateable columns can only come from the table listed in the 'Update Table' column of TR_CUSTOM_TAB.
Entered on 09/17/2009 at 16:26:11 by Dale Aucoin: Ok, I think I'm trying to do something illegal and just want to check to make sure so I don't do it. I wanted to create a custom tab that would allow changes to Event seating (tx_event_guest) for elevated events in a custom tab. The tab I created shows me the correct information but doesn't allow me to edit. Is this because of a foreign key violation? Here's my script select a.evex_no, a.campaign_no, a.customer_no, c.fname, c.lname, b.description as 'status', a.recd_amt, d.guest_name, d.guest_cust_no, e.description as 'cust_level', d.table_no, d.seat_no, d.perf_seat from tx_event_extract a join tr_invitation_status b on a.inv_status = b.id join t_customer c on a.customer_no = c.customer_no join tx_event_guest d on a.evex_no = d.evex_no join tr_event_level e on d.level = e.id where a.campaign_no = :campaign_no and a.inv_status not in (6,1,8) Or is there another reason I am unable to edit? Thanks! Dale
From: Matthew Hoyt <bounce-matthoyt5455@tessituranetwork.com> Sent: 5/19/2009 2:28:00 PM
Thanks for any help you can provide. Matt
This message was sent automatically to you by www.tessituranetwork.com because you subscribed to the Tessitura Technical Forum. You may reply to this message to post to the Technical forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!