Add AddressBook to a view

I have what I thought would be a simple task.
I have a sample project that will let a user click a button to pull up the AddressBook user interface within a view. From what I see most of the work is done here:
-(IBAction) checkOutBook: (id)sender
ABPeoplePickerNavigationController *peoplePicker=[[ABPeoplePickerNavigationController alloc] init];
[peoplePicker setPeoplePickerDelegate:self];
[self.navigationController presentModalViewController: peoplePicker animated:YES];
[peoplePicker release];
And there is a button on a view has TouchUp Inside linked to this action. Now, instead of clicking a button, I want a view to just have the AddressBook already loaded. I tried putting the code above (everything between the {} ) in the ViewController's didLoad event. Nope, that didn't work. I have the AB framworks imported. I don't get any errors, it's just the view loads with nothing in it.
What am I missing?

Hi,
Can you please explain your requirement, do you want to search contact's by identification types?
If that's the requirement let me know will explain in detail how to enhance contact search by bp identification number's..
Cheers,
Sumit Mittal

Similar Messages

  • Is it possible for Apple to add "key" to the view options selection?

    Is it possible for Apple to add "key" to the view options selection?

    DJ1970,  Unfortunately no.  iTunes does not have the key in the database.
    People who want to know the key of a song can use (unless they already have perfect pitch!) key detection software such as Mixmeister. 
    Once you know the key, iTunes does not even have a field to store it, although you could stick it into Comments or some other unused text field such as Grouping.  These fields are indeed viewable in iTunes.

  • How to add Icon in Tree View in Forms 6.0 (URGENT..!)

    Hello All,
    I want to add icons in tree view (hierarchical tree) by using
    forms 6.0.
    So pls. help me to find out the solution for the same.
    thanks
    Pradeep
    null

    Pradeep (guest) wrote:
    : Hello All,
    : I want to add icons in tree view (hierarchical tree) by using
    : forms 6.0.
    : So pls. help me to find out the solution for the same.
    : thanks
    : Pradeep
    hello pradeep,
    for adding icons in the tree, u willhave to look closely to the
    data format for the tree.in the data format used for populating
    the tree we are supplying 5 fields. the state of the tree node
    (expanded or collapsed), the depth of the node w.r.t the parent
    node, the node value, the node label(what we see on the tree)
    and the node icon which we want to use. for the node icon we
    have to provide the entire path of the icon file. that's it.
    hope this will solve the problem
    null

  • How to add trigger on materialized view?

    Hi, I'm trying to add trigger on materialized view. I don't know how to do it. I'm new to oracle and PL/SQL. Can you guys put some working example please? Thank you for every advise.

    Please check the below link. This answers you query:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:672989600346945045

  • Trying to add website in compatibility view in IE 11 with powershell

    Good morning everybody,
    In our organization, we decided to do every script and maintenance job using powershell. I am trying to do a script to add websites to the compatibility view list in IE11 to worksaround a problem with microsoft update. In IE10, I was able to do it no problem
    by creating a GPO in powershell and changing the value in the registry. However, this seems to have changed in IE11 .
    Can anyone point me in the right way to do this in powershell. I didn't have much luck so far and I'm going in circles.
    Thanks a lot.

    Hi,
    You could push the group policy to add it to compatibility view:
    How to add web site to Compatibility View List via GPO
    http://blogs.msdn.com/b/asiatech/archive/2013/10/23/how-to-add-web-site-to-compatibility-view-list-via-gpo.aspx
    Karen Hu
    TechNet Community Support

  • How do you add scrolling to a view in TabbedViewNavigatorApplication?

    This is a mobile app for iOS.
    This particular view includes a series of questions. Answers are posted at the top, with new questions appearing below, meaning that the page gets longer and eventually extends somewhat below the bottom on landscape view.
    Thanks to another post, I was able to work out that mx.core.FlexGlobals.topLevelApplication.aspectRatio reliably returns either "landscape" or "portrait." The other width and height variables do not seem to be reliable.
    Listening to the ViewNavigatorEvent.REMOVING event reliably allows me to re-orient components, using Actionscript, as the user changes the orientation.
    The final part of the solution is to add scrollbars on the landscape view, so that things in that orientation don't become inaccessible.
    So the question is: How does one add scrolling to a View in TabbedViewNavigatorApplication, in a way that allows the user to re-orient the device as desired?
    I know I'm supposed to wrap the scroller around the component. I've tried this in multiple ways, and haven't stumbled on the right method (Im more familiar with Flex 3 than with Flex 4). I haven't seen a solution posted anywhere, though I have read Adobe documentation stating that it is possible. I've read the posts in this forum back to the release of Flex 4.5.1 and haven't seen a solution. Copy and paste code, including import statements, would sure be appreciated.
    Thanks.

    I would like to know this too.
    Howdo you enable scrolling of a TabbedViewNavigatorApplication?
    If I have 10 tabs but only wish to view 3.5 tabs at a time, how do I do this?

  • How do I acquire the activation code to add my iPad to view it on Apple TV?

    How do I acquire the activation code to add my iPad to view it on Apple TV?

    on the same network no code is required
    ipad2 and later is required
    and Apple TV 2g and later is required
    read more here
    iOS: Use AirPlay Mirroring

  • Why can't Adobe add the feature of viewing focus points? This is an obvious,  common sense feature that Adobe Engineers must understrand how to do, No?

    Why can't Adobe add the feature of viewing focus points? This is an obvious,  common sense feature that Adobe Engineers must understrand how to do, No?
    I've seen this requested in several past Lightroom versions.
    Is Adobe not addressing this basic feature for a reason?, I mean, even Aperture has this feature, it can't be that hard to add? Can it?
    Maybe Adobe isn't reading the feature request?

    Honestly, I am hardly qualified to even guess - there are tons of bugs reported that would be easy to fix, but aren't, features that would be useful and easy enough to implement, but aren't. Things like focus points which seem like a no brainer but are never implemented - your guess is as good as mine..
    But to be clear: focus points are different for different cameras, and are stored in proprietary metadata. - not impossible to get at, obviously, but requires some programming/maintenance..
    Worth noting: Apple is shutting down their Aperture business. Yeah, they support focus points and all kinds of good stuff, but I guess Aperture isn't a real money-maker for them (lotsa maintenance work, but not a lot of revenue) - relatively small market.
    Adobe has been working on Revel, and Lightroom Mobile.., instead of focus points (and bug fixes, and...) - my guess: that's where the money is, or where they think it is.
    Cheers,
    Rob

  • Can't double click and add event in month view. HELP!

    For some strange reason, I can't double click to addevent on Ical Monthly view all of a sudden. Whenever I double click, nothing happens. Same thing happens on the year view.
    I can only add event now using the stupid + signs, or go into daily or weekly view. HELP!

    I have this problem too.  Just started today all of a sudden.  When I am in iCal on my Macbook, I double click - like I have been doing since ical was invented - and nothing happens, other than a quick "updating" message.  I tried clicking the "+" button but all it gives me is  "quick event" to add but nothing ever shows up in my iCal calendar on my mac.   When I log into to iCal in the Cloud - lo and behold! - I see dozens and dozens of "new event" entries all over my calendar!  What is going on and how can this be corrected?  At this point my computer's ICal program is basically now useless since I am prevented from adding anything to it. 

  • Add data to table view from input fields in a page

    Hi
            I am developing a BSP page which will be called from SRM shop transaction. After user enters the line item data, data will be passed back to shop transaction using OCI interface and the page attributes (URL).
       (1) How can I add data from input fields to table view on a page on a button click? I am able to add first line but I could not retain first line data when I try to add the second line.
          I am able to add multiple lines to table view if I use view and controller by adding to the line data to static attribute of the controller. I can’t use the controller and view because I can not set the attribute to Controller automatically.
       (2) Is there a way to pass an attribute (URL) to controller from SPRO? Like we pass an attribute to page automatically (Automatic page attribute).
       (3) How can I call a controller and view and pass the page attribute to the controller on a button click from a page with out controller?
    Thanks
    Sreenivas

    I'm trying to test the merge with the following data in a test.txt file:
    ZZZZZ114923000004
    1234Z400660000001
    ZZZZZ114923000010
    Getting an error:
    SQL> @C:\dataformats\sql\pc12seriesMerge.sql
    Directory created.
    SP2-0552: Bind variable "17" not declared.
    SQL>
    here it the pc12seriesMerge.sql file
    set serveroutput on
    create or replace directory user_dir as 'c:\dataformats\incoming\';
    DECLARE
    v_filename VARCHAR2(100); -- Data filename
    v_file_exists boolean;
    v_file_length number;
    v_block_size number;
    f utl_file.file_type;
    s varchar2(200);
    lineString varchar(200);
    v_account varchar(5);
    v_IDN varchar(6);
    v_quantity varchar(6);
    BEGIN
    v_filename := 'TEST.TXT';
    DBMS_OUTPUT.PUT_LINE(v_filename); --shows filename
    utl_file.fgetattr('USER_DIR', v_filename, v_file_exists, v_file_length ,v_block_size );
    IF v_file_exists THEN
    dbms_output.put_line('File Exists');
    create table ext_table (
    account varchar2(5),
    idn number(6),
    quantity varchar2(6)
    organization external (
    type oracle_loader
    default directory user_dir
    access parameters (
    records delimited by newline
    fields (
    account position(1:5) char(5),
    idn position(6:11) char(6),
    quantity position(12:17) char(6)
    location ('test.txt')
    reject limit unlimited;
    MERGE INTO id_req_stg t
    USING (
    SELECT account,
    idn,
    decode(quantity, '-', 0, to_number(quantity)) as quantity
    FROM ext_table
    ) v
    ON ( t.account = v.account AND t.idn = v.idn )
    WHEN MATCHED THEN
    UPDATE SET t.quantity = v.quantity
    DELETE WHERE t.quantity = 0
    WHEN NOT MATCHED THEN
    INSERT (account, idn, quantity)
    VALUES (v.account, v.idn, v.quantity);
    ELSE
    dbms_output.put_line('File Does Not Exist');
    END IF; -- file exists
    EXCEPTION
    WHEN UTL_FILE.ACCESS_DENIED THEN
    DBMS_OUTPUT.PUT_LINE('No Access!!!');
    WHEN UTL_FILE.INVALID_PATH THEN
    DBMS_OUTPUT.PUT_LINE('PATH DOES NOT EXIST');
    WHEN others THEN
    DBMS_OUTPUT.PUT_LINE('SQLERRM: ' || SQLERRM);
    END;
    /

  • Add fields to maintenance view and update then using events

    Hi experts:
      I've created a table with 4 fields, one of them is userid. Also, there is a maintenance view to add new entries.
      I want to display user name when typing userid using events (1 or 21). I know how to do it if username is one of the fields of the table, but there is a requirement to not store username in the table, just userid.
    My question is: is possible to add a field into the maintenance view and update it using events but not store the value in DB?.
    Thanks in advance for your help.
    Regards,
    Carlos.

    In the save event just clear the entries of the field(user name) in the internal table.

  • Add field to a view

    HI All,
    I need add the field IDTYPE to view BP_EMPL_SEARCH.
    WHAT ARE THE STEPS TO DO SO?
    well as possible detailing the steps because I'm new to crm
    Thank you very much

    Hi,
    Can you please explain your requirement, do you want to search contact's by identification types?
    If that's the requirement let me know will explain in detail how to enhance contact search by bp identification number's..
    Cheers,
    Sumit Mittal

  • Webelements : does not support when i add the data sourcce& view in HTML

    hi Masters,
    i am using sap crystal reports 2008 and when i add the data source and add tables to the report and i use web elements functions as my selection screen then it does not show i mean the script remains as it is and when i take out my data source
    then it works when i view it in HTML VIEWR.
    how can i make it to work despite me using the data soruce.
    thank you,
    pasala

    hi Pasala,
    this is due to the sap integration kit which does not support pass-through html. webelements require pass-through html in order to show up as html.
    here's what you can try though:
    1) install the latest sap integration kit on your boe system machine(s)
    2) if the above does not solve the issue follow the steps at the bottom of [this thread|WebElements: HTML not rendering when using Bex Query as Source]
    3) if 2 above doesn't work then see [this thread |Re: WebElements only show HTML tags (even after following WebElement guides)]as a last resort
    hopefully step 1 & step 2 will solve the issue.
    jamie

  • How to add row in multiple view object based on common entity object.

    Hi ,
    I have
    Jdeveloper version - 10.1.3.3.0
    Oracle Database - 11g R2
    I have a situation where i have to show data from one table in three adf tables on jsf page depending on a flag value in a column in table. For this purpose i have done the following steps
    a) Created an entity object on the database table .
    b) Created three view objects on this entity object and edited the view object's SQL and included the where clause
                       WHERE  A.USER_PERSONAL_NO = :P_USER_PERSONAL_NO AND
                           A.AUTH_TYPE = 'LF'
                       The auth_type cloumn decided in which view object the data will be shown
    Now, when i query the data from database by executing the query of these view objects the data is shown correctly in all three view objects. Till here there seems every thing ok
    Now , i have to provide the logic to add records in the adf tables for this i have provided add button in action facet of all three tables which are binded to methods in managed bean,
    when i add a record in a adf table by add button the new row which is created is shown in all three tables . I cant understand why this is happening , please help me to solve this problem.
    How can i make it possible so that the record appears only in that adf table in which the record is added.
    The method for adding record is
                Row rw = currentAM.getWfRecommAuths().createRow();
                rw.setAttribute("UserPersonalNo",this.getQuery_personal_no().getValue());
                rw.setAttribute("AuthPersonalNo","");
                rw.setAttribute("AuthType","LX");
                currentAM.getWfRecommAuths().last();
                currentAM.getWfRecommAuths().insertRow(rw);
               Please help , thanks in advance.

    Hi,
    have a look at polymorphic view objects
    http://download.oracle.com/docs/cd/E21764_01/web.1111/b31974/bcadvvo.htm#CEGDCCCB
    Frank

  • Program to add in the Assignment views Descriptive flexfields segments

    Hi,
    I have added two context fields values in the descriptive flexfield "Additional Assignment Details". I see that the view hrfg_employee_assignments has reflected those changes and has included 4 attribute columns:
    CREATE OR REPLACE VIEW HRFG_EMPLOYEE_ASSIGNMENTS
    (BUSINESS_GROUP_NAME, PERSON_NAME, PREFIX, SUFFIX, FIRST_NAME,
    LAST_NAME, PREFERRED_NAME, MIDDLE_NAMES, TITLE, COLLECTIVE_AGREEMENT_NAME,
    ASSIGNMENT_NUMBER, NORMAL_START_TIME, NORMAL_END_TIME, PRIMARY_FLAG, INTERNAL_ADDRESS,
    MANAGER_FLAG, EMPLOYMENT_CATEGORY, ASSIGNMENT_TYPE_CODE, ASSIGNMENT_TYPE, WORKING_HOURS_AMOUNT,
    WORKING_HOURS_FREQUENCY, EMPLOYEE_NUMBER, HIRE_DATE, ORIGINAL_DATE_OF_HIRE, WORK_TELEPHONE_NUMBER,
    SUPERVISOR_NAME, SUPERVISOR_NUMBER, SALARY_BASIS, ORGANIZATION_NAME, POSITION_NAME,
    JOB_NAME, LOCATION_NAME, GRADE_NAME, PEOPLE_GROUP, PAYROLL_NAME,
    RECRUITMENT_ACTIVITY_NAME, VACANCY_NAME, USER_ASSIGNMENT_STATUS, PER_SYSTEM_ASSIGNMENT_STATUS, PAY_SYSTEM_ASSIGNMENT_STATUS,
    PRIMARY_FLAG_CODE, MANAGER_FLAG_CODE, EMPLOYMENT_CATEGORY_CODE, FREQUENCY_CODE, PER_SYSTEM_STATUS_CODE,
    PAY_SYSTEM_STATUS_CODE, PEO_GRP, PEOPLE_GROUP_50309, CONTEXT, DATE_OF_TEST_2,
    TIME_OF_TEST_2, PLACE_OF_TEST_2, TYPE_OF_TEST_2, DAYS_FOR_PAY_3, HOURS_FOR_PAY_3,
    *"PROM/DEM/TRANSF_ORDER_NUMBER_3"*, ASSIGNMENT_ID, BUSINESS_GROUP_ID, GRADE_ID, JOB_ID,
    LOCATION_ID, ORGANIZATION_ID, PAYROLL_ID, PERIOD_OF_SERVICE_ID, PEOPLE_GROUP_ID,
    PERSON_ID, POSITION_ID, RECRUITMENT_ACTIVITY_ID, SALARY_BASIS_ID, SUPERVISOR_ID,
    VACANCY_ID, COLLECTIVE_AGREEMENT_ID)
    AS
    SELECT .....
    I see that it has added comments in these view columns :
    DESC CONTEXT,800,PER_ASSIGNMENTS,A
    DESC SEGMENT,800,PER_ASSIGNMENTS,A,ASS_ATTRIBUTE1
    DESC SEGMENT,800,PER_ASSIGNMENTS,A,ASS_ATTRIBUTE2
    and so on.
    Now I disable those value codes in the descriptive flexfield from System Administrator and add two new context values.
    Which program should I run to reflect these changes in HRFG_EMPLOYEE_ASSIGNMENTS view?
    Thank you.

    Unfortunately Microsoft decided to make things complicated in 2010. Resource.Assignment.Text1 is not the same as Task.Assignment.Text1.
    As far as I know, VBA is the only solution. I would run the code in the before_save event.
    Rod Gill
    Author of the one and only Project VBA Book
    www.project-systems.co.nz

Maybe you are looking for

  • Voicemail notifications and visual voicemail stopped working

    On September 17th (a few days ago) my phone stopped giving me voicemail notifications and visual voicemail. I have tried restarting my phone, resetting, resetting "all settings" and even calling 611 (I was put on hold for 15 minutes and just gave up

  • T540P External Monitors

    Hi, This question is about the Lenovo T540P laptop (with HD Graphics 4600 ). 1. I would like to know if its possible to connect two external monitors to the laptop (using mini Display Port and vga ports together) - resulting in 3 active screens (lapt

  • Javascript or CSS

    I've got a "portfolio" site. The user clicks a thumbnail and javascript basically says: on click; swap image. My image is sometimes horizontal and sometimes verticle. it was a challenge getting this to work in IE, but it works. But now in Opera it al

  • Upgrade from CRM 2007 to CRM 7.0

    Hello I have a quick question regarding upgrade possibility. CRM 2007 was installed with dual stack (ABAP & JAVA). Now SAP does not allow to install dual stack (see note 855534). This is the case for CRM 7.0 With fresh installation we need one system

  • TS3694 error -42110?

    anybody know what this means?