How to change visibility property of a VC iView by clicking of a BI iView?

Hi all!
I have created four iViews: two speedometers with web application designer and two iViews with visual composer. I added the speedometers and a visual composer iView #1 to a portal page (default view). The requirement is that by clicking the speedometer #2, the visual composer iView #2 would replace visual composer iView #1 on the portal page. If the user then would select the speedometer #1 again by clicking it, visual composer iView #2 would replace #1 again and so on.
I have read article http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50b65a5d-f397-2910-a78a-f5544f21c33b?quicklink=index&overridelayout=true, but it is more about filtering VC iView values with BI web items. I don't need to filter anything, just to change one iView to another in a portal view by clicking a third one. How can I check what values my web application with Z_SERVICEOUTBOUND template is transfering to VC?
One solution might be¨to transfer any value to VC by clicking a speedometer and to change the visibility of the VC iViews according to that value (the speedometer #1 should in that case transfer other value to VC than speedometer #2). I don't know if that is possible with speedometers - you can't reference any characteristics or variables with it.
If you have an idea, what would be the best way to accomplish this requirement, I would be very glad to hear about it! We are in VC 7.0.
Points garanteed!
Regards
Sari

Hi
Since you are accesing the node containing the 'VISIBILITY' attribute you can use the following method to set the value
lo_el_visible->set_attribute(
exporting
name = `VISIBILITY`
value = 01 ). ""01 - none,02-visible
and remove this code
wd_context->set_attribute( EXPORTING name = 'VISIBILITY' value =
abap_false ).
Regards
Tamil
Edited by: Tamilselvan K on Aug 6, 2008 2:40 PM

Similar Messages

  • How I can change visible property of an af:table with an af:selectOneRadio?

    How I can change visible property of an af:table with an af:selectOneRadio? Anyone can help me with a tutorial, example or link?
    Thanks in advance.

    After you add the required libraries to your classpath
    you can do your use case as explained in this sample
    page source
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
        <af:document title="untitled2.jsf" id="d1">
            <af:messages id="m1"/>
            <af:form id="f1">
                <af:selectOneRadio label="radio" id="sor1" autoSubmit="true"
                                   valueChangeListener="#{ControlVisibilty.onRadioSelected}">
                    <af:selectItem label="0" value="0" id="si1"/>
                    <af:selectItem label="1" value="1" id="si2"/>
                </af:selectOneRadio>
                <af:table value="#{bindings.DepartmentsView1.collectionModel}" var="row"
                          rows="#{bindings.DepartmentsView1.rangeSize}"
                          emptyText="#{bindings.DepartmentsView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                          fetchSize="#{bindings.DepartmentsView1.rangeSize}" rowBandingInterval="0"
                          selectedRowKeys="#{bindings.DepartmentsView1.collectionModel.selectedRow}"
                          selectionListener="#{bindings.DepartmentsView1.collectionModel.makeCurrent}" rowSelection="single"
                          id="t1" partialTriggers="::sor1" visible="#{ControlVisibilty.table}">
                    <af:column sortProperty="#{bindings.DepartmentsView1.hints.DepartmentId.name}" sortable="false"
                               headerText="#{bindings.DepartmentsView1.hints.DepartmentId.label}" id="c1">
                        <af:inputText value="#{row.bindings.DepartmentId.inputValue}"
                                      label="#{bindings.DepartmentsView1.hints.DepartmentId.label}"
                                      required="#{bindings.DepartmentsView1.hints.DepartmentId.mandatory}"
                                      columns="#{bindings.DepartmentsView1.hints.DepartmentId.displayWidth}"
                                      maximumLength="#{bindings.DepartmentsView1.hints.DepartmentId.precision}"
                                      shortDesc="#{bindings.DepartmentsView1.hints.DepartmentId.tooltip}" id="it1">
                            <f:validator binding="#{row.bindings.DepartmentId.validator}"/>
                            <af:convertNumber groupingUsed="false"
                                              pattern="#{bindings.DepartmentsView1.hints.DepartmentId.format}"/>
                        </af:inputText>
                    </af:column>
                    <af:column sortProperty="#{bindings.DepartmentsView1.hints.DepartmentName.name}" sortable="false"
                               headerText="#{bindings.DepartmentsView1.hints.DepartmentName.label}" id="c2">
                        <af:inputText value="#{row.bindings.DepartmentName.inputValue}"
                                      label="#{bindings.DepartmentsView1.hints.DepartmentName.label}"
                                      required="#{bindings.DepartmentsView1.hints.DepartmentName.mandatory}"
                                      columns="#{bindings.DepartmentsView1.hints.DepartmentName.displayWidth}"
                                      maximumLength="#{bindings.DepartmentsView1.hints.DepartmentName.precision}"
                                      shortDesc="#{bindings.DepartmentsView1.hints.DepartmentName.tooltip}" id="it2">
                            <f:validator binding="#{row.bindings.DepartmentName.validator}"/>
                        </af:inputText>
                    </af:column>
                    <af:column sortProperty="#{bindings.DepartmentsView1.hints.ManagerId.name}" sortable="false"
                               headerText="#{bindings.DepartmentsView1.hints.ManagerId.label}" id="c3">
                        <af:inputText value="#{row.bindings.ManagerId.inputValue}"
                                      label="#{bindings.DepartmentsView1.hints.ManagerId.label}"
                                      required="#{bindings.DepartmentsView1.hints.ManagerId.mandatory}"
                                      columns="#{bindings.DepartmentsView1.hints.ManagerId.displayWidth}"
                                      maximumLength="#{bindings.DepartmentsView1.hints.ManagerId.precision}"
                                      shortDesc="#{bindings.DepartmentsView1.hints.ManagerId.tooltip}" id="it3">
                            <f:validator binding="#{row.bindings.ManagerId.validator}"/>
                            <af:convertNumber groupingUsed="false"
                                              pattern="#{bindings.DepartmentsView1.hints.ManagerId.format}"/>
                        </af:inputText>
                    </af:column>
                    <af:column sortProperty="#{bindings.DepartmentsView1.hints.LocationId.name}" sortable="false"
                               headerText="#{bindings.DepartmentsView1.hints.LocationId.label}" id="c4">
                        <af:inputText value="#{row.bindings.LocationId.inputValue}"
                                      label="#{bindings.DepartmentsView1.hints.LocationId.label}"
                                      required="#{bindings.DepartmentsView1.hints.LocationId.mandatory}"
                                      columns="#{bindings.DepartmentsView1.hints.LocationId.displayWidth}"
                                      maximumLength="#{bindings.DepartmentsView1.hints.LocationId.precision}"
                                      shortDesc="#{bindings.DepartmentsView1.hints.LocationId.tooltip}" id="it4">
                            <f:validator binding="#{row.bindings.LocationId.validator}"/>
                            <af:convertNumber groupingUsed="false"
                                              pattern="#{bindings.DepartmentsView1.hints.LocationId.format}"/>
                        </af:inputText>
                    </af:column>
                </af:table>
            </af:form>
        </af:document>
    </f:view>The managed bean code is
    import javax.faces.event.ValueChangeEvent;
    public class ControlVisibilty {
        private boolean table;
        public ControlVisibilty() {
            setTable(false);
        public void onRadioSelected(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            if(valueChangeEvent.getNewValue().toString().equals("1"))
                setTable(true);
            else
                setTable(false);
        public void setTable(boolean table) {
            this.table = table;
        public boolean isTable() {
            return table;
    }

  • How to change autocommit property in Oracle 8.1.6 server

    Can anybody tell me how to change autocommit property in Oracle 8.1.6 server?
    Thanks in advance.
    Matthew
    null

    Hi,
    SET AUTOCOMMIT OFF
    thanks,
    Boby Jose Thekkanath,
    Consultant,CWO,
    NSW-AUS.

  • How to change Owner property in KM

    Hi masters.
    I want to know how to change cm_owner property of a document that i am uploading with dynpro java. I have written a code to add new properties for document but i couldn't change the Owner of document. Here is my code for adding a new property :
    if (wdContext.currentUserElement().getId() != null) {
    IPropertyName propOwner =
    new PropertyName(
    PropertyName.createDisplayname().getNamespace(),
    "Owner");
    prop =
    new MutableProperty(
    propOwner,
    wdContext.currentUserElement().getId());
    propMap.put(prop);
    This code is adding a new Owner property for document. So that after upload, i see 2 Owner fields in Misc. tab.
    Thanks for replies.

    Hello,
    Do check this blog out:
    [Dynamic properties setting in KM|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/645d4357-0701-0010-07bd-a2ea8c4d0aaf]
    Also read : [Storing and retrieving properties in KM|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ab288d09-0801-0010-b183-b8254ed4793f]
    [Developing a property filter in KM|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ee3a57-0701-0010-3e9a-ddae7e4e0521]
    Regards,
    Shailesh
    Edited by: Shailesh Kumar Nagar on Feb 19, 2010 8:16 AM

  • Change visible property of iView assigned to page

    Hi,
    When we add an iView to a page, we have some properties like visible, fixed,etc. mentioned along with each iView. Now, I want to change the visible property dynamically using pdk development. How can we achieve this?
    Regards,
    Khushboo

    Hello Mittal,
    As per my understanding you want a way to dynamically edit the property of the PCD objetcs using PDK. SAP provides an API for the same puspose. Please refer to this link for more details
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401
    Regards,
    Raju Bonagiri

  • How to change a property programmatically

    Hello,
    How can I change a property during runtime? Like, change the label of a button, or change the header text of a table.
    regards,
    arnold

    Hi Arnold,
    You need to get an instance of the UI element at runtime. You can get this only in WDDoModifyView
    IWDLabel lab = (IWDLabel)view.getElement(<labelID>);
    lab.set<property>(<value>);
    Warm Regards,
    Murtuza

  • How to set visible property to href link

    Hi All,
    I want to open the new jsp page in the new tab when will we click on the link in my ADF application.So i tried like this.
    <af:column id="pt_c115" >
    <a id="JspLink" href="AuditLogInfo.jspx" target="_blank">JspLink</a>
    </af:column>
    Im able to view my new jsp page when im click on JspLink link.But here my problem is i have nee to set the visible condition if the 'status' field of adf table is succes only i want to view the link other wise no need to visible my link.
    visible="#{row.bindings.Status.inputValue=='SUCCESS'}" is working for commandbutton.But i'm not able to see any visible property in <a id="JspLink" href="AuditLogInfo.jspx" target="_blank">JspLink</a> .How can i set this condition?Please help me.I'm using JDeveloper 11.1.1.5 version.
    Thanks in Advance!
    Edited by: 851924 on Apr 5, 2012 11:22 PM
    Edited by: 851924 on Apr 5, 2012 11:23 PM

    Instead of using a jsplink you should use an af:goLink which is the adf equivalent and has all the needed properties.
    Timo

  • OMBPlus: how to change Prefix property (dimension)

    Is it possible to change (or set during creating) Prefix property of dimension through OMB Plus?
    I think that this can be done with command
    OMBALTER DIMENSION_TABLE '<dimname>' SET PROPERTIES (<propname>) VALUES ('myval');
    But what is the name for Prefix dimension property?
    Maybe it is possible change this property only through GUI OWB?
    Oleg

    Oleg,
    Unfortunately, you cannot, so I filed bug 3519964.
    However, do note that the main reason for us asking a prefix is the ability for us to prefix key names being created automatically. You can always rename those key names afterwards to include the prefix you want/need.
    Thanks,
    Mark.

  • How to change a property of all items of the specific type?

    Hello,
    this should be fairly simple:
    tableA ( id, Flag)
    There are 2 pages :
    Page 1 : allows user to select P1_ID based on the result set from TableA
    Page 2 : there is a bunch of items on this page - text fields, text areas, radio and check boxes, reports etc. There values in those items are based on the following logic :
    select <bunch of columns correspond to the page items >
    from view1, view2 ...
    where <where clause>
    and
    some_column =:P1_ID
    Question:
    I need to disallow users to change values in the items of text type on the page 2, if value of P1_ID ( TableA.id) has a value in Flag.
    How this can be done ?
    The ideal solution would be if i can have a routine that would not require hard coding items names.
    Thank you
    Andrew
    Edited by: andrey on Jan 31, 2009 12:51 PM
    Edited by: andrey on Jan 31, 2009 12:52 PM

    Andrew:
    The property that you set is the 'Read Only' property for the page-item. This is done from the 'Edit Page Item' page
    The conditions under which this property evaluates to true can be determined dynamically (no hard coding). Take a look at the list of possible Conidtion Types. So, if u want the condition to be table-driven you could choose the 'Exists (SQL query returns at least one row)' and the SQL query could be something like
    ' select 1 from <you_table> where id=:p1_id '
    Varad

  • How to change the property of the fields on screen while using BDC

    Hello,
    I am working on a program where I am using BDC call transaction method to update vendor master data using Fk02. I need to call the transaction in mode 'E'. As per the requirement I don't want user to see all the fields available on that screen. For example on Payment transactions screen I only want user to see fields like Bank key, bank number in the editable mode and rest all the fields on the screen should be greyed out.
    Can you please help with how can i do this.

    Hi,
    I think you can achieve this using transaction variant. Create a transaction variant using SHD0 and grey out the fields which you want. After that in BDC, instead of calling FK02, call the transaction variant you created. you may have to change the BDC recording a bit, but i think you can give it a try?
    Do let me know if it helps you.
    Regards,
    Raghav.

  • How to change style property in runtime

    Hallo. I have this style tag in my main application:
    <fx:Style>
         @namespace s "library://ns.adobe.com/flex/spark";
         @namespace mx "library://ns.adobe.com/flex/halo";
         @font-face {
         src: url("../caratteri/MyriadPro-Bold.otf");
         fontFamily: "MyriadPro-Bold";
         embedAsCFF: true;
         .mioStileMyriadProBold {
         fontFamily:MyriadPro-Bold;
         fontLookup: embeddedCFF;
    </fx:Style>
    It works good but i wish to change the fontFamily while the program is running. How can i do that?
    Thx a lot.
    Max

    Hallo. Thx for the answer. I would like to know if your solution is working always. I mean, in my example i showed you that i have this:
    .mioStileMyriadProBold {
    fontFamily:MyriadPro-Bold;
    fontLookup: embeddedCFF;
    But what if i have 2 custom styles??.. How can i change one or another specifically ??
    I hope you understand what i mean.
    Max

  • HT1904 How to change apple store

    How to change apple store

    Welcome to the Apple Community.
    Click on your account name in the top right corner of the iTunes store in the iTunes application on your computer, enter your password and click the "view account" button. Navigate to the Apple ID summary where you have the option to "change country or region".
    In order to change your location, you will need a credit card registered to an address in the location you are trying to change to.
    You cannot change your location if you have credit on your account, if you are unable to spend your credit and leave a balance of zero, contact Apple, which you can do through iTunes Store Support.

  • How to change "My Number" in Settings Phone ?

    I've change my carrier recently and the number in "Settings" > "Phone" > "My Number" is displayed "Unknown". Does anyone know how to change it? 'Cause I even can't click it to change it manually. Thank's!!

    Did you already sync your phone in iTunes? Do you get the same result in the summary pane?

  • Webdynpro for ABAP, Enhancement and change of standard "visible" property

    Hi
    Is it possible to change the standard Webdynpro element (in cProjects application), so that the original control "Input" from visible property "Visible" is changed to mine Context variable? How to change that default "Visible" flag in standard element?
    thank you

    Hi Phani,
    Thanks for the info.
    I am able to see if it is not interactive.
    Displaytype is native only.
    Let me explain you the issue in detail:
    Currently Client is calling ZFORM thro Java. They have some issues with JAVA so they want to use Webdynpro to call that ZFORM and the form is ABAP Dic based.
    For Templete source I gave ZFORM name, and it automatically created a 'NODE' wrt the context in the ZFORM.
    Now I have to pass data from difft  node attributes to that 'NODE'.
    Thanks in advance,
    GG

  • How can I change element property.

    Hi experts,
    I have two tables and while I set the first table's property is visible , second table's property is invisible.When the screen is loaded, I want to make the first table visible and second table invisible. When I click any row in the table, I want to open q new table below first table.How can I do?How can I change the property of the table? Can anyone share with me the sample code for this.

    Hi Mehmet,
    Create 3 context attributes with type WDUI_VISIBILITY
    and in the Layout bind these with the Corresponding TABLE Controls
    VISIBLE property.
    and set these in WDDOINIT()
    wd_context->set_attribute( name = 'FIRST_TABLE_VISIBLE' value = if_wdl_core=>visibility_visible ).
    and table SELECT event.
    wd_context->set_attribute( name = 'FIRST_TABLE_VISIBLE' value = if_wdl_core=>visibility_visible ).
    Regards
    Abhimanyu L

Maybe you are looking for

  • Ipod Touch 4th Gen audio with headphones is messed up

    Hi, So recently my 4th generation ipod touch has been having audio issues when headphones are plugged in. What it does it make the audio really loud and noisy. People talking or singing cannot be understood, it is completely static and muffled. Thing

  • Can I download firefox for windows with my phone

    I lost all of my web browsers that were on my laptop. I would like to know if I could download firefox using my phone, then using my microsd card to load the app into my computer. Have already reset laptop using system restore, but my browser doesn't

  • JDBC/MySQL Problem

    Hello, I'm getting this error when trying to make a connection with MySQL: Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\tomcat\work\localhost_8080\_0002fd

  • Labview programmer in Egypt

    I'm searching for an engineer prof. in labview programming in egypt , that can help me in my project

  • MB1B Transfer posting 311Q ( Material provided to vendor ) ......

    Hello Subcontracting process useing movement type (311 Q) in the trasaction MB1B. i wold like to fetch the components from the PO , like 541. error "Combination of movement type 311 Q and function selected not possible " please help me