How to determine active ribbon tab?

My addin ribbon has a few controls which show live database values. To avoid frequent updates I need to determine if my addin ribbon tab (created via Ribbon XML) is active or not. Example: I subscribe to the SelectionChange event in Outlook Explorer and
if my tab is active, actual data will be inquired from the DB. If my tab is not active, no DB inquiry should be performed.
How can I do this? I did not find any event I could subscribe to.
Any help is very much appreciated.
Thanks,
Markus

Hello Markus,
The Fluent UI (aka Ribbon UI) doesn't provide anything for that. But you can use the
GetVisibleMso method of the CommandBars class for checking whether a built-in controls is visible or not. You just need to pass the idMso value of the control to the method, see
Office 2013 Help Files: Office Fluent User Interface Control Identifiers  . But the best way to get the job done is to use callbacks in your custom UI markup. For example, the getVisible callback is invoked when controls are going to be shown on the
ribbon (your tab is active). Thus, you will always know your tab is visible.
C#: bool GetVisible(IRibbonControl control)
VBA: Sub GetVisible(control As IRibbonControl, ByRef visible)
C++: HRESULT GetVisible([in] IRibbonControl *pControl, [out, retval] VARIANT_BOOL *pvarfVisible)
Visual Basic: Function GetVisible(control As IRibbonControl) As Boolean
Read more about the Fluent UI in the following series of articles in MSDN:
Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)

Similar Messages

  • How to find Active Dynamic tab (disclosed) UIComponent?

    Hi all,
    I newbie to Fusion App. extension, preparing a separate application to integrate. My application consist of multiple taskflows and will be opened as seaparate tabs (uses the default UIShell) template. As a part of my application, I may require to do some coding in managed bean to refresh UI components resides inside my page. To make it happen, I need to find the Acitve tab first (i.e. the one that is disclosed).
    Question:
    Does fusion app provides any API or util (say DynamicTabUtil.findComponent(String pComponentId) -- suppose to search component not from view root but the Active tab) to find the current Active dynamic tab component? If so, please let me know the documentation link. If not, is there any way to get this done. (To get this done, I should aware of the standard oracle uses in generating ids for Dynamic tab).
    Thanks in Advance.
    Ragu

    Sorry for the delay in response.
    Jdeveloper version is 11.1.1.6.3, working for Fusion HCM, have to create an extension project to accomodate some additional functionalities.
    Explanation:
    Application is based on UIShell template, can open task-flows under dynamic tabs. Same screen (i.e. same task-flow id) can be opened multiple times since every task flow has its own transaction. As a part of functionality, I require some coding to be done in managed bean to access some UIcomponent and refresh it. Since same screen can be opened under multiple dynamic tabs, I should not start searching the required screen level UIcomponent from root, instead I need to find the Active Dynamic tab component first (i.e. currently disclosed dynamic tab) and then my screen component.
    Scneario:
    Assume Screen A has an SSN input text fidl with id 'ssnFldId'.
    1. User opens Screen A under a dynamic tab (it becomes first tab)
    2. User opens Screen A again under a new dynamic tab (it becomes second tab and Active)
    3. Based on the screen functionality, UIComponent of SSN field belongs to the second tab needs to be accessed. I know I cannot start searching for this component from root but to pick the correct dynamic tab first, followed by this component.
    Question:
    1. Is there any direct API available (say DynamicTabUtil::getActiveTab()) that returns the dynamic tab UIComponent.
    2. If not, how to find it?
    When I was working ADF Application development using Dynamic Tabs, I was able to access the initial version of Dynamic tab source (4 yrs back), customized for our need, worked with that source, hence I knew how the id gets generated for tab, was able to work with that, don't know how it is in Fusin Apps. Your help would be appreciated.
    Thanks in Advance.
    Thanks,
    Ragu

  • How to determine active enhancement set

    Hi there,
    I have enhanced a SAP component and I have added a customer specific button. In the event handler of this button I would like to know which enhancement set is currently active.
    Is it possible to determine this information somehow?
    Thanks,
    Karsten

    Hello Karsten
    If there are no custom implementations of BADI COMPONENT_LOADING, then it will be as indicated by Naresh in the previous reply, a query to table BSPWD_EHSET_ASGN with the client in the where clause should do. This is precisely what is done in the default implementation of BADI COMPONENT_LOADING, in method GET_ACTIVE_ENHANCEMENT_SET.
    If there is a custom implementation of BADI COMPONENT_LOADING then each user can have his own enhancement set assigned. Method GET_ACTIVE_ENHANCEMENT_SET of the custom implementation of the BADI would return the active enhancement set.
    Best Regards
    Luis Rivera

  • How can I activate Built In Ribbon Tab (i.e. TabHome) from the custom ribbon tab ?

    Yes, lots of informations are there about how to activate the custom tab from out there.
    But, there are no such informations, How to activate the Built In Ribbon Tab (i.e. TabHome) from the custom ribbon tab.
    I am with VS 2010, Word 2010, Win 8.1
    I am not good at XMLs. Tell me with designer ways Please.
    Thanks !

    Hello,
    The Ribbon Ui designer doesn't provide anything for that.
    You need to use the
    ActivateTab method of the
    IRibbonUi interface. See
    Ribbon Extensibility in Office 2010: Tab Activation and Auto-Scaling for more information. You can find the built-in control IDs in
    Office 2013 Help Files: Office Fluent User Interface Control Identifiers .

  • How do i make a tab active and make it stay that way always. If i put a website in my home page in order for the tabs to open automatically in that same homepage , this setting is not working, every time I open a tab , a white window appears .

    How do i make a tab active and make it stay that way always. If i put a website in my home page in order for the tabs to open automatically in that same homepage , this setting is not working, every time I open a tab , the window appears white .

    By default Firefox opens a blank page for a new Tab, there is no setting to change that action without installing an add-on.
    New Tab Homepage extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/777

  • How to get active tab strip name using standard function ?

    Dear all,
    I have 5 Tab strip in my view, how can i know which tab strip is active during runtime ?
    Best Regards
    Fernand

    HI
      I hope you may be looking  at this thread , hope its  a  similar requirement as yours
      How to get the selected Tab from a TabStrip.
    Thanks

  • How checkbox "Item Partners" at Tab:Item- partners been activated?

    Dear Gurus,
               I've a problem informed by user. She told me that she would like to change Ship-to Party from A to B. So she has changed Ship-to Party from A to B at header of sales order. The Ship-to Party at header has been changed from A to B but not applied to item. The Ship-to Party at item level still has been A.
                I've checked the log of changes in sales order. She has changed only Ship-to Party at header. It should be applied to item as well, right? The configuration doesn't support changing partner functions at item level.      
                I've investigated the order and found that there is tick in checkbox "Item Partners" at partner function "Ship-to Party" in item level. I think it should be the cause of this problem. But I've no idea how checkbox "Item Partners" at Tab:Item->partners been ticked. Could anyone can explain me how it works and how I can solve this problem?

    Hi,
    You can change the ship-to-party at the item level also.It needs some configuration.
    The path is:
    SPRO>Sales and distribution>Basic functions>Parner determination>Setup partner determination.
    In this click on "Setup partner determination for sales document item".
    Click on partner determination procedure assignment.
    Check what is the procedure assigned to your item category.
    Click on Partner Determination procedures.Select your procedure and click on Partner functions in the procedure.
    You will find ship-to-party there.Select that one and scroll right.There is a checkbox called as notmodifiable.It should be unchecked.If you want it to be mandatory then click on the checkbox mandatory.
    Next click on partner functions.Select "SH" and scroll right.You will find a field called unique.Tick it if you want it to be unique.else untick it.
    Regards,
    Krishna.

  • How to determine whether process Chain is active or Not

    Hello Experts,
    How to determine whether process Chain is active or Not, because i have large number of PC to activate.

    Hi,
    Please check this program in SE38---- /SSA/BWT
    This program will give you information regarding all your process chains which are active and running based on there timings.
    Hope it helps.
    Regards,
    AL

  • How to read data in CRM Activity relationship tab.

    Hello friends,
    I have a requirement to read data from CRM Activity relationship tab.
    Mainly i have to read Transaction No/object refernced trans field of CRM Activity relationship tab.
    Could anybody help me?
    Thanks,
    Bunny

    Hi,
    have you found in the meanwhile a good solution?
    I have also a similar requirement.
    At the moment I'm using the view CRMV_ACTFORGP to get the activities associated to a BP (by the way you have many filters that can be used) and then for each GUID (order guid - CRMD_ORDERADM_H-GUID) I call the fm BAPI_REL_GETRELATIONS to get the list of relationships.
    Regards
    Diego

  • EEWB :  how to determine the business object and the extension type ?

    Hi,
    I ask myself how to determine the business object and the extension type to use to add new fields in a new tab of a specific transaction ? what means each business object, does that correspond to a specific transaction ?
    I need to add a new tab in the ‘BaMI’ business activity in transaction CRMD_ORDER just after the tab 'Actions' at header level.
    Could you help me please to determine which business object and extension type I have to select during creation of the project and which business object category I have to select during creation of the extension (wizard) ?
    Thanks for your help,
    Marie

    Marie,
    In order to determine what type of transaction you are extending, you will need to look at the customizing for the transaction.
    In the IMG:
    Goto:
    Customer Relationship Management->Transactions->Basic Settings->Define Transaction Types.
    You will then choose the transaction defined that you want to extend.  If you display the details of the transaction you will find an attribute called:
    "Leading Transaction Category".  This tells you the general context in which the transaction is used.  The other item to view is the assignment of business transaction categories found in the maintenance screen.
    This information general corresponds to one of the options that the EEWB will give you on the transaction type.
    As far as extensions go, my recommendation is the following:
    - Use CUSTOMER_H Customer Header Extensions for any new fields at the header level.
    - Use CUSTOMER_I Customer Item Extensions for any new fields at the item level.
    Unless you have a specific requirement to extend a segment of the transaction, I recommend placing all new fields in these segments.  The CUSTOMER_H & CUSTOMER_I segments are considered "standard" segments, that are already built into all the necessary API structures. 
    Let me know if you have any further questions.
    Good luck,
    Stephen

  • How to find active sessions count on a server in weblogic server console

    Hi All,
    I would like to know how to find active sessions count on a server in weblogic console. I am using weblogic 11g.
    Regards,
    Sunil.

    On the deployment, monitoring tab, you can select web applications. Here the number of current sessions are listed per web application deployed on the domain.
    The deployment itself (deployments, application, monitoring, sessions) shows a list of sessions and where it is located. Unfortunately, there is no aggregation (but that is something you can so yourself as well).
    When you are using a load balancer in front, the count of sessions on per web application on the domain gives you some clue how many sessions there are present on each server.
    That is to say, when load balancer is using round-robin (and does that correct), you can take the total number of sessions divide it by the number of servers.

  • How to install Active Directory Client on Windows 8.1 Pro

    Hello,
    I like to install the Active Directory client on Widows 8.1 Pro.  I have tried installing RSAT (Remote Server Admin Tools for Windows 8.1, but when I run the setup program it says the Windows Update Standalone
    Installer, the update is not applicable to your computer.  I am running this Windows8.1-KB2693643-x86.msu and downloaded it from here.
    http://www.microsoft.com/en-us/download/details.aspx?id=39296
    So, how do I
    get this installed?
    Thanks
    Paul

    Hi,
    Remote Server Administration Tools for Windows 8.1 is available in the following languages: cs-CZ, de-DE, en-US, es-ES, fr-FR, hu-HU, it-IT, ja-JP, ko-KR, nl-NL, pl-PL, pt-BR, pt-PT, ru-RU, sv-SE, tr-TR, zh-CN, zh-HK, and zh-TW. If the system UI language
    of your Windows 8.1 operating system does not match any of the available RSAT languages, you must first install a Windows 8.1 Language Pack for a language that is supported by RSAT, and then try installing Remote Server Administration Tools for Windows 8.1
    again.
    Please check your system version (64 bit or 32 bit), and download the property one:
    How to determine whether a computer is running a 32-bit version or 64-bit version of the Windows operating system
    http://support.microsoft.com/kb/827218
    Kate Li
    TechNet Community Support

  • Activity Guide tab not visible in BPM Workspace

    I've deployed a simple BPM Process which consists of one Initiator and one User task. I've added both the activities to a milestone what I defined under the Activity Guide.
    I've used JDeveloper 11.1.1.4.0 to develope the Process.
    But after deploying the same in Server, I can't see the "Activity Guide" tab in the BPM Workspace.
    Thogh I can see the activity guide available for editing in composer portal.
    Please help me if you know how can I get the "Activity Guide" tab in the BPM Workspace?
    Thanks in advance.
    Sambit

    Hi Paulo,
    Thanks a lot for your reply.
    I kind of assumed that it's a feature of BPM 11.1.1.5 FP4 after going through a few articles on the web.
    But I got confused when after visiting below provided url :
    http://www.oracle.com/technetwork/middleware/bpm/learnmore/488809
    Please see the statement "*In earlier releases, to use Activity Guide you had to perform some manual steps to create the Activity Guide Player inside Oracle BPM Suite – BPM Workspace.*" under "Enhancements to Activity Guide within BPM Workspace" section in the document presnt in the above mentioned url.
    I couldn't find any manual steps which can bring the Activity Guide Player in the workspace anyways and your reply confirms that.
    Thanks,
    Sambit

  • How to get active plan version dynamically

    Hi all,
    I am making some HR reports in which I am pulling up position long text from hrp1001 by giving condition - where plavr = '01' . Now if the active plan version is not 01, my condition becomes vague.
    Please let me know how to determine the active plan version dynamically in my sample code below
    SELECT APERNR AOTYPE B~STEXT INTO CORRESPONDING FIELDS OF TABLE ITAB_EMP_DEATILS3 FROM PA0001 AS A
    INNER JOIN HRP1000 AS B ON BOTYPE = AOTYPE AND BOBJID = APLANS WHERE ( BOTYPE = 'S' AND BPLVAR = '01' AND AENDDA = '99991231' AND BENDDA = '99991231') AND A~PERNR IN PNPPERNR.
    SORT ITAB_EMP_DEATILS3 BY PERNR.
    DELETE ADJACENT DUPLICATES FROM ITAB_EMP_DEATILS3.

    Simply call FM RH_GET_PLVAR  

  • How to determine Default Table Logging (log data changes )

    Does anyone know how to view exactly what tables and related data fields have change logging enabled by default? I know that some of the standard reports will produce "edit reports" show who changed what field, when ,old and new values, etc, but I don't know how to determine where the data is retrieved from.
    For example: If I look in the ABAP Dictionary at table LFA1, technical settings, it shows that log data changes is not "checked" or enabled. But if I run the standard AR Master Data Change Report, I get output showing valid field changes.
    I have seen other threads that refer to SCU3 but I can't determine the above this from report.
    Any assistance would be greatly appreciated.

    Hi Arthur,
    As far as I am aware, these are 2 different things. 
    There is table logging which is at the table level & if activated (i.e. it's listed in table DD0LV, PROTOKOLL=X and the table logging parameter is set in the system profile/s).
    The second one is programatical logging for change documents when data is maintained though a program that has been written to include a log.  I'm not sure how to identify a complete lit of these though unfortunately.
    Hope that is of some assistance.

Maybe you are looking for

  • IPhone 4 Won't Output Audio, No Airplay

    My iPhone4 (OS 7.1.2) works fine, but has essentially become a brick to external devices. Music will not play through headphones, the phone no longer outputs audio to my car stereo via USB or Bluetooth, and the AirPlay icon has disappeared from the v

  • Display Adaptors

    Hi Sorry this is a really simple question, and its probably been answered a thousand time I have Early 2011 13" MBP and im unsure as to how to connect it to an external monitor. Am i able to use the thunderport port, in conjuction with any of these a

  • Red Hat 9 - Oracle 9.2 - Not able to connect remote db

    I can tnsping remote dbs but I can't use sqlplus. I do not have control of the listener.ora and can't get a hold of it. But I have no problems connecting with windows with same tns names file that I have on linux. Also when I look in sqlnet.log I see

  • Does installing mavricks delete the photos in iPhoto please reply fast thanks.

    im in the middle of installing mavricks after you restart your computer but I want to know if It delets your photos from iPhoto please help. And if it does how do I cancel the mavricks installation

  • What is incoming host name

    What is incoming mail server? How do I find out?