No columns visible in Information Modeler

Hi,
I am working on the HANA devolper servers and I encounter problems when I try to create an analytical view. When I drag a table into my canvas, all I see is a tiny box with the name of the table but the table doesn't have any columns. Also the properties view states, that the table has no columns. I have tried some of the tables from the SFLIGHT model and others, I have also created my own tables, everything in vain.
Any suggestions?
Thanks
Markus

Alvaro Tejada Galindo wrote:
Small update...the problem should be fixed by now...but can't talk about the details yet...can only say that we're working on the access issues and we will extend the trial period for affected users...
>
> Sorry about this, but with an emerging technology, there's always some problems...
>
> Greetings,
>
> Blag.
Hello,
there is absolutely nothing to apologize for - I think everyone understands. You guys are rocking big time. When I saw HANA plans last year I was quite skeptical if you can make it - I am happy to be wrong.
It is very exciting to have hands-on experience since the very beginning of some technology and I am enjoying it a lot.
Thanks.
Tomas

Similar Messages

  • Is column visibility based on the first page of the result set or the entire result set?

    I have tried, in vain, to play with the column visibility expression in my report. So where my Business Unit is "MC" or "FM", then I want to display column "HCFA Number"...otherwise hide it. If I run strictly for "MC"
    it works! If I run simply for "CO" it works! And doesn't show! But if I combine "CO" and "MC", it is hidden and I would expect it to be visible since "MC" is part of my entire report.
    Here's the expression I came up with for Column Visibility...
    =IIf((Fields!BUSINESS_UNIT.Value = "MC") OR
    (Fields!BUSINESS_UNIT.Value = "FM"),FALSE,TRUE)
    Am I missing something here or just being dense late on a Friday???
    Thanks for your review and am hopeful for a reply.

    Hi ITBobbyP,
    It seems you have add parameter based on the "Business Unit" which is multiple values and when you select the "CO,MC" the entire column "HCFA Number" is hide, but what you want is to hide the CO related "HCFA Number"
    and show the MC related "HCFA Number", right?
    The expression you are using to show/hide the column visibility will based on the current filtered entire result set. That is mean the entire column "HCFA Number" will be show when the result set contains "MC" or "FM"
    or both, otherwise, it will always hide.
    In your scenario, you can set the row visibility using the expression and you will get the result like below:
    You can set the visibility of the textbox "[HCFANumber]", but the CO related "HCFANumber" will be blank:
    If I have some misunderstanding, please try to provide more details information about the expect result you want.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Make a column visible false?

    Hi ppl
    How do I make column visible false? Tried all kind things without any luck?

    Hi all,
    hmmm...
    To remove a Column you only have to save the removed column into a list. When you want to see the column again, only add it to the TableColumnModel.
    For example:
    public YourTable extends JTable{
      private Hashmap deletedColumns;
      public void removeColumn(Object columnIdentifier){
        TableColumnModel columnModel = getColumnModel();
        int index = columnModel.getColumnIndex(columnIdentifier);
        TableColumn column = columnModel.getColumn(index);
        if(deletedColumns == null)
          deletedColumns = new Hashtable();
        deletedColumns.put(columnIdentifier, column );
        columnModel.removeColumn(column);
      public void addColumn(Object columnIdentifier){
        TableColumnModel columnModel = getColumnModel();
        TableColumn column = (TableColumn )deletedColumns.remove(columnIdentifier);
        if(column != null)
          columnModel.addColumn(column);
    }NOTE: I didnt compile the code, but this is the way to do it.
    Take care, because the default models takes String as identifiers for the headers. That isnt right, because all Objects wich have a implemetation of the "toString" will be returned as a String...

  • Column Visibility Expression help - SSRS

    I have a report in SSRS that has 12 columns. On each column, I have a corresponding column visibility expression like so:
     =IIF(InStr(JOIN(Parameters!HideColumns.Value,
    ","),"01")=0, False, True)
    Where I have the "01" I change to "02","03","04","05","06","07","08","09","10","11"
    & "12" respectfully across my column. The intent is to pass a parameter and allow the end user to "Hide" the column from visibility to allow them the flexibility on printing records. The issue I am having is I need a default that allows
    them to not hide anything, meaning print all 12 columns. Right now, its forcing me to pick one column to hide, is there something I could add to this to say, All? Hope this makes sense.

    Hi,
    For default value of this parameter(Parameters!HideColumns.Value)
    add  a value that is not in 01 to 12 .
    As an example if you  add 13 to the  default value   of the parameter, than  your expression will not hide the column 
       =IIF(InStr("13",
    ","),"01")=0, False, True) 
       =IIF(InStr("13",
    ","),"02")=0, False, True)  and so on.
    Many Thanks
    Chandra
    Please mark the post has answered if this post helps to solve your issue

  • Af:column visible property

    Hi,
    I am using JDeveloper 11.1.1.4 and ADF-BC in my application.
    I want to pragmatically control the visible property of the af:column inside the table.
    I have the following code for af:column.
    <af:column sortable="false" headerText="Impact Cat New" id="c7" visible="#{row.bindings.Selected.inputValue}">
    </af:column>
    Initially, the value of 'Selected' will be false when the table is first displayed and hence it should NOT be displayed.
    In the table selection listener,I set the property 'Selected' to true for the selected row and refresh the table[AdfFacesContext.getCurrentInstance().addPartialTarget(tblEmp)].
    But Even after refresh the table is never showing the column for which visible is set as true.
    The table is inside a panelCollection.
    Please advice.
    Regards,
    Praveen

    This won't work, as the column is the container for all rows and the row attribute is only available when the table rows arr stamped. I don't understand your use case. You want to show a column if one row gets selected? Sounds odd to me.
    If you really want to do this, you have to set an attribute outside the table and use the selection listener to switch this attrbute. Then use the new attribute in the columns visible property.
    Timo

  • Importing multiple column names to Logical Model

    I have approximately 2,000 column names to import into a new logical model and create my glossary. The names are in currently in .xls format. Is there an easy/efficient way to do this or must I enter each into the logical model attributes? Maybe a way to cut/paste multiple columns into the logical model?
    Thanks...

    Hi,
    it's not clear what are you trying to achieve:
    I have approximately 2,000 column names to import into a new logical model are you trying to create attributes in logical model - you also need entities that will contain these attributes.
    and create my glossary. The names are in currently in .xls format.or you want to create glossary from your file. You need to transform your file in following format and import it in glossary editor using ERwin txt format:
    COUNTRY,CTRY,
    IDENTIFICATION,ID,
    REGION,REG,
    DEPARTMENT,DEPT,
    Maybe a way to cut/paste multiple columns into the logical model?if you have tables with columns in relational model then you can use "Engineer to logical model" functionality to get entities and attributes in logical model.
    Philip

  • Column Visibility in SSRS

    I am using SSRS 2012 for my report. I want to hide certain columns in the report. I don't want to see spaces between columns in my report when a middle column visibility is set to hide. I have an expression that hides or makes visible a certain
    column base on the value selected. But the issue I have with this is that I see spaces between columns in the table when the report is rendered.
    =IIF(CBool(Parameters!Column.Value)=True,True,False)
    In the image below, I want to be able to hide the Code column at the middle of the table without seeing any gap between columns in the table. Thanks for the help.
    Zionlite

    Hi Yokoos,
    According to your description, you have a parameter in your report to control the visibility of a column. Now you find there is blank space on the location of the column that is hidden. Right?
    In Reporting Service, if you just set visibility for the cells instead of the column/row, the space of the column/row will be reserved and that will generate/cause blank space at run time. So in your scenario, you just need to put your expression into column
    visibility to achieve your goal. Here are screenshots for your reference:
    Reference:
    Column Visibility Dialog Box (Report Builder)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
      

  • How to use Variable in SAP HANA Information Modeller?

    Hello Folks,
    I have created a variable in Information modeller of SAP HANA Studio on top of an Analytical view (Regional Sales).  This variable is SingleValue (Multiple Value Selections).  This variable should prompt me the name of Country/Regions but somehow this is not working when I am using data preview and Analysis tab of data preview.
    Could you please enlight me where I am going wrong? or Let me know if is there any other forum for this.
    P.S : I am using SAP HANA studio on Cloud.
    Regards
    Muffazzal Fani

    Hi,
    After you created that variable as mentioned above, did you apply this variable on your LAND1 attribute.
    How: Open Analytic View --> on right-side you see the attributes,measures etc. >right click on 'LAND1' and select>
    'Apply Filter'--> In the drop-down  select your created variable and activate.
    I assume the above should resolve your issue. Please let me know if it helps.
    Revision: I mean the HANA version you are using.
    Regards, Rahul

  • Reference information model for the manufacturing industry?

    Hello,
    Do anybody know about some kind of reference information model in the manufactoring industry or any organization that are working on devloping this (doesn't have to be for the full information landscape, could be for bits and picees)?
    Thanks for your help and support,
    Markus Johansson

    Hi Markus,
    There is a project plan for manufacturing on master data. Check this out:
    http://searchmanufacturingerp.techtarget.com/news/article/0,289142,sid193_gci1360459,00.html
    Some info you can see this docs also:
    http://searchmanufacturingerp.techtarget.com/news/article/0,289142,sid193_gci1360448,00.html
    http://searchmanufacturingerp.techtarget.com/news/article/0,289142,sid193_gci1360466,00.html
    Regards,
    ---Satish

  • WPF Data Grid Column Visibility Toggle Issue

    I have a WPF control that is used in multiple dialog forms. In one of these, I want to include a checkbox column along with two buttons that fire a method to either include all (check all the boxes) or exclude all (uncheck all the boxes.)
    I setup a Boolean variable to control this "IsExcludeVisible"
    Here is a snippet of the xaml:
    <Grid>  
    <Grid.ColumnDefinitions>
       <ColumnDefinition Width="Auto" />
       <ColumnDefinition Width="*"/>
     </Grid.ColumnDefinitions>
           <common:BaseDataGrid
      Name="grd"
      AutoGenerateColumns="False"            
      ItemsSource="{Binding ExcludeRoundingIngredientList}">
       <DataGrid.Columns>
         <DataGridTextColumn Header="Code" Binding="{Binding IngredientNumber}" />
         <DataGridTextColumn Header="Ingredient" Binding="{Binding Name}" />
               <DataGridCheckBoxColumn Header="Exclude"
    Visibility="{Binding IsExcludeVisible,
                                         Converter={StaticResource VisibilityConverter}}"
                                       Binding="{Binding MillBatchMixExclude}" />
               <DataGridComboBoxColumn Header="Rounding"
        DisplayMemberPath="Name"
                                    SelectedValuePath="RoundingId"
        SelectedValueBinding="{Binding MillBatchMixRoundingId}"
        ItemsSource="{Binding DataContext.RoundingOptions,Source={StaticResource Spy}}" />
         </DataGrid.Columns>
            </common:BaseDataGrid>
      <StackPanel ......
       <Button
        Content="Include All"
                    x:Name="btnIncludeAll"
    Visibility="{Binding IsExcludeVisible, Converter={StaticResource VisibilityConverter}}"
        csla:InvokeMethod.MethodName="IncludeAll"
        csla:InvokeMethod.TriggerEvent="Click"
        />
       <Button
        Content="Exclude All"
    Visibility="{Binding IsExcludeVisible, Converter={StaticResource VisibilityConverter}}"
        csla:InvokeMethod.MethodName="ExcludeAll"
        csla:InvokeMethod.TriggerEvent="Click"
        />
      </StackPanel>
     </Grid>...
    The button visibility toggles based on the IsExcludeVisible value as expected but the column visibility is totally unaffected.
    Am I missing something here (which obviously I am.)
    Below is my code to determine the value of the Boolean variable.
    public bool IsExcludeVisible
    get { return (SelectedReport.Name ==
    "Horizontal Batch Mix"); }
    Tom Mann MCSD C#

    I think the best way is to make a label function something
    like this (just off the top of my head, not tested):
    public function rate_label(item:Object,
    column:DataGridColumn):String
    return "GBP"+item.prdt_rate;
    Then in the DataGridColumn add a property:
    labelFunction="rate_label"

  • How do I control a table's column visible in Java

    Using JDeveloper 11.1.1.4.0
    I want to control a rich tree table's column visibility programatically in Java. I've looked for syntax and do not find an example like I need. I need to directly control the column similar to how a panel collection does. The visibility of the column will be set and then the table refreshed (I've got the refresh part working), I just need to correctly reference the column. This logic will be triggered by a rowDisclosureListener that is defined as pageFlowScope. I've tried experimenting on myTable which is a RichTreeTable, but the plethora of syntax choices after "myTable." is enormous. Also, is it possible to allow the panel collection to override this logic or remove the column from its columns list?
    Thanks in advance,
    Troy

    Wow, I wish I could include a screenshot to show what is happening. My bean has somewhat similar logic, only I am trying to have my treetable show an additional column when a node of the treetable is expanded. I thought this problem might be caused by the panel collection so I tried taking it off, but it still behaves the same. I can show the column, but no header shows up for it. The original column headers stay fixed as does the data of node 0, but the subsequent (node 1) data after the first column is shifted to the right with each column added between the first column and the end column. If I do a browser refresh after expanding a node, it refreshes with the column header that was missing--strange.
    from my bean:
        public void onNodeDisclosure(RowDisclosureEvent rowDisclosureEvent) {
            boolean isCloseEvent = false;
            RowKeySet rowKeySet = rowDisclosureEvent.getAddedSet();
            //did disclosure event open a new node ?
            if (rowKeySet.iterator().hasNext()) {
                isCloseEvent = false;
                nodeLevel++;
            } else {
                isCloseEvent = true;
                nodeLevel--;
                //get the previously disclosed set
                rowKeySet = rowDisclosureEvent.getRemovedSet();
            if (nodeLevel == 1 && isCloseEvent == false) {
                setShowTaxyear(Boolean.TRUE);
            } else if (nodeLevel == 1 && isCloseEvent == true) {
                setShowTaxyear(Boolean.FALSE);
                setShowTaxunit(Boolean.FALSE);
            if (nodeLevel == 2 && isCloseEvent == false) {
                setShowTaxyear(Boolean.TRUE);
                setShowTaxunit(Boolean.TRUE);
              } else if (nodeLevel == 2 && isCloseEvent == true) {
                showTaxunit = true;
            if (nodeLevel == 3 && isCloseEvent == false) {
                setShowTaxyear(Boolean.TRUE);
                setShowTaxunit(Boolean.TRUE);
            partiallyrefreshUIComponent();
        public void setAmtsOwedTreeTbl(RichTreeTable amtsOwedTreeTbl) {
            this.amtsOwedTreeTbl = amtsOwedTreeTbl;
        public RichTreeTable getAmtsOwedTreeTbl() {
            return amtsOwedTreeTbl;
        public void setShowTaxyear(boolean showTaxyear) {
            this.showTaxyear = showTaxyear;
        public boolean isShowTaxyear() {
            return showTaxyear;
        public void setShowTaxunit(boolean showTaxunit) {
            this.showTaxunit = showTaxunit;
        public boolean isShowTaxunit() {
            return showTaxunit;
       * PRIVATE METHOD
      private void partiallyrefreshUIComponent() {
          AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
          adfFacesContext.addPartialTarget(getAmtsOwedTreeTbl());
      }my treetable:
            <af:treeTable value="#{bindings.GetAmtsGrandTotal_VO2.treeModel}"
                          var="node"
                          selectionListener="#{bindings.GetAmtsGrandTotal_VO2.treeModel.makeCurrent}"
                          rowSelection="multiple" id="amtsowedtt1" width="900"
                          columnSelection="multiple"
                          inlineStyle="border-style:none;"
                          summary="This table dynamically displays the amounts due, (interest, penalties and attorney fees--if any) and a total due.  The rows can be expanded to show the above amounts by year, tax unit and owner."
                          shortDesc="Amounts Due" autoHeightRows="0"
                          immediate="false"
                          clientComponent="true"
                          rowDisclosureListener="#{pageFlowScope.browseAmtsOwedTreeTblBean.onNodeDisclosure}"
                          binding="#{pageFlowScope.browseAmtsOwedTreeTblBean.amtsOwedTreeTbl}">
              <f:facet name="nodeStamp">
    <!-- this column is to always show -->
                <af:column id="amtsowedc1" width="130"
                           inlineStyle="#{node.bindings.NodeType=='aggregate'?'font-weight:bold;':''}"
                           visible="#{true}">
                  <af:outputText value="#{node.bindings.NodeLabel}"
                                 id="amtsowedot1"/>
                </af:column>
              </f:facet>
    <!-- this column should show when node 1 or greater is exposed -->
              <af:column width="45" id="amtsowedc2"
                         visible="#{pageFlowScope.browseAmtsOwedTreeTblBean.showTaxyear}" inlineStyle="text-align:center;"
                         sortable="true" sortProperty="#{node.bindings.Taxyear}">
                <af:outputText value="#{node.bindings.Taxyear}" id="amtsowedot2"/>
                        <f:facet name="header">
                          <af:outputText value="Tax Year" id="amtsowedot33"
                                         inlineStyle="text-align:center;"
                                         visible="#{pageFlowScope.browseAmtsOwedTreeTblBean.showTaxyear}"
                                         noWrap="true" rendered="#{pageFlowScope.browseAmtsOwedTreeTblBean.showTaxyear}"/>
                        </f:facet>
              </af:column>
    <!-- this column should show when node 2 or greater is exposed -->
              <af:column width="40" id="amtsowedc3" visible="#{pageFlowScope.browseAmtsOwedTreeTblBean.showTaxunit}"
                         inlineStyle="text-align:center;"
                         sortable="true" sortProperty="#{node.bindings.Taxunit}"
                         filterable="true" filterFeatures="caseInsensitive">
                <af:outputText value="#{node.bindings.Taxunit}" id="amtsowedot3"/>
                        <f:facet name="header">
                          <af:outputText value="Tax Unit" id="amtsowedot66"
                                         inlineStyle="text-align:center;"
                                         visible="#{pageFlowScope.browseAmtsOwedTreeTblBean.showTaxunit}"
                                         noWrap="true" rendered="#{pageFlowScope.browseAmtsOwedTreeTblBean.showTaxunit}"/>
                        </f:facet>
              </af:column>
              <af:column id="amtsowedc4" align="right" headerText="Calculated Levy"
                         inlineStyle="#{node.bindings.NodeType=='aggregate'?'font-weight:bold;':''};"
                         visible="false">
                <af:outputText value="#{node.bindings.Calclevy}" id="amtsowedot4"/>
              </af:column>
              <af:column id="amtsowedc5" align="right" headerText="Levy Due"
                         inlineStyle="#{node.bindings.NodeType=='aggregate'?'font-weight:bold;':''};"
                         visible="false">
                <af:outputText value="#{node.bindings.Ballevydue}"
                               id="amtsowedot5"/>
              </af:column>
              <af:column id="amtsowedc6" align="right" headerText="Interest Due"
                         inlineStyle="#{node.bindings.NodeType=='aggregate'?'font-weight:bold;':''};"
                         visible="false">
                <af:outputText value="#{node.bindings.Intdue}" id="amtsowedot6"/>
              </af:column>
              <af:column id="amtsowedc7" align="right" headerText="Penalty Due"
                         inlineStyle="#{node.NodeType=='aggregate'?'font-weight:bold;':''};"
                         visible="false">
                <af:outputText value="#{node.bindings.Pendue}" id="amtsowedot7"/>
              </af:column>
              <af:column id="amtsowedc8" align="right" headerText="Attorney Due"
                         inlineStyle="#{node.bindings.NodeType=='aggregate'?'font-weight:bold;':''};"
                         visible="false">
                <af:outputText value="#{node.bindings.Attydue}" id="amtsowedot8"/>
              </af:column>
    <!-- this column is to always show -->
              <af:column id="amtsowedc9" align="right" headerText="Total Due"
                         inlineStyle="#{node.bindings.NodeType=='aggregate'?'font-weight:bold;':''};"
                         visible="#{true}">
                <af:outputText value="#{node.bindings.Totalbaldue}"
                               id="amtsowedot9"/>
              </af:column>
              <f:facet name="pathStamp">
                <af:outputText value="#{node}" id="amtsowedot0"/>
              </f:facet>
            </af:treeTable>

  • My mac is not charging, its been like this since morning. Battery Information:    Model Information:   Serial Number:     D86241503EVDKRNAL   Manufacturer:     SMP   Device Name:     bq20z451   Pack Lot Code:     0   PCB Lot Code:     0   Firmware Version

    Battery Information:
      Model Information:
      Serial Number:          D86241503EVDKRNAL
      Manufacturer:          SMP
      Device Name:          bq20z451
      Pack Lot Code:          0
      PCB Lot Code:          0
      Firmware Version:          406
      Hardware Revision:          000a
      Cell Revision:          162
      Charge Information:
      Charge Remaining (mAh):          778
      Fully Charged:          No
      Charging:          No
      Full Charge Capacity (mAh):          6178
      Health Information:
      Cycle Count:          95
      Condition:          Normal
      Battery Installed:          Yes
      Amperage (mA):          0
      Voltage (mV):          7440
    System Power Settings:
      AC Power:
      System Sleep Timer (Minutes):          10
      Disk Sleep Timer (Minutes):          10
      Display Sleep Timer (Minutes):          10
      Wake on AC Change:          No
      Wake on Clamshell Open:          Yes
      Wake on LAN:          Yes
      AutoPowerOff Delay:          14400
      AutoPowerOff Enabled:          1
      Current Power Source:          Yes
      DarkWakeBackgroundTasks:          1
      Display Sleep Uses Dim:          Yes
      PrioritizeNetworkReachabilityOverSleep:          0
      Standby Delay:          4200
      Standby Enabled:          1
      Battery Power:
      System Sleep Timer (Minutes):          15
      Disk Sleep Timer (Minutes):          10
      Display Sleep Timer (Minutes):          15
      Wake on AC Change:          No
      Wake on Clamshell Open:          Yes
      AutoPowerOff Delay:          14400
      AutoPowerOff Enabled:          1
      DarkWakeBackgroundTasks:          0
      Display Sleep Uses Dim:          Yes
      Reduce Brightness:          Yes
      Standby Delay:          4200
      Standby Enabled:          1
    Hardware Configuration:
      UPS Installed:          No
    AC Charger Information:
      Connected:          Yes
      ID:          0x0000
      Revision:          0x0000
      Family:          0x0000
      Serial Number:          0x00000000
      Charging:          No

    Try doing a SMC RESET and see if that sorts it out for you - had to do that to my Macbook once and it worked for me.
    Good luck.

  • Reports - Passing checkbox values and conditional column visibility

    Although I've been using Oracle databases for many years, I've to admit I'm rather new to APEX. I'm building a first prototype project to convince our project leaders and managers of the usefulness of the product for future projects (as for visual Database interfaces where the accent is on forms and reporting, it will often be faster and less expensive to build an APEX application instead of a full blown Java or C# webapp).
    I'm however encountering some problems.
    Let me start with a quick description. I've the following parent/child structures:
    Provinces > Cities > Intersections > Loops > Loop Detections.
    I basically want to make a report on the loop detections. Now, considering we'll have many thousands of detections a day, I made kind of a drilldown structure. You first choose your province, then the city, then the intersection and finally the loop. I didn't use lists to make the selection. Instead I made a (classic) report for each part as this allows me to give detailed information for each part. In each report, I made a link on the identifier. For example, when I select a province (by clicking on the link), I pass the province identifier to the cities report and use it in the query to limit my report to those cities for the given province. I repeat these step for the different parts, which in the end, gives me the loop detections for the selected loop. The good news is all this works fine. The person who'll be using this application however made a suggestion and asked if it would not be possible to select different loops and as such get the detections for several loops (the rest of the application stays the same). This however means I cannot use the column link anymore. Now, I was thinking in the direction of a checkbox. The column link is still there, but the user would also have the possibility to select several items in the report. I managad to add a checkbox to the report, linked to the loop identifier column. That's not exactly difficult. I cannot figure out however, how I can pass the selected identifiers to the next report (detections for the selected loops) and use it in the underlaying query of this report. The problem is, I don't know how to pass the checked values to the next page and how to use these values in the report query of that page. I suppose this must be possible, but I couldn't figure out how. I tried playing around with APEX_APPLICATION.G_Fxx and such. Remember I'm a newbie and this seems to fall under more advanced features.
    I've uploaded images of the 2 concerning report pages for illustration:
    http://img96.imageshack.us/img96/1497/apex01.jpg
    http://img140.imageshack.us/img140/9868/apex02.jpg
    A second point that's bothering me is the following. In the loop detection report I show a colum link (I picked an icon instead of the column value) for each row. I also have a column that shows the number of detections for the given loop (and day). Now, for some loops, there are no detections for that given day. As such, there's no point in selecting this loop, as the result will be an empty report. However, I still want to show the loop in the loop selection report, as it's still present (it's not as if it suddenly disappeared). Sure, no big problem and most users probably have sufficient intelligence to figure this out. However, it would be nice if I could make the icon (colum link) visible only for those loops that have detections, or in other words, for those records where number_of_detections (underlaying column COUNT) is greater than 0. I couldn't figure out a way to do this either. The Conditional Display option for a column didn't really offer me a solution here.
    Before I forget, I'm using APEX 4.0.1 on an Oracle XE database.
    Any tips or suggestions would be welcome! :)
    Thanks.
    Erwin

    Hi,
    You mean something like in this sample
    https://apex.oracle.com/pls/otn/f?p=40323:55
    You can store checked values to collection and use it then in another report where clause
    See e.g. this post for how you can store checked rows to collection
    Re: Need help with APEX_Collection
    In sample DEPT report query is
    SELECT
      CASE WHEN EXISTS(SELECT 1 FROM emp e WHERE e.deptno = d.deptno) THEN
        APEX_ITEM.CHECKBOX(1,c.c002,'onclick="saveDeptChk(this,'||c.seq_id||')"','true')
      END AS row_selector,
      c.c002 AS checked,
      d.DEPTNO,
      d.DNAME,
      d.LOC
    FROM dept d,
      apex_collections c
    WHERE c.collection_name = 'DEPT_CHK_COLLECTION'
      AND d.deptno = c.c001And EMP report
    SELECT e.EMPNO,
      e.ENAME,
      e.JOB,
      e.MGR,
      e.HIREDATE,
      e.SAL,
      e.COMM,
      e.DEPTNO
    FROM emp e,
      apex_collections c
    WHERE c.collection_name = 'DEPT_CHK_COLLECTION'
      AND c.c002 = 'true'
      AND e.deptno = c.c001Regards,
    Jari

  • Managed metadata columns in document information panel with multiple content types

    Hi everyone,
    The problem I have is that for custom content types not all managed metadata columns are displayed in Document Information Panel (DIP) for the document in the Office client application. 
    However, everything works fine with 1 specific content type. Even though the others using exactly the same site columns. The content types are deployed using visual studio to the content type hub, and after this the content types are correctly published to
    the site collections, there are no publish issues here. 
    When I create a document based on the second content type in the same library, all fields are showed in the document information panel, except the managed metadata columns.
    Detailed explanation:
    Library: procedures
    Content types:
    - simple procedure (with 4 managed metadata fields and some other text fields)
    - procedure with approval (with the same 4 managed metadata fields and some other text fields)
    Scenario 1: I add the 'simple procedure' content type to the procedures library as only content type. Everything works fine, and all fields show correctly in the document information panel in Word.
    Scenario 2: I add the 'procedure with approval' content type to the procedures library as only content type. Everything works fine, and all fields show correctly in the document information panel in Word.
    Scenario 3: I add the 'simple procedure' and 'procedure with approval' content types to the document library procedures (added simple procedure first). When I create a new document based on the 'simple procedure'
    content type, everything works fine and he shows all metadata fields. When I add a new document based on the 'procedure with approval' content type, the document information panel shows correctly, except all managed metadata fields. These are not visible at
    all. Though they worked perfectly in scenario 1 and 2.
    Is this a known issue or is there a workaround for this? 
    Thanks in advance! 
    Kind regards, Davy

    Yes!
    This problem is solved right now.
    My issue was that I'm using custom content types deployed by Visual Studio in the content type hub. To create a managed metadata site column in visual studio, you need to have first of all your managed metadata field, but also a hidden field accompagnied
    to make the actual mapping like the example below:
    <Field ID="{B654D984-187A-471B-8738-F08F3356CFDA}"
    Type="TaxonomyFieldType"
    DisplayName="Countries"
    ShowField="Term1033"
    EnforceUniqueValues="FALSE"
    Group="Demo"
    StaticName="Countries"
    Name="Countries">
    <Customization>
    <ArrayOfProperty>
    <Property>
    <Name>TextField</Name>;
    <Value xmlns:q6="http://www.w3.org/2001/XMLSchema" p4:type="q6:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">{67308AC2-9556-456B-BF9E-43E8F23EBEE6}</Value>
    </Property>
    </ArrayOfProperty>
    </Customization>
    </Field>
    <Field Type="Note"
    DisplayName="Countries_0"
    StaticName="CountriesTaxHTField0"
    Name="CountriesTaxHTField0"
    ID="{67308AC2-9556-456B-BF9E-43E8F23EBEE6}"
    ShowInViewForms="FALSE"
    Required="FALSE"
    Hidden="TRUE"
    CanToggleHidden="TRUE"
    Group="Demo"
    RowOrdinal="0"
    />
    </Elements>
    VERY important here is that when you create your content type using visual studio, you not only have to add the managed metadata site column in your xml (which let the content type work already perfectly) but also add the hidden field to your content type
    xml !! This way, SharePoint knows that when you have multiple content types with the same site columns in the same library, the second content type also need to get the hidden field from this site columns like in the example below!
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <!-- Parent ContentType: Document (0x0101) -->;
    <ContentType ID="0x010100571ebc0f478a49d5a775039347ee1535"
    Name="Document Location"
    Group="Demo"
    Description="A content type containing Managed Metadata Column."
    Inherits="TRUE"
    Version="0">
    <FieldRefs>
    <FieldRef ID="{B654D984-187A-471B-8738-F08F3356CFDA}" Name="Countries"/>
    <FieldRef ID="{67308AC2-9556-456B-BF9E-43E8F23EBEE6}" Name="CountriesTaxHTField0"/>
    <FieldRef ID="{f3b0adf9-c1a2-4b02-920d-943fba4b3611}" Name="TaxCatchAll"/>
    <FieldRef ID="{8f6b6dd8-9357-4019-8172-966fcd502ed2}" Name="TaxCatchAllLabel"/>
    </FieldRefs>
    </ContentType>
    </Elements>
    I'm very happy I found this solution, because in the whole project i'm implementing, this was used a lot!
    Special thanks to the blog of @cann0nf0dder (http://cann0nf0dder.wordpress.com/2013/04/01/creating-a-site-column-with-managed-metadata) which let me think about this! 
    This ticket is answered now! :-)
    Kind regards,
    Davy

  • AddColumn() make removed column visible again. Pls help. :)

    I have a JTable which I need to remove and add column.
    // declaration of table and tablemodel
    DefaultTableModel tableMod = new DefaultTableModel (data, col);
    // data is Object[][] type, col is String[] type
    myTable = new JTable(defaultTableModel );
    DefaultTableColumnModel columnMod = (DefaultTableColumnModel)myTable.getColumnModel();
    My remove column code is :
    columnMod.removeColumn(columnMod.getColumn(1));
    My add column code is :
    tableMod.addColumn("three");
    My problem is : say my table has 2 columns initially
    "one" "two"
    after removeColumn(), the column will disappear from the JTable. like this
    "one"
    but when I addColumn() later, the removed column will appear again. like this
    "one" "two" "three"
    I think the problem is DefaultTableColumnModel is used to removeColumn but DefaultTableModel is used to addColumn, resulted in some kind of discrepancy, how to go about this? I know I can do perform addColumn() and removeColumn() on JTable, something like :
    remove -
    myTable.removeColumn(myTable.getColumnModel().getColumn( myTable.getSelectedColumn() ) );
    add -
    addedColumn = new TableColumn()
    myTable.addColumn(addedColumn);
    But when I do this addedColumn has a modelIndex of 0 , and anychanges to addedColumn will be reflected on first column(because modelIndex is 0) as well...which is what I don't want.
    Hope I'm making sense, any help appreciated.

    Ok, so heres my gripe with actually removing a column from a JTable : A JTable rebuilds its entire column model when it gets certain events (e.g. if the table model calls fireTableStructureChanged). This makes it unreliable to remove columns from the table by the method you give (though im not saying it cant be done, feel free to pursue that avenue if you like). Im just saying a more reliable way to do it is to have you own table model that knows exactly what the columns are to be in the JTable at any time. This way if the JTable rebuilds it column model it wont remake a column you removed.
    So heres the basics of removing and adding a column by changing the table model :
    A table model (derived from AbstractTableModel) needs to have three functions:
    public int getRowCount();
    public int getColumnCount();
    public Object getValueAt(int row, int column);So if you're at a time when you only want one column, getColumnCount() should return 1. If you want to say add two columns, then have getColumnCount() return 3. You would then also need to change what gets returned by getValueAt() so that it tells what is in the three columns appropriately. Also, whenever the number of columns is changed, you would need to fireTableStructureChanged(), to let the table know to rebuild it column model, with or without the columns you want added/removed.
    That is exactly what is done in the other post. I don't mean to not directly answer your question, i just don't think that removing and adding columns like that is how JTable is meant to be used, in MVC architechure. I dont really have any information about adding and removing columns because I've never even attempted to change a table that way. All i can say to that is that you have to figure out how JTable works, which I would try putting tons of System.out() calls telling me exactly what the column model looks like after certain changes(it indexes, etc..).
    Well i hope this helps in some small way...
    Josh

Maybe you are looking for