Returning more attributes in search set when inviting to new event

Hi all,
We are currently running SunOne Calendar 5.1 and some of our users are complaining that when inviting people to an event who have a common name (i.e. John Smith), quite often, more than one result is displayed in the search set. With two "John Smiths" who have no middle name, how do you determine who the correct person is you wish to invite?
Is there any way of displaying other attributes in the search set (i.e. e-mail address), so users can select the correct person?
Regards,
Paul Hughes
University of Wales, Bangor

I have found a solution to this issue. It seems that when using a programmatic view object which has a transient attribute as its primary key you need to override more methods in the ViewObjectImpl so that it knows how to locate the row related to the primary key when the view object records aren't in the cache. This is why it would work correctly sometimes but not all the time. Below are the additional methods you need to override. The logic you use in retrieveByKey would be on a view object by view object basis and would be different if you had a primary key which consisted of more than one attribute.
@Override
protected Row[] retrieveByKey (ViewRowSetImpl viewRowSetImpl, Key key, int i) {
    return retrieveByKey(viewRowSetImpl, null, key, i, false);
@Override
protected Row[] retrieveByKey (ViewRowSetImpl viewRowSetImpl, String string, Key key, int i, boolean b) {
    RowSetIterator usersRowSetIterator = this.createRowSet(null);
    Row[] userRows = usersRowSetIterator.getFilteredRows("UserId", key.getAttribute(this.getAttributeIndexOf("UserId")));
    usersRowSetIterator.closeRowSetIterator();
    return userRows;
@Override
protected Row[] retrieveByKey (ViewRowSetImpl viewRowSetImpl, Key key, int i, boolean b) {
    return retrieveByKey(viewRowSetImpl, null, key, i, b);

Similar Messages

  • I want my new TAB to open blank,but have installed a s/w which opens it's own search page when i open new tab??Help appreciated.

    I want my new TAB to open blank,but have installed a s/w which opens it's own search page when i open new tab??Help appreciated

    Software? See if you can get it removed with some anti-malware tools. Spybot, AVG, Kapersky, et cetera...
    If you know the name of the program, you could search the registry for any instance of that name and --be CAREFUL--delete them.
    And I have to ask: Did you go back to Firefox after uninstalling this program and reset the "when I open a new tab..." setting? What about your home page?

  • When adding a new event, I cannot put the location in.  It will not allow me to do that.

    How do I get the location area to work when adding a new event?   The location area will not allow me to enter information.

    How do we find a remedy?

  • After updating to ios 5, my calendar sometimes freezes when entering a new event. I have tried syncing but it doesn't fix the problem. Are there any bug fixes for this? Any ideas would be great thanks, I don't really want to have to reset everything!

    After updating to ios 5, my calendar sometimes freezes when entering a new event. I have tried syncing but it doesn't fix the problem. Are there any bug fixes for this? Any ideas would be great thanks, I don't really want to have to reset everything!

    Try to reset the iPod by  pressing the home and sleep button for about 10sec, until the Apple logo comes back again. You will not lose data doing a reset, but it can clear some glitches after installing new software or apps.

  • Alert and second alert when you create new event

    problem with alert and second alert when you create new event on calendar. but only in russian iphone language!
    this problem starts iOS 7 up to the present time iOS 8.1.1. this problem has been seen on iPhone 4,iphone 4s,iphone 5, iphone 5s,iphone 6,iphone6+

    Settings>General>Reset> Reset all Content and Settings
    standard fixing such bugs, but not in this time

  • How do I unstick the hour when entering a new event?

    Suddenly, when I enter a new event, I cannot change the hour from the default 1:00. I can change the minutes but not the hour. Any ideas on how to solve this on my IMac?

    aubite,
    Repeat the plist removal which I specified in my first post, then open System Preferences...>Lanuguage & Text>Formats>Region: and set/re-set the appropriate region.
    You can delete any/all of the plist files which were moved to your Desktop. The plist file could be trashed immediately, but it may not have been the problem, and dragging it to the Desktop allows replacement if that is the case.
    ;~)

  • How to raise mail notification when ever the new event is added to calendar list in sharepoint 2010?

    Hi experts, I need guidance or the way how we can raise mail,
    When ever the new item is added / updated / deleted / cancelled to a calendar list in SharePoint 2010.
    Shall we achieve it through using SharePoint designer 2010.
    If its help to fix the requirement.
    Thanks and Regards,
    Dhayanand Kalimidi

    >I need to send the mail before 1 week from the date
    This is different requirement. Initially you said you want send email when item is added / updated / deleted in list. For this you can use default alert to send instant email as  suggested before. 
    Now if you want to send reminder email then you can use designer WF and calculate the due date by using variable. Refer this link for your ref:
    http://mysharepointchronicles.wordpress.com/2012/11/05/sharepoint-list-with-workflow-email-reminder-set-to-send-30-days-from-created-date/
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/3211ee00-92de-47f1-b611-4c9609f92ab7/how-do-i-set-sharepoint-2010-to-send-a-reminder-email-a-month-after-a-date-already-listed?forum=sharepointdevelopmentlegacy
    Remember event receiver can not send reminder email or scheduled email so for this either use designer WF or create timer job.
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How can I disable the "location" pop-ups when entering a new event in Calendar?

    When I add a new event in Calendar on my computer (Macbook using Yosemite) and then start to type an address or place in the location field, a pop-up list of locations appears from which I can choose.  If I choose one of the listed locations, then a map appears (which I don't want) along with travel times, etc.  I want to disable this feature.  Seems the only way I can ignore this pop-up list is to hit the tab button as soon as I have finished typing.  This doesn't occur on my iphone or iPad (I can just click "done" and ignore the list).  I really wish I could disable this feature!

    The registration screen should only appear after every 5 launches.
    If you register FCE it will no longer appear assuming it is on the same computer.

  • When entering a new event I select e-mail as the alert and my e-mail address. When I'm done the event shows a different e-mail that I can't delete How do I get rid of this?

    When I enter an event I select e-mail for the alert and select my e-mail address from the drop down box. However, the event shows a different e-mail address than mine. I can't delete this wrong e-mail address from the event or from the drop down box. I do seem to get the alert in my e-mail, but don't know if the other e-mail is also getting my alerts. How can I resolve this? My wife has an iPad and syncs iCal through iCloud. Could this be causing the problem?
    Thanks,
    Wayne

    Wayne,
    Quit iCal, open Address Book, and click on your card. Then select Address Book>Card>Make this My Card.
    If that does not fix the problem, then delete and recreate your card, and once again make sure to designate it with "Make this My Card.

  • Start/end times when creating a new event

    When creating a new calendar even on the iphone, how do I give it non-5 minute interval start and end times? I should be able to type in any time I please with the keyboard, but I can't figure out how.

    There is nothing for you to figure out - the 5-minute intervals are it with no manual entry available.
    http://www.apple.com/feedback/iphone.html

  • Returning more than 250 search result hits in Outlook 2013

    Hi,
    I need to search over a very large amount of emails. My searches each have more than 250 hits, and I need to see all results. Currently, Outlook is limiting the number of results to 250.
    I have gone to File > Options > Search, and unticked 'Improve search speed by limiting the number of results shown'.
    I have also amended my registry, per this article:
    http://www.msoutlook.info/question/669.
    I have restarted my machine, but I am still getting only 250 results.
    Does anybody have further suggestions that I can try?
    Many thanks in advance,
    Keith
    R K Howard

    Hi,
    I tested the registry setting, but it didn't work in my environment.
    By default, when we do an instant research in Outlook 2013, it shows the first 30 matches. If we click
    More below the results, we will get up to 250 results. However, if we clear the 'Improve search speed by limiting the number of results shown' option, Outlook will bypass the limit and show all results matched. See:
    http://office.microsoft.com/en-in/outlook-help/find-a-message-with-instant-search-HA102840067.aspx
    Please try to delete the registry and untick the 'Improve search speed by limiting the number of results shown' option, restart your Outlook and then check if the option will be ticked again.
    We can also try to run a repair of your Office installation to check if it helps. See:
    http://office.microsoft.com/en-in/outlook-help/repair-office-programs-HA010357402.aspx
    Please let me know the result.
    Best Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • How to Store the result sets of a stored procedure that is returning more that one result set in two different table ?

    Hi Experts,
       I have on stored procedure which returns mote than one resultset i want that to store in two different temp table how can achieve this in SQL server.
     following is the stored procedure and table that i need to create.
    create procedure GetData as begin select * from Empselect * from Deptend 
    create table #tmp1 (Ddeptid int, deptname varchar(500),Location varchar(100))
    Insert into #tmp1 (Ddeptid , deptname ,Location )
    exec GetData
    create table #tmp (empid int , ename varchar(500),DeptId int , salary int)
    Insert into #tmp (empId,ename,deptId,salary)
    exec GetData
    Niraj Sevalkar

    You cant get two resultsets out of SP like this. The workaround is to merge and bring the resultsets.
    For this number of columns as well as corresponding datatypes have to be compatible. Also you will need one additional column which indicates resultset value. Then use this as filter to get your desired resultset out
    create procedure GetData as
    begin
    select 'resultset1' as Cat,*,.. N columns from Emp
    union all
    select 'resultset2' as Cat,*,.. N columns from Dept
    end
    create table #tmp1 (Ddeptid int, deptname varchar(500),Location varchar(100))
    Insert into #tmp1 (Ddeptid , deptname ,Location )
    Select column1,column2,column3
    from OPENROWSET('SQLOLEDB','Data Source=Server_name;Trusted_Connection=yes;
    Integrated Security=SSPI','Execute yourdb..GetData')
    WHERE Cat = 'resultset1'
    create table #tmp (empid int , ename varchar(500),DeptId int , salary int)
    Insert into #tmp (empId,ename,deptId,salary)
    Select column1,column2,column3, column4
    from OPENROWSET('SQLOLEDB','Data Source=Server_name;Trusted_Connection=yes;
    Integrated Security=SSPI','Execute yourdb..GetData')
    WHERE Cat = 'resultset2'
    also see
    http://sqlblogcasts.com/blogs/madhivanan/archive/2007/11/26/select-columns-from-exec-procedure-name-is-this-possible.aspx
    Another method is to populate table with relevant resultset within procedure itself and then select from the table directly outside.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • When creating a new event it tells me "attendees can not be changed" I didn't try to change attendees I was simply inviting one. What's happening? I did a reboot but the same message showed up again

    I am trying to invite one person to an event.  I click the plus sign create the event and add my one attendee. However, when I go to complete it the attendee is no where to be found and I get a pop up box that's says "attendee can not be changed". I didn't change the attendee. The  names was pulled from the address book with no problem. I do notice when I go to change my calendar that the attendee line seems to disappear.  Help?  I am using iCloud with Mac book Pro, ipad2 and iPhone.

    Connect to iTune and "Check for Update" (tap to enalrge image)

  • Thunderbird crashing when creating a new event

    I have been using Thunderbird for close to 8 years and this just started happening. Any suggestions would be appreciated. Here are the details to the issue:
    AdapterDeviceID: 0x0046
    AdapterVendorID: 0x8086
    Add-ons: %7BA69F5EC7-88F0-4902-A15C-E569DFA33C3A%7D:2.4.10.0,%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D:3.3.2,%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D:31.4.0
    AvailablePageFile: 12791623680
    AvailablePhysicalMemory: 4739854336
    AvailableVirtualMemory: 3806511104
    BIOS_Manufacturer: Hewlett-Packard
    BlockedDllList:
    BreakpadReserveAddress: 44761088
    BreakpadReserveSize: 41943040
    BuildID: 20150109111741
    CrashTime: 1421775875
    EMCheckCompatibility: true
    FramePoisonBase: 00000000f0de0000
    FramePoisonSize: 65536
    InstallTime: 1421691466
    Notes: AdapterVendorID: 0x8086, AdapterDeviceID: 0x0046, AdapterSubsysID: 1439103c, AdapterDriverVersion: 8.15.10.2189
    D3D10 Layers? D3D10 Layers- D3D9 Layers? D3D9 Layers+
    ProductID: {3550f703-e582-4d05-9a08-453d09bdfdc6}
    ProductName: Thunderbird
    ReleaseChannel: release
    SecondsSinceLastCrash: 789
    StartupTime: 1421775473
    SystemMemoryUsePercentage: 43
    Theme: classic/1.0
    Throttleable: 1
    TotalPageFile: 16754044928
    TotalPhysicalMemory: 8377974784
    TotalVirtualMemory: 4294836224
    URL:
    Vendor:
    Version: 31.4.0
    Winsock_LSP: MSAFD Tcpip [TCP/IPv6] : 2 : 1 :
    MSAFD Tcpip [UDP/IPv6] : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD Tcpip [RAW/IPv6] : 2 : 3 :
    MSAFD RfComm [Bluetooth] : 2 : 1 : %SystemRoot%\system32\mswsock.dll
    MSAFD Tcpip [TCP/IP] : 2 : 1 :
    MSAFD Tcpip [UDP/IP] : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD Tcpip [RAW/IP] : 2 : 3 :
    RSVP TCPv6 Service Provider : 2 : 1 : %SystemRoot%\system32\mswsock.dll
    RSVP TCP Service Provider : 2 : 1 :
    RSVP UDPv6 Service Provider : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    RSVP UDP Service Provider : 2 : 2 :
    useragent_locale: en-US
    This report also contains technical information about the state of the application when it crashed.

    I think you pasted this text from crash reporter? Please report the crash to Mozilla from there and post resulting crash links from Help -> Troubleshooting page here.

  • In iCal (5.0.2) why is it set to default a new event to ALL DAY? How can you change it?

    Seriously drives me crazy.

    Greetings,
    Read through this: http://www.macworld.com/article/1162218/how_to_make_lions_ical_less_annoying.htm l
    Cheers.

Maybe you are looking for

  • Campaign Automation Responses

    All I have configured campaign automation . Scenario: To collect all survey responders to one target group and collect non-responders to different target group. System Settings: Configuration: 1.     Objective, tactics, campaign type, communication m

  • The Communications Channel based in JDBC Adapter in order to Receive

    We have a several communication channel based in jdbc adapter connecting to Oracle database in order to receive information from our R3 System, but now is not working i do not see any message error in our XI, i see that the message was succefull proc

  • Preview(610) deny file-write-create issue

    I was reviewing a document in Preview (a PDF that I downloaded from the internet) and added annotations with notes and rectangles - frequently using cmd-S to save versions (I could see the older versions ising "Revert document..."  After I closed and

  • I need a driver for AMD graphics card

    Hi I have a video card in a laptop model : AMD Mobility Radeon HD 6370 And I'm quite sure of it Now I installed Windus 7 and I can not find it driver The driver found Within HP website does not fit my model. Is suitable only for model "Radeon HD 6940

  • Constant script error

    I've had this problem for weeks and asked for help here but no one replied. In Facebook, among others, the browser runs for maybe 5 minutes and then begins to slow down and stop responding. I have done every single step recommended here and it still