Remembering/updating values (text based combat)

So I'm making a simple text based game where I have a (so far) very simple combat system.
I'm using a switch-thingy where I can choose some spells to attack with, and after I made my choice the attack is performed and then the enemy gets to attack then the switch loop starts over. Probably not the best solution, but it'll have to do for now (or?). I and the enemy has a specified amount of health, but here's the simple problem; both me and my enemy will obviously starts counting health from full every time. How would I make the value being stored after every loop?

It should be outside the loop, unless I'm mistaken. My code basically looks like this
public class combat
     public static void main (String [] args)
          *variables*
          do
               *loop*
                    *cases* (different spells)
               if *my attack hits*
                    *print result to combat log*
               else
                    *print result to combat log*
               if *my enemy hits*
                    *print to combat log*
               else
                    *print to combat log*
}Don't I have to do something more to make the variable save between the loops? It doesn't do that at least.

Similar Messages

  • UpdateXML : How to update EmployeeName tag based on EmployeeID value

    Hi All,
    My XMLType (EMP_DOCUMENT) field in a table stores the following simple XML structure:
    <DEPARTMENT>
         <DEPARTMENT_ID>1</DEPARTMENT_ID>
         <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
         <EMPLOYEE>
              <EMPLOYEE_ID>1</EMPLOYEE_ID>
              <FIRST_NAME>ABC</FIRST_NAME>
              <EMAIL>ABC</EMAIL>
    </EMPLOYEE>
         <EMPLOYEE>
              <EMPLOYEE_ID>2</EMPLOYEE_ID>
              <FIRST_NAME>xyz</FIRST_NAME>
              <EMAIL>xyz</EMAIL>
    </EMPLOYEE>
         <EMPLOYEE>
              <EMPLOYEE_ID>3</EMPLOYEE_ID>
              <FIRST_NAME>zzzz</FIRST_NAME>
              <EMAIL>zzz</EMAIL>
    </EMPLOYEE>
         <EMPLOYEE>
              <EMPLOYEE_ID>4</EMPLOYEE_ID>
              <FIRST_NAME>yyyy</FIRST_NAME>
              <EMAIL>yyyy</EMAIL>
    </EMPLOYEE>
    </DEPARTMENT>
    Employee_ID is unique and Employee_Name is not unique.
    I have a requirement to update the Employee_Name tag where i have the Employee_ID and the value to be updated.I tried the following but it updates all Employee_Names instead of updating the record i want:
    UPDATE EMPLOYEE_DOCUMENTS p
    SET p.EMP_DOCUMENT = updateXML(p.EMP_DOCUMENT,
                   '/DEPARTMENT/EMPLOYEE/FIRST_NAME/text()',
              'Scott')
    WHERE DOCUMENT_ID = 1
    AND existsNode(p.EMP_DOCUMENT,'/DEPARTMENT/EMPLOYEE[EMPLOYEE_ID = 2')=1
    I can see that updateXML essentially acts as 'ReplaceXML' where one tag can be searched and replaced with the new value.But is it possible to UPDATE a tag based on other tag at the same level (like update the employee_name based on employee_id)
    Thanks,
    Srihari
    Edited by: srihari manian on Jul 15, 2009 7:19 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I believe this is what you are looking for
    WITH employee_documents AS
    (SELECT XMLTYPE('<DEPARTMENT>
    <DEPARTMENT_ID>1</DEPARTMENT_ID>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <EMPLOYEE>
    <EMPLOYEE_ID>1</EMPLOYEE_ID>
    <FIRST_NAME>ABC</FIRST_NAME>
    <EMAIL>ABC</EMAIL>
    </EMPLOYEE>
    <EMPLOYEE>
    <EMPLOYEE_ID>2</EMPLOYEE_ID>
    <FIRST_NAME>xyz</FIRST_NAME>
    <EMAIL>xyz</EMAIL>
    </EMPLOYEE>
    <EMPLOYEE>
    <EMPLOYEE_ID>3</EMPLOYEE_ID>
    <FIRST_NAME>zzzz</FIRST_NAME>
    <EMAIL>zzz</EMAIL>
    </EMPLOYEE>
    <EMPLOYEE>
    <EMPLOYEE_ID>4</EMPLOYEE_ID>
    <FIRST_NAME>yyyy</FIRST_NAME>
    <EMAIL>yyyy</EMAIL>
    </EMPLOYEE>
    </DEPARTMENT>') emp_document
      FROM DUAL
    SELECT updateXML(p.EMP_DOCUMENT,
    '/DEPARTMENT/EMPLOYEE[EMPLOYEE_ID = 2]/FIRST_NAME/text()',
    'Scott')
      FROM employee_documents pwhich just updates the name for employee id 2.

  • Update a table based on Min value of a column of a Another Table.Pls Help.

    Dear All,
    Wishes,
    Actually I need update statement some thing like below scenario...
    Data in table is like below:
    I wrote a query to fetch data like below ( actually scenario is each control number can have single or multiple PO under it ) (i used rank by to find parent to tree like show of data)
    Table: T20
    Control_no        P_no  Col3
    19950021     726473     00
    19950036      731016     00
    19950072     731990     00
                     731990 01
    19950353     734732     00
                     734732 01
    19950406     736189     00
                 736588     01
                 736588     02
                 736588     03                
    Table : T30
    Control_no      P_no              col3
    19950021     726473 
    19950036     731016
    19950072     731990     
                 731990     
    19950353     734732     
                  734732     
    19950406     736189     
                  736588     
                  736588     
                   736588     
      Now requirement is I need to update Table T30's col3 (which do have values in T20 but not this table) in such a way that , It should take MIN (COL3) from T20 and then update that value to related Col3)
    Better I can explain through below new data format in T30 after update:
    After update it should like:
    Table : T30
    Control_no       P_no    col3 (this is updated column)
    19950021     726473   00  -- as this is min value for Pno 726473 belongs to Control NO 199950021 in Table T20 above
    19950036     731016   00  -- as this is min value for Pno 726473 belongs to Control NO 199950021 in Table T20 above
    19950072     731990   00  -- see here..both Pno should updated as '00' as MIN value col3 in Table T20 related to this
                 731990      00     record is '00'  (out of 00,01 it should select 00 and update that value here)
    19950353     734732      00  -- same again both Pno should updated as '00' as MIN value col3 in TableT20 related to this
                 734732      00     record is '00'  (out of 00,01 it should select 00 and update that value here)
    19950406     736189      00  -- As there is single col3 value in T20, 00 should be updated here.
                 736588      01  --  Here it should update col3 as '01' since for this pno(736588)
                 736588      01  --  Here too it should update col3 as 01 per requirement ,minimum value of this pno in T20
                 736588      01  --     same here too.. Sorry if my post formatting is not good...
    Hope i am clear in my requirement..(update T30 col3 based on min value of col3 of related records)
    Please suggest some update sql for this...(ideas would be great)
    I am using oracle 10 g version soon will be migrated to 11g..
    Regards
    Prasanth
    Edited by: Onenessboy on Oct 20, 2010 12:13 PM
    Edited by: Onenessboy on Oct 20, 2010 12:15 PM

    Onenessboy wrote:
    I am really sorry, my post so nonsense in look..
    I used to use for actuall code..
    the out put i tryped, i used [pre] , [/pre] but still does not look good..
    hmm..thanks for your suggestion hoek..
    so any ideas about my requirement...I would suggest spending a bit more time trying hoek's suggestion regarding {noformat}{noformat} tags instead of repeatedly asking for more help.
    Because to understand your requirement, people are going to have to read it first.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Display as text based on pl/sql - how to return value

    Hi,
    I have a item set as "display as text based on pl/sql". How do I get the PL/SQL anonymous block to return the value of the item?
    My function declares and populates a variable called t_output which is the value I want displayed in the item. The PL/SQL I have written is correct as I have tried it in SQLPlus* with DBMS_OUTPUT.PUT_LINE and I get the correct output, but I don't know how to set my item to the value of t_output. I have tried adding ":P73_ITEM := t_output;" into the end of the PL/SQL block.
    Thanks
    Lucy

    Hi Lucy,
    Try this and see.
    make the display as:display as text(saves state)
    source type: sql query
    in source value or expression type
    select func(arguments) from table name;
    Good luck

  • Updating the recoed based on the value of check box

    I have a form which has a check box for each record.
    I want to update the values of the checked records.
    Enclosing my code below:
    htp.htmlOpen;
    htp.headOpen;
    htp.title ('Out Details Form');
    htp.headClose;
    htp.bodyOpen;
    htp.header (1,'Out Details Form');
    htp.formOpen ('RSA.UPDATE_OUT_RECORDS');
    br_code := substr(PORTAL.wwctx_api.get_user(),1,2);
    product_code := upper(p_product_code);
    for each_rec IN ref_cursor (p_date,br_code,product_code)
    loop
    htp.p(each_rec.ref_no);
    htp.p(each_rec.name);
    htp.p('<input type = "hidden" name ="p_ref_no" value = '||each_rec.ref_no||'>');
    htp.p ('<input type = "checkbox" name = "p_cd" >');
    htp.p ('<br>');
    end loop;
    htp.p('<br>');
    htp.p ('Courier Name');
    htp.p('<input type = "text" name ="p_courier">');
    htp.p('Courier Number');
    htp.p('<input type = "text" name ="p_courier_no">');
    htp.p('Destination Branch Code');
    htp.p ('<input type = "text" name ="p_branch">');
    htp.p('<br>');
    htp.formSubmit ('Submit');
    htp.bodyClose;
    htp.htmlClose;
    end;
    my update procedure is given below
    Create or Replace PROCEDURE RSA.UPDATE_OUT_RECORDS
    p_ref_no IN PORTAL.wwv_utl_api_types.vc_arr,
    p_cd IN PORTAL.wwv_utl_api_types.vc_arr,
    p_courier IN VARCHAR2,
    p_courier_no IN VARCHAR2,
    p_branch IN VARCHAR2,
    submit IN VARCHAR2
    as
    begin
    for i in 1..p_ref_no.count loop
    htp.p(p_ref_no(i));
    update RS_MIMO_TRANSACTIONS
    set RS_MIMO_TRANSACTION_TO_PLACE = p_branch,
    RS_MIMO_TRANSACTION_OUT_TIME = sysdate,
    RS_MIMO_TRANSACTION_COURIER_NO = p_courier_no,
    RS_MIMO_TRANSACTION_COUR_NAME = p_courier
    where RS_MIMO_TRANSACTION_REF_NO = p_ref_no(i);
    commit;
    end loop;
    exception
    when others then
    null;
    end;
    When I ran the above all the records are getting updated
    even if I have not clicked the check box.
    Please help me how to check the value of the checkbox in the UPDATE_OUT_RECORDS procedure and updating those records for which the check box is clicked.

    You can declare one more dummy variable in your procedure to be used as checkbox field in your form and with some javascript code you can set the value 'Y'(es) or 'N'(o) in the original variable which you can refer it in your update procedure to update values in the table. Here is the sample code how you can do this:
    declare
    lv_string varchar2(32767);
    li_ind integer;
    begin
    lv_string := '<SCRIPT LANGUAGE="JavaScript">
         function set_chkbx_value(row_num){
         SampleForm.p_yes_no[row_num].value = (SampleForm.p_dummy_chkbx[row_num].checked)?"Y":"N";
    </SCRIPT>';
    lv_string := lv_string ||'<BODY>
              <CENTER>
              <form name=SampleForm action="p_update_table" METHOD="POST" ENCTYPE="multipart/form-data">
              <div align="center">
                   <center><TABLE>
                   <TD align="center"><TABLE BORDER="1" CELLSPACING="2" CELLPADDING="0">
                   <BR><TR>
                   <TH><b><font STYLE="font-family:Tahoma; color:brown; font-size:9pt;">Name</font></b></TH>
                   <TH><b><font STYLE="font-family:Tahoma; color:brown; font-size:9pt;">Salary</font></b></TH></TR><TR>';
         For li_ind in 1..10 Loop     
         lv_string := lv_string ||'<TR><TD ALIGN=middle><INPUT TYPE=text SIZE="20" NAME="p_name" MAXLENGTH = "30" >
                             <INPUT TYPE=text SIZE="10" NAME="p_salary" MAXLENGTH = "30" >
                             <TD ALIGN=middle><INPUT TYPE=checkbox SIZE="1" NAME="p_dummy_chkbx" OnClick="set_chkbx_value('||(li_ind - 1)||')"></TD>
                             <INPUT TYPE="hidden" NAME="p_yes_no"></TR>';
         End Loop;
         lv_string := lv_string ||' </TABLE></CENTER>
              <h2 align="center">
              <INPUT TYPE="Submit" VALUE="SAVE">
              <input type="reset" value="RESET"><h2>
              </TABLE>
              </FORM>
              </BODY>';
    htp.p(lv_string);
    end;
    Create or Replace PROCEDURE p_update_table
    p_name IN PORTAL.wwv_utl_api_types.vc_arr,
    p_salary IN PORTAL.wwv_utl_api_types.vc_arr,
    p_dummy_chkbx IN PORTAL.wwv_utl_api_types.vc_arr,
    p_yes_no IN PORTAL.wwv_utl_api_types.vc_arr
    as
    begin
    for i in 1..p_name.count loop
    If p_yes_no(i) = 'Y' Then
    update emp
    set sal = p_salary(i)
    where ename = p_name(i);
    commit;
    end loop;
    exception
    when others then
    null;
    end;

  • FM to update value into texts

    Hi All!
    In VLO2N transaction under header --> Texts in which text elements are configured by the functional teams to enter texts corresponding to the delivery details.The info into these texts are generally updated manually.Is there any FM/BAPI to update these text elements through programs.
    Please advise...
    Regards
    Praneeth

    Hi for Long texts
    use the following function Module
        CALL FUNCTION 'SAVE_TEXT'
          EXPORTING
            client          = sy-mandt
            header          = wa_head
          TABLES
            lines           = i_tline
          EXCEPTIONS
            id              = 1
            language        = 2
            name            = 3
            object          = 4
            OTHERS          = 5.

  • Need a solution for updating values in table

    My oracle version is 11 and my table name is nit_xml in which column name is cust_dtls
    Data's of nit_xml table
    <root>
    <Cust_dtls> Nitesh </Cust_dtls>
    </root>
    I just want to update Nitesh to Nit ..
    Its i inserted values through this way
    INSERT INTO nit_xml
    VALUES (
    '<root>
    <Cust_dtls> Nitesh </Cust_dtls>
    </root>'
    So i tried updating in my own way as like this way
    UPDATE nit_xml
    SET cust_dtls = '<root>
    <Cust_dtls> Nitesh </Cust_dtls>
    </root>'
    WHERE cust_dtls = '<root>
    <Cust_dtls> Nitesh </Cust_dtls>
    </root>';
    But not working so can anyone give me ideas on XML as how it works and is it possible or not to update through query .. Its note that i want to update column cust_dtls based on same column value and not any other datatype as number or varchar2 because based on other datatype it worked easily and second thing its i am using TOAD application so in that manual updation is possible which is fine but i need to update through query directly ..
    Regards,
    Nitkhush ...

    Niteshkhush wrote:
    My oracle version is 11 and my table name is nit_xml in which column name is cust_dtls
    TABLE nit_xml
    Name Null? Type
    CUST_DTLS XMLTYPE
    This is new data I have inserted newly now ..
    <H>
    <cust_dtls>
    <cust_name>Nitesh</cust_name>
    <cust_phone>9790755104</cust_phone>
    <cust_place>Ambattur</cust_place>
    </cust_dtls>
    <x2>
    <cust_name>Bharathi</cust_name>
    <cust_phone>123</cust_phone>
    <cust_place>Mylapore</cust_place>
    </x2>
    </H>
    Update query :
    UPDATE nit_xml
    SET cust_dtls = UPDATEXML (cust_dtls, '/root/cust_phone/text()', 132345)
    WHERE TRIM (EXTRACT (cust_dtls, '/root/cust_phone/text()')) = 9790755104;
    Its showing as 0 rows updated i cant find out any reason as what's happening .. I want to know also as why without TRIM its extraction is not possible ...Your XPath is incorrect. it should be /H/cust_dtls/cust_phone/text(). You dont have a tag as root. Its H.

  • Importing Value/Text into drop down menu Binding tab

    I did this before and I can't for the life of me remember how I did it. I need to be able to replace the text in the Value and Text areas (as shown below) with updated text. I don't think I did it using Data binding. Seems like I was able to use either an .xml or .csv file and copy and paste it and I got the result I needed.
    I am splitting the Value among multiple fields. I know this was not entered manually as there are about 5000 entries. Any help would be greatly appreciated!
    Thanks, Gary

    If the Clip board has copied one column(ex: excel sheet) it will copy all the rows as values "Text" of the drop down ONLY.
    If the Clip board has copied 2 columns the first column goes in to "Text" and the second column goes into"Value". By default the it will be checked the "Specify item values" check box too.
    All you need here is:
    1.format text and values in to 2 separate columns to populate the dropdown. (can use excel features to generate the spreadsheet. This step output should be in 2 columns only to go in to text and values of DD).
    2. place a dropdown field (no properties changes required on any TAB(ex: binding))
    3. copy the 2 columns from the spreadsheet and paste it using the "paste from clipboard" under "Field" tab
    4. now check the binding tab, should be there both values and text for all the entries provided by spread sheet.
    Hope this helps, If i understand incorrectly please ignore this.

  • Where is "Display as Text (based on LOV, saves state)"

    I am developing an application using the version of HTMLDB that comes with OracleXE.
    I have a tabular form, in which the default column for a particular item is sourced from a previously entered item on another page. This is a lookup item and needs to be non-changeable by the user. So I want to use the "Display As" option "Display as Text (based on LOV, saves state)". However, this option is not available in the pull-down for "Display As". The option "Display as Text (based on LOV, does not save state)" is available, but using this option means that the item is not saved to the database.
    Does anyone know why the stateful display as option is not available.
    Thanks in advance,
    Rob

    Scott, thanks for the feedback. The problem is that although the value is displayed correctly, it is NOT saved to the database. Effectively, header information is entered in a previous screen, and one of the entered fields is written to each of the detail lines associated with the header. We are re-platforming an existing application (written in an obscure form of basic), and at this stage changing the schema is not an option. So this header item (which is a foreign key to a "store" table), is meant to be written down to each line, on the screen displayed as the store name, and written to the inserted lines as the lookup id. If I use the dispaly as text save state option teh database is updated correctly, but displays the id rather than name on the screen. The only display as lov option i can see is the one that does not save state. If I use this option the screen displays as I want but the database is not updated. I need to use the display as lov saves state option. but i do not see it.
    Any ideas?
    Thanks for your time.
    Rob

  • Display As Text (based on LOV, saves state)  "p_t03" was assigned by APEX

    Hi All,
    I have an ITEM
    Name: P36_INT
    Display As: Display As Text (based on LOV, saves state)
    Output in my HTML:
    [input type="hidden" name="p_t03" value="YES" />[span id="P36_INT">Interior[/span>
      'p_t03' was assigned by APEX
      In my Javascript I have to access it as the following to get the "YES" value:
      var lintObj = html_GetElement('p_t03');
      Originally it was 'p_t01' but it changed from 'p_t01' to 'p_t03' somehow.. out of my control.
      How do I assign an ID or assign my own name to the "hidden" item?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Scott, thanks for the feedback. The problem is that although the value is displayed correctly, it is NOT saved to the database. Effectively, header information is entered in a previous screen, and one of the entered fields is written to each of the detail lines associated with the header. We are re-platforming an existing application (written in an obscure form of basic), and at this stage changing the schema is not an option. So this header item (which is a foreign key to a "store" table), is meant to be written down to each line, on the screen displayed as the store name, and written to the inserted lines as the lookup id. If I use the dispaly as text save state option teh database is updated correctly, but displays the id rather than name on the screen. The only display as lov option i can see is the one that does not save state. If I use this option the screen displays as I want but the database is not updated. I need to use the display as lov saves state option. but i do not see it.
    Any ideas?
    Thanks for your time.
    Rob

  • Oracle Alert: Access before and after update values of a table column

    We have a requirement where a notification needs to be sent when 'END_DATE' attribute (column in a table X) is set, in an Oracle Applications form.
    I have defined an Event based Oracle Alert which fires 'On Update' of the table X.
    Could anyone please let me know as how to access the value of 'END_DATE' before and after update (i.e :new.END_DATE and :old.END_DATE) in the sql query of the alert.
    The need to use the before update and after update values of the attribute 'END_DATE' is that if we add the condition END_DATE is not null, the alert is sent even if any other attrbutes are updated in the Oracle form which is not the intended behavior.
    Appreciate any help.
    Thanks

    Hi
    use selectionlistener for your first table then add clientlistener and serverlistener so that you will get the rows on click in back bean.
    then get second table vo and and create and add row for that view object. add partial target to refresh your second table from back bean.
    on click of save call commit operation.

  • Update values of custom fields in table HRPAD506-Additional Data for PAD506

    Hi Experts,
    my requirement is write a report program to upload a file with records.
    I have to capture this records into an internal table and have to update values of 5 custom fields based on ADATANR.
    Can anyone suggest me about any FM or any way of doing this.
    Urgent requirement.
    Will HRIQ_RFC_BOOKING_CHANGE help.
    thankx.
    Duttad.

    hi,
    Above mentioned that when the values are entered in the customised fields they are not updating in the to the table mara.
    so, the program name and screen number which you are configuring in the spro, in that program name and in that screen number code it as below:
    (you could find the field statements in that screen for the standard fields like FIELD MARA-MEINS.)
    for example:
    PROCESS BEFORE OUTPUT.
           PROCESS AFTER INPUT.
          FIELD MARA-zzfieldname.
    Refer the oss note : 38229
    Thanks and regards.

  • Reminder for text based PO's on plant level or purchasing org. level?

    Hi,
    I work for a corporate company and we have in our system arround 100 different plant codes (of more or less different companies).
    My problem is now, how to set-up the reminder in part of text based purchase orders for the different plants? Or different purchase organisation will be also okay.
    Because not all of the companies want to work with the same days and also not with the same over- and under- delivery tolerances.
    I only talk about text based PO's, for PO's with material there's no problem.
    Is there a user exit or something special what I can use to set it up?
    Many thanks
    Michael

    Hi
    We had also a similar issue for Text PO's as they donot have an inforecord.
    We have to cretae anew Z table that holds this data. This can be based on the Purchase organization, Plant and compnay code combination.
    Use the data from this table to populate the values in the PO created using the BAdI - ME_PROCESS_PO_CUST - Enhancements for Processing Enjoy Purchase Order: Customer use the method PROCESS_ITEM
    Please take help of ABAPer for development.
    Thanks & Regards
    Kishore

  • About updating  long text  in the document item  with bdc of fb02

    HI,
    I have a question about updating  long text  in the document item of sap:
    Can I directly updating the long text information with the fuction save_text?
    The long text is in :
    tcode: fb02 -->input document no ... --> Document overview --> select one document
    long text --> updating the value.
    Becaust I want to update some items in a G/L Account with bdc or other technique, but I found I can't   choose the items in the G/L Account with bdc automatically .That means I can't get the selected items and update them.So I try to update them with the function save_text  directly (I know the doc no,bukrs,fiscal year ,item no which will decide the long text item).
    Who can help me ?Or is there any way to solve the problem? Thanks very much.

    Yes, you can update directly using SAVE_TEXT.
    Check this for the same.
    [update long text in FB02|https://forums.sdn.sap.com/click.jspa?searchID=22194840&messageID=5418662]

  • My Sites "Updating values in this field is disabled temporarily"

    Managed metadata is configured and I am able to access and add terms, etc. I am able to go to the User Profile Service in Central Admin and update the managed metadata fields such as "Ask Me About", "Past Projects", "Skills",
    etc. However, when I go to the My Site host and try to edit my profile there, I get the error:
    There was a problem retrieving data for this field. Updating values in this field is disabled temporarily. You can still update values in other fields.
    Managed Metadata Service is available:
    I am able to go to the Managed Metadata service in Central Admin, add terms, etc.
    Service Connection settings:
    Checked - This service application is the default storage location for Keywords
    Checked - This service application is the default storage location for column specific term sets
    Editing profile from My Site host:
    Ask me About: There was a problem retrieving data for this field. Updating values in this field is disabled temporarily. You can still update values in other fields.
    Edit the same profile in Central Admin works fine:
    Ask Me About: No error, able to add data.
    All the solutions for this error that I have been able to find are not working, but they are for when the managed metadata service is inaccessible, or the fields cannot be updated in Central Admin either. I've recreated both the User Profile
    service and the Managed Metadata service. Any ideas?
    Thanks

    Hi tammylj,
    Based on your description, you should use the different service accounts for your CA web application and MySite host site web application, since "Ask Me About" is working for CA but not for MySite host site, the service account for MySite may not read
    and write managed metadata term store.
    please check and make sure your MySite web application service account is added in the Managed Metadata service application with permission "Read Access to Term Store" and "Read and Restricted Write Access to Term Store", then it should work.
    http://james-brennan.co.uk/2011/10/19/failed-background-check-when-the-managed-metadata-service-says-no/
    Thanks
    Daniel Yang
    TechNet Community Support

Maybe you are looking for

  • I can not download adobe reader

    Ever since the last Adobe Reader update I have been unable to open pdf files in Safari. So I attempted to delete all Adobe applications in hopes of reinstalling the software. Now I can not even save the Adobe Reader install File to download.

  • Problem in HR IDoc

    Hi Abappers, I have extended the basic type HRMD_A07 to HRMD_A07_EXT by adding 1 segment as a child for the segment E1PAD25 taking additional fields from HRPAD25 table which are not in the segment. Now, how should i proceed furththur as i have to pop

  • App with hadwriting notes for .pdf and .doc files?

    Is there and app that aloud to makes HANDWRITING NOTES (with Stylus, using different colours, sizes, etc) in files .pdf or .doc??? I really need something like Paperpad App, to make notes while reading. Thank you.

  • Snippets in Robohelp

    I am currently evaluating Robohelp 6.0. I'd like to know the best way to include repeatable text in topics? I am quite familiar with Flare application; flare uses snippets for that. Is there an analog to Flare's snippets in Robohelp? Regards, Natalie

  • Hey. My mail will not open. Any suggestions

    Hey all. My mail wont start, and i can't not close my computer, it says that i have to close my mail program first.