Issue with Extra Whitespace in Public Tidal Variable

Hi All,
I'm currently having an issue using a public Tidal variable in the file path of a ROBOCOPY script that I'm writing.
We are running version 6.0.3.209
Here is the scenario where I'm having the failure;
1) I created a SQL job to pull a static string value from a databases (the SQL trims the string value to remove whitespaces from left and right)
2) I created a public string variable, a variable event, and a job event
3) When the SQL job completes, it triggers a job event which triggers the variable event and sets the public string variable to the output of the SQL job
The variable should be set to this value with no whitespaces: 20130702170530_Q2
4) I then pass this variable in the file path of my ROBOCOPY script, and the script fails
Steps 1-3 work just fine, HOWEVER, my script is failing in ALL scenarios EXCEPT hard-coding the value.
What's even stranger is that before I double click and open the variable, you can obviously see that there IS a whitespace (see top arrow in below img)
If I run my ROBOCOPY script using the variable like this, it Completes Abnormally (Failed)
When I double click to open the variable, without any modifications you can see that there is NO whitespace (see lower arrow in above img).
If I click ‘OK’ after Opening the variable without modifying it, the whitespace disappears (see arrow in img below).
Now if I run the exact same ROBOCOPY script using the exact same variable, it Completes Normally (Passed)
Does anyone know a workaround for this or has anyone experienced the same behavior?
I have tried multiple scenarios (passing the job output directly, passing the variable, concatenating 2 variables in to 1 and passing the entire folder path as a variable) and all are failing.
Any help would be greatly appreciated!
Best Regards,
Doug M.

Hi All,
I was actually able to find a workaround for this not using Tidal variables.  I ended up hard coding part of the file path in the SQL job which pulls the static string value, and concatenating the 2 strings like this:
SELECT TOP 1 'E:\data\inbound\KMK\RETROACTIVE\' + LTRIM(RTRIM([Data_Date]))
FROM [DB_NAME].[dbo].[TABLE_NAME]
WHERE = 946
When I pass the job output to my ROBOCOPY script it works perfectly.
I'll leave this as answered instead of deleting it in case anyone has the same issue

Similar Messages

  • Issue with extra levels when merging projects

    Hello all,
    (note: working with RH5 and MS HTML help files)
    I've created a new project that needs merging into our main
    help system (which already consists of 20-something projects). The
    issue I'm having is that RH5 seems to be adding several layers to
    the TOC.
    Originally, the new project had the following layout:
    Project Book
    -project overview page
    -Application A book
    -Application B book
    -Application C book
    -Application D book
    When this was linked to our main project and then the main
    project was compiled, the TOC looks like this:
    Project Book
    - Project Book
    -- Project Book
    --- Project Book
    ---- Overview page
    ---- Application A Book
    ---- Application B Book
    ---- Application C Book
    ---- Application D Book
    To me, there are at least 2 unnecessary levels inserted into
    this. I tried to alter this by removing the Project Book from the
    Project chm, so it was just:
    -project overview page
    -Application A book
    -Application B book
    -Application C book
    -Application D book
    However, this did not remove any of the extraneous levels,
    and in addition the Project overview page is now accessible only by
    clicking on one of the middle Project books (i.e. it previously was
    its own page that could be directly clicked on in the TOC, and now
    it no longer shows there).
    Any thoughts on how/why these extra levels are being
    inserted? I'm fine with it an extra level, like
    Project Book
    - Project Book
    -- Overview page
    -- Application A, etc.
    Having 2 or 3 extra levels, however, is a bit much,
    especially since RH seems to be adding them itself.

    Hi, Tech Writer KC,
    I don't know if this has been fixed in recent versions of
    RoboHelp, but I believe there was a long-time bug in RoboHelp
    — and in HTML Help Workshop, too — where the Include
    statements for the secondary TOCs were written at the wrong level
    in the master TOC. You can read a little more about this in the
    "Known Bugs" section here:
    http://helpware.net/htmlhelp/how_to_merge.htm
    Many people worked around the problem by using FAR to edit
    the master TOC.
    http://helpware.net/FAR/index.html
    Pete

  • Issues with Indirect xml configuration using environment variable

    My package is not retrieving the the connection strings from the xml file setup through indirect configuration. It is using the connection string directly from the connection manager in the package. Steps below,
    Package-1 has Connection Manager with server : dev, database: Test
    Setup indirect xml configuration : XML file contains the connection string. Environment variable contains the path to the xml.
    Build and deploy on different server (prod).
    Create the same environment variable in prod server.
    Change conenction string in xml file.
    Run the package: package tries to connect to dev instead of prod.
    Change the connection string in the connection manager directly in the package. Build and deploy. Works now - connects to prod as expected.
    For some reason my package is not reading from the xml file.
    Anonymous

    You posted on this issue before and now again, why?
    The "It is using the connection string directly from the connection manager in the package" means the package fails to configure from the conn string in the env. variable.
    You may see it as a warning in the log if you have one enabled.
    The env variable should have the path to the config file, the config file should be parametrized to get the connection to it via the variable, this is the proper scenario.
    Arthur My Blog

  • Issue with customer exit for copying one variable value to another

    Hello Gurus,
    I need to copy the value of a single value variable into another single customer exit variable.
    I coded as below.
      WHEN 'customer_exit_var'.
        IF I_STEP = 2. "after the popup
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
          WHERE VNAM = 'user_input_Variable'.
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
            L_S_RANGE-HIGH = ''.
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT = 'EQ'.
            APPEND L_S_RANGE TO E_T_RANGE.
            EXIT.
          ENDLOOP.
        ENDIF.
    I used the condition <= for the customer exit variable in the report. But, it is considering only single value, but not all the values <= to the give value.
    Please help me in this regard,
    Thanks,
    Aarthi.

    Thanks for your immediate response Govind.
    My report is restricted based on two dates. Date1 and Date2. Need to consider all records whose dates are <= Date1 and <= Date2.
    Date1 and Date2 should have same values. But user inputs only Date1.
    So, I created Date1 as Single, User Input Variable restricted the query with <=Date1.
    Next I created Date2 as Single, Customer Exit Variable and restrcited the Query with <=Date2.
    In CMOD I used the above code to assigne Date1 Value to Date2.
    When I execute the report, say I give todays date in the report (Dec, 12, 2007). Date2  has to consider all the values <= Dec 12, 2007. But, in my case it is considering only Dec 12, 2007, but not the before dates.
    So, Please help me in solving this problem.
    Thanks,
    Aarthi.

  • TextFlow XML export issue with missing whitespaces

    If I export a TextFlow into XML (with either TextFlowUtil or TextConverter) it will lose white spaces where they occur between elements, so that a subsequence import will yield different content from the original. A simple example being:
    "Where is my white space". Will export and re-import to give: "Whereismywhitespace".
    This happens in the XML build process because when a text node is programatically appended (with appendChild()) white spaces are stripped from the start and end. For example, if you do xml.appendChild("     hello    ") you actually get an XML element containing just "hello".
    Now I understand there is a directive (XML.ignoreWhiteSpace) to ignore or keep white space when parsing nodes already set in the XML, but I cannot see how to do this when you are building the XML from some data structure (like a TextFlow), or indeed when creating an XML object from a String that contains XML notation.
    I am unaware how you can include surrounding whitespace in an XML node (short of CDATA). And the fact that the TextFlow XML import/export loses information seems to make it, well, pretty pointless.
    So, how do I retain these white spaces in a TextFlow in an exported XML?

    The solution for this problem consists of two parts.
    First part is exporting the xml from the textflow, you want no formatted XML (with breaks, tabs, ...), but one long string with the spaces left like there were entered between the tags, this can be done with:
    _textXML = TextConverter.export(EditorID.textFlow,TextConverter.TEXT_LAYOUT_FORMAT,ConversionType.STRING_TYPE) as String;
    Use the TextConverter in stead of the TextFlowUtil.
    Second part is back importing to textFlow:
    There the solution mentioned above was correct.
    XML.ignoreWhitespace = false;
    var flowXML:XML = new XML(_textXML);
    contentTLF = TextFlowUtil.importFromXML(flowXML,WhiteSpaceCollapse.PRESERVE);

  • Issue with mouseListener / global variables

    So in my project, im having an issue with incrementing a counter using mouseListener. i have 2 windows pop up telling the user whose turn it is and then that players dice roll. after this i want the program to wait untill the player moves their piece. after they have moved their full move, it should go on to the next player. the issue im having is getting the program to wait for the player to make his moves, and i cant quite get it to work. it either skips the move and goes to the next player or never sees that the player has moved fully.
    public int getTurnsLeft(){
    return turnsLeft;
    public void setTurnsLeft(int newTurnsLeft){
    turnsLeft = newTurnsLeft;
    }these are what im using for both my mouseListener release method and my playTurn method to get and set the number of moves left.
    public void mouseReleased(MouseEvent e) {
              if(playerPiece == null) return;
              playerPiece.setVisible(false);
              Component c =  playBoard.findComponentAt(e.getX(), e.getY());
              if (c instanceof JLabel){
                   Container parent = c.getParent();
                   parent.add(playerPiece);
                   setTurnsLeft(getTurnsLeft() + 1);
                   System.out.println(getTurnsLeft());
              else {
                   Container parent = (Container)c;
                   parent.add(playerPiece);
                   setTurnsLeft(getTurnsLeft() + 1);
                   System.out.println(getTurnsLeft());
              playerPiece.setVisible(true);
         }mouse release method
         public void playTurn(){
              JOptionPane.showMessageDialog(null, "Player " + this.getPlayerNum() + "'s turn");
              int turns = (int)diceRoll();
              this.setMoveCount(turns);
              System.out.println(turns);
              int turnCheck = 0;
              while(turnCheck == 0){
                   System.out.print(getTurnsLeft());
                   if(getTurnsLeft() < turns)
                        turnCheck = 0;
                   else
                        turnCheck = 1;
              setTurnsLeft(0);
         }play turn method
    when i run this, the mouseRelease method can modify turnsLeft and get back the correct number, but in the playTurn method, i only get 0, which is what turnsLeft starts at. shouldnt they both get the same value, since there getting the value from the same source? or is the while loop the issue here?

    Your turnsLeft is really deceptively named, it is actually the number of steps taken during the current turn. Better rename it for clarity.
    The problem seems to be in your threading, I don't see how the while loop can end ('never sees that the player has moved fully'?) unless the diceRoll returns zero ('skips the move').
    What you should do is print out that diceRoll for more information (why doesn't it return an int? Use random.nextInt(maxSteps) + 1).
    And probably the end-of-turn check should be in setTurnsLeft(). You need to store the 'number of step this turn' as a class variable.
    So rename:
    playTurn -> startTurn
    turns -> steps
    turnsLeft -> stepsTaken
    setTurnsLeft(int) -> completeStep() which checks if stepsTaken >= steps and if yes calls completeTurn() which can check for a win or call the other players startTurn().

  • Whitespace in User Account Name causes issues with various functions

    I've run into a few issues with users who have whitespace in their account names (for example, a user account name that was: "Joe Smith"). Generally, I think this is a result of windows interpreting the last name as a parameter when it tries to
    run a certain function. One place where this occurs and is easily replicated is in the "Troubleshoot Program Compatibility Wizard" which gives an error about permissions, another place this occurs is in the dx9 web installer which gives an error
    message concerning advpack.dll
    In both of these cases I've been able to 'fix' the issue by relocating the TEMP and TMP environment variables to a folder like C:\TEMP, however I still have some issues with other installers and programs such as the 3rd party Cordova build program and the
    android sdk which both get stumped by spaces in the user account name. From my understanding there is no way to change a user account name (not just the name which displays but the name which Windows reads) without deleting the account and copying often several
    gigabytes of files and settings over to a completely new account. Is this correct? Is there a way to remove the whitespace from an account name without these hackish workarounds? Is there anyway to report this as a bug to Microsoft in the hopes that they either
    remove support for usernames with whitespaces or come up with some way to make their internal features like the Compatibility Wizard operate correctly in these (fairly common) install environments? It's an incredibly pesky bug to identify....

    1. Spaces are allowed but not recommended. I would avoid using space(s) in account names.
    2. I do not understand what you have prevented from changing user name.
    3. For problems with 3rd pty programs ask support/forum of respective software vendors.
    4. If you feel like addressing Microsoft, use
    http://support.microsoft.com/contactus/?ln=en-us
    Regards
    Milos

  • Issues With Variables

    First, let me send a thanks to PBrock and Cotton for their help with my last issue I had with a program. You guys helped tremendously!
    Now onto the latest issue with my code I compile this and get two error messages saying that the variables (again) and (exit) cannot be found. I have a sneaky suspicion that once I figure these two errors out that I'm going to get slammed with a bunch more but I do have my fingers crossed on this one.
    Here's the code
    //=====================================
    // OpSpecs5.java    Author: Michael Barry
    //=====================================
    import java.math.*;
    public class OpSpecs5
      //Random generator = new Random (50);
      private int num1, num2;
      public OpSpec5()
        num1 = (int) (Math.random()*50) +1;
        num2 = (int) (Math.random()*50) +1;
      public int ActionPerformed (String sign)
        if (sign equals(a))
          return num1 + num2;
        else if (sign equals(s))
          return num1-num2;
        else if (sign equals(d))
          return num1/num2;
        else (sign equals (p))
          return num1 * num2;
    }  And here is the other file:
    //=====================================
    // OpSpecs5.java    Author: Michael Barry
    //=====================================
    import java.math.*;
    public class OpSpecs5
      //Random generator = new Random (50);
      private int num1, num2;
      public OpSpec5()
        num1 = (int) (Math.random()*50) +1;
        num2 = (int) (Math.random()*50) +1;
      public int ActionPerformed (String sign)
        if (sign equals(a))
          return num1 + num2;
        else if (sign equals(s))
          return num1-num2;
        else if (sign equals(d))
          return num1/num2;
        else (sign equals (p))
          return num1 * num2;
      Thnx in advance!!!!!!!!!

    Sorry about that.
    Here they both are this time
    //===========================
    // ExampleMathOps5.java
    //=========================
    import javax.swing.JOptionPane;
    import java.util.*;
    import java.awt.*;
    import javax.swing.*;
    public class ExampleMathOps5
    public static void main(String[] args)
         ExampleMathOps5 MyOps;
         String numStr, result;
          int sum;
        int difference;
        int division;
        int product;
        int again;
        int exit;
        MyOps = new ExampleOpSpecs5 (); // Instantiation of OpSpecs5 file.
        do
                     sum = MyOps.ActionPerformed("a"); // "a" represents addition.
                     MyOps = JOptionPane.showInputDialog ("Enter your answer:"); // Prints sum of equation.
            sum = Integer.parseInt(numStr);
          result = "The correct answer is: " + ((num1+num2 == 0) ? "correct" : "incorrect"); 
          JOptionPane.ShowMessageDialog (null, result);
          again = JOptionPane.showConfirmDialog (null, "Try again?");
                     difference = MyOps.ActionPerformed("s"); // "s" represents subtraction.
                     MyOps = JOptionPane.showInputDialog ("Enter your answer:"); // Prints difference of equation.
                     difference = Integer.parseInt(numStr);
          result = "The correct answer is:" + ((num2-num1 == 0) ? "correct" : "incorrect");
          JOptionPane.showMessageDialog (null, result);
          again = JOptionPane.showConfirmDialog (null, "Try again?");
          division = MyOps.ActionPerformed("d"); // "d" represents division.
                     MyOps = JOptionPane.showInputDialog("Enter your answer:"); // Prints result of equation.
                     division = Integer.parseInt(numStr);
          result = "The correct answer is:" + ((num2/num1 == 0) ? "correct" : "incorrect");
          JOptionPane.showMessageDialog (null, result);
          again = JOptionPane.showConfirmDialog (null, "Try Again?");     
                     product = MyOps.ActionPerformed("p");  // "p" represents multiplication.
                     MyOps = JOptionPane.showInputDialog ("Enter your answer:"); // Prints product of equation.
            product = Integer.parseInt(numStr);
          result = "The correct answer is:" + ((num1*num2 == 0) ? "correct" : "incorrect");
          JOptionPane.showMessageDialog (null, result);
          again = JOptionPane.showConfirmDialog (null, "Try again?"); 
                    while (again == JOptionPane.YES_OPTION);
    }And here is the other file:
    //=====================================
    // ExampleOpSpecs5.java    Author:
    //=====================================
    import java.math.*;
    public class ExampleOpSpecs5
      //Random generator = new Random (50);
      private int num1, num2;
      public ExampleOpSpecs5()
        num1 = (int) (Math.random()*50) +1;
        num2 = (int) (Math.random()*50) +1;
      public int ActionPerformed (String sign)
        if (sign == "a")
          return num1 + num2;
        else if (sign == "s")
          return num1-num2;
        else if (sign == "d")
          return num1/num2;
        else if (sign == "p")
          return num1*num2;     
         else if (sign == null)
         return again;
      else
    return exit;
     

  • BW 3.5 - Issue with formula variable with replacement path

    Dear experts,
    I'm facing an issue with formula variable with replacement path.
    Just to clarify, I know replacement paths is raising a lot of questions but I've been using this functionnality extensively in the past, both in 7.0 and 3.5, so I'm not looking for basic information about how to use it.
    I'm trying to setup a simple report that would show total values per plant of Purchase Order < 100 €
    To do so I've setup a calculated key figure as follow:
    VAR1 * ("PO value" < 100 ) * "PO value"
    VAR1 is a formula variable with replacement path on 'purchase order' and value attribute 'constant =1'.
    (The report has to show values summarized by plant but should not show the detail PO by PO, so I'm not looking at a solution based on condition)
    The report as characteristic "plant" in rows and my CKF in columns.
    Now let's take an example. I have 3 POs in Plant 1:
    PO1 -> 150€
    PO2 -> 90€
    PO3 -> 80€
    Because of the variable with replacement path, the result in my query should be:
    plant1 = 170 (even though characteristic "purchase order" is not in my rows, system should evaluate PO one by one and return values only for those two that are below 100).
    But the result coming is 320, which is wrong.
    I've done the same report on many other 3.5 systems and it worked perfectly, and I am not able to get proper support from SAP OSS who keep saying that this functionnality is not ready in 3.5 (although I've provided screenshot of this working on another 3.5 system!!! how frustrating...)
    They have also pointed to problems of Before and After aggregation but that has absolutely no impact. Once again, the scenario is working perfectly on other 3.5 systems with the same query design, so i'm sure it has nothing to do with Query Designer options.
    Would anyone have ever come to an equivalenet problem? I'm wondering whether the DB itself could not play a role in the variable with ref  characteristic 'constant =1' ...
    Any though is welcome!
    thanks

    Hi,
    The text variable is replaced when the exact date is clear for this key figure column according to the restriction.
    To achive this, please make sure that either the variable is directly restricted in the key figure selection, or that the date characteristic is in drilldown.
    Regards,
    Patricia

  • Performance issues with query input variable selection in ODS

    Hi everyone
    We've upgraded from BW 3.0B to NW04s BI using SP12.
    There is a problem encountered with input variable selection. This happens regardless of using BEx (new or old 3.x) or using RSRT. When using the F4 search help (or "Select from list" in BEx context) to list possible values, this takes forever for large ODS (containing millions of records).
    Using ST01 and SM50 to trace the code in the same query, we see a difference here:
    <u>NW04s BI SQL command</u>
    SELECT                                                                               
    "P0000"."COMP_CODE" AS "0000000032" ,"T0000"."TXTMD" AS "0000000032_TXTMD"                             
    FROM                                                                               
    ( "/BI0/PCOMP_CODE" "P0000" ) LEFT OUTER JOIN "/BI0/TCOMP_CODE" "T0000" ON  "P0000"."COMP_CODE" = "T0000
      "."COMP_CODE"                                                                               
    WHERE                                                                               
    "P0000"."OBJVERS" = 'A' AND "P0000"."COMP_CODE" IN ( SELECT "O"."COMP_CODE" AS "KEY" FROM              
      "/BI0/APY_PP_C100" "O" )                                                                               
    ORDER BY                                                                               
    "P0000"."COMP_CODE" ASC#                                                                               
    <u>BW 3.0B SQL command:</u>
    SELECT ROWNUM < 500 ....
    In 3.0B, rownum is limited to 500 and this results in a speedy, though limited query. In the new NW04s BI, this renders the selection screen unusable as ABAP dumps for timing out will occur first due to the large data volume searched using sequential read.
    It will not be feasible to create indexes for every single query selection parameter (issues with oerformance when loading, space required etc.). Is there a reason why SAP seems have fallen back on a less effective code for this?
    I have tried to change the number of selected rows to <500 in BEx settings but one must reach a responsive screen in order to get to that setting and it is not always possible or saved for the next run.
    Anyone with similar experience or can provide help on this?

    here is a reason why the F4 help on ODS was faster in BW 3.x.
    In BW 3.x the ODS did not support the read mode "Only values in
    InfoProvider". So If I compare the different SQL statements I propose
    to change the F4 mode in the InfoProvider specific properties to
    "About master data". This is the fastest F4 mode.
    As an alternative you can define indexes on your ODS to speed up F4.
    So would need a non-unique index on InfoObject 0COMP_CODE in your ODS
    Check below for insights
    https://forums.sdn.sap.com/click.jspa?searchID=6224682&messageID=2841493
    Hope it Helps
    Chetan
    @CP..

  • Issue with SQL Query with Presentation Variable as Data Source in BI Publisher

    Hello All
    I have an issue with creating BIP report based on OBIEE reports which is done using direct SQL. There is this one report in OBIEE dashboard, which is written using direct SQL. To create the pixel perfect version of this report, I am creating BIP data model using SQL Query as data source. The physical query that is used to create OBIEE report has several presentation variables in its where clause.
    select TILE4,max(APPTS), 'Top Count' from
    SELECT c5 as division,nvl(DECODE (C2,0,0,(c1/c2)*100),0) AS APPTS,NTILE (4) OVER ( ORDER BY nvl(DECODE (C2,0,0,(c1/c2)*100),0))  AS TILE4,
    c4 as dept,c6 as month FROM 
    select sum(case  when T6736.TYPE = 'ATM' then T7608.COUNT end ) as c1,
         sum(case  when T6736.TYPE in ('Call Center', 'LSM') then T7608.CONFIRMED_COUNT end ) as c2,
         T802.NAME_LEVEL_6 as c3,
         T802.NAME_LEVEL_1 as c4,
         T6172.CALENDARMONTHNAMEANDYEAR as c5,
         T6172.CALENDARMONTHNUMBERINYEAR as c6,
         T802.DEPT_CODE as c7
    from
         DW_date_DIM T6736 /* z_dim_date */ ,
         DW_MONTH_DIM T6172 /* z_dim_month */ ,
         DW_GEOS_DIM T802 /* z_dim_dept_geo_hierarchy */ ,
         DW_Count_MONTH_AGG T7608 /* z_fact_Count_month_agg */
    where  ( T802.DEpt_CODE = T7608.DEPT_CODE and T802.NAME_LEVEL_1 =  '@{PV_D}{RSD}' 
    and T802.CALENDARMONTHNAMEANDYEAR = 'July 2013'
    and T6172.MONTH_KEY = T7608.MONTH_KEY and T6736.DATE_KEY = T7608.DATE_KEY
    and (T6172.CALENDARMONTHNUMBERINYEAR between substr('@{Month_Start}',0,6)  and substr('@{Month_END}',8,13))
    and (T6736.TYPE in ('Call Center', 'LSM')) )
    group by T802.DEPT_CODE, T802.NAME_LEVEL_6, T802.NAME_LEVEL_1, T6172.CALENDARMONTHNAMEANDYEAR, T6172.CALENDARMONTHNUMBERINYEAR
    order by c4, c3, c6, c7, c5
    ))where tile4=3 group by tile4
    When I try to view data after creating the data set, I get the following error:
    Failed to load XML
    XML Parsing Error: mismatched tag. Expected: . Location: http://172.20.17.142:9704/xmlpserver/servlet/xdo Line Number 2, Column 580:
    Now when I remove those Presention variables (@{PV1}, @{PV2}) in the query with some hard coded values, it is working fine.
    So I know it is the PV that's causing this error.
    How can I work around it?
    There is no way to create equivalent report without using the direct sql..
    Thanks in advance

    I have found a solution to this problem after some more investigation. PowerQuery does not support to use SQL statement as source for Teradata (possibly same for other sources as well). This is "by design" according to Microsoft. Hence the problem
    is not because different PowerQuery versions as mentioned above. When designing the query in PowerQuery in Excel make sure to use the interface/navigation to create the query/select tables and NOT a SQL statement. The SQL statement as source works fine on
    a client machine but not when scheduling it in Power BI in the cloud. I would like to see that the functionality within PowerQuery and Excel should be the same as in Power BI in the cloud. And at least when there is a difference it would be nice with documentation
    or more descriptive errors.
    //Jonas 

  • Having an issue with passing the text of a link to a session variable.

    I am having an issue with passing the text from a link to a session variable. I am adding this html as a literal for each item in the list that i have populated with a query.
    List<Literal> lit = new List<Literal>();
    for (int i = 0; i < posts.Count; i+=4)
    Literal someLit = new Literal();
    someLit.Text=
    @"<div class='row'>" +
    "<div class='col-md-12'>" +
    "<div class='panel'>" +
    " <div class='panel-body'>" +
    " <!--/stories-->" +
    " <div class='row'> " +
    " <br>" +
    "<div class='col-md-2 col-sm-3 text-center' id='javascript'> <h3>" +
    " <a href='#' runat='server' onserverclick='UserProfile_Click'>" + posts[i + 3] + " </a>" +
    "</h3>" +
    " </div>" +
    " <div class='col-md-10 col-sm-9'>" +
    "<h3><a href='Thread.aspx' runat='server' onserverclick='MyFuncion_Click'> " + posts[i] + " </a></h3>" +
    " <div class='row'>" +
    " <div class='col-xs-9'> " +
    posts[i + 1] +
    " </div>" +
    "<div class='col-xs-3'></div>" +
    posts[i + 2] +
    " </div>" +
    "<br><br>" +
    " </div>" +
    " </div>" +
    " <!--/stories-->" +
    " </div>" +
    " </div>" +
    " </div><!--/col-12-->" +
    " </div>" +
    "</div>";
    lit.Add(someLit);
    for(int i=0; i<lit.Count; i++)
    this.Controls.Add(lit[i]);
    I use one of the list positions as the text for a link in two different spots. For now, lets only talk about the line:
    <a href='#' runat='server' onserverclick='UserProfile_Click'>" + posts[i + 3] + " </a>
    Since I am generating these controls at pageLoad, I can't make them <asp:Linkbutton>s. And since they are anchor elements, I don't have access to an onCommand attribute or onservercommand attribute.
    All I want to do is access the content from inside the specific link tags that I generate on link click and set it as a session variable. That's what I would like my UserProfile_Click function to do. I cant commandargs it in like i can with a linkbutton's
    OnCommnad attribute, however.
    My fear is that the onserverclick attribute resolves so something else on pageLoad normally and since I am generating it the way I am similar to the way a <asp:linkButton> resolves to a generated JavaScript.
    Any help?

    @Brunellus
    For questions related to ASP.NET use the ASP.NET forum http://forums.asp.net     
    You should get more, better and faster answers on the other forum.  Thanks, ahead of time.
    Best Regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Issue with Variable Entry in BI 7.0

    Hi,
    I am having an issue with the variable entry in BI 7.0 Version. Here is a brief background.
    --- In BW 3.x, when we define a variable with <b>Single Value Option</b>, you can enter the value manually in the pop-up selection screen or select from the dropdown of possible values.
    ---But in 7.0 when i try to enter the value manually in the selection screen its opening the dropdown list, and is not giving me the option to enter a value manually. I am entering a valid single value in selection.
    Is this a bug or do i have to make any specific settings to correct my issue?

    When the selection screen pops up choose the KEY only function on the TOOLS on the top right corner of the screen. Then you will be able to enter the values manually.
    Hope this helps.

  • Issue with Default Variable in WAD after Java Patch 7.01.7.31

    Hello all,
    I'm running into an issue with the Web Application Designer Template execution for a particular default variable. This started occuring after Java Patch 7.01.7.31 we had implented over the weekend.
    The issue is when Executing the WAD Template, we have a selection screen with a variable with default values assigned to it. When leaving the default values and hitting Ok to execute  through the screen does not register and stays as is and I get a message at the top with the following: Characteristic Prob % Number has no master data for "1.00" or you do not have authorization.
    This only seems to occur for this default variable on info object Prob % Number, the other default variables seem to work fine. Also another note when clearing out the values it returns data and executes through. The value 1.00 is also a valid value in the cube and also in the output display. If we run this report in the BEx analyzer, the selection screen executes through with the default variable perfectly fine, this is only an issue with the Web Application Designer Template.
    Has anyone ran into this? I've searched and have not found any notes as of yet.
    Thank you,
    -Andy

    Dear Andy,
    Please raise this to SAP, seems like a strange problem this needs to be addressed by OSS note only.
    Close this thread once you get a solution.
    Regards.
    Den

  • Issue with declaring variable

    I am developing a multiuser application in flash, using smartfox server and as 2.0, but i am having an issue with defining/declaring a variable/object/array, and then accessing it. I am attempting to define "curMap" (whether it be a variable, array, object, whatever works) within the following function, as the returned array from the server, "resObj". This works fine as long as i only call up "curMap" WITHIN this function(as you see in the  line :  r_txt.text = curMap;)  however whenever I try to call up "curMap" on the frame coding, outside the function, it comes back as undefined, or typically nothing.  Any Ideas as to how to properly do/assign this? I have tried various things(such as _root., _global, or defining the var "curMap" outside the function) with no luck.
    Here is my Code:
    smartfox.onExtensionResponse = function(resObj:Object, type:String)
            if (type == "xml")
                    if (resObj._cmd == "getMap")
                        curMap = resObj.db[0];
                        r_txt.text = curMap;
                    }else if (resObj._cmd == "getSurr"){
                     surrMap = resObj.db;
                     b_txt.text = surrMap[0];
    thanks

    ahhh! yup that fixes it, thanks!

Maybe you are looking for

  • JPA multiple queries run for ManyToOne mapping

    I have a ManyToOne relationship defined on an Entity A to another Entity B. When I run a named query that returns N results, N queries are run to populate the Entity B objects defined by the ManyToOne relationship. Is there a way to configure toplink

  • Payment proposal

    Hi After succeful completion of payment run,when i print payment propsal list, it will display vendor details ,bank details ,invoices and amount.suppose if a vendor is having 100 invoices then propsal list will be too lengthy,so i want the system to

  • DDL Running on DB regardless of setting

    Hi, I'm trying to setup my connection so that it ONLY generates the DDl script but doesnt run it. My code is:           Map propertiesMap = new HashMap();           propertiesMap.put(EntityManagerFactoryProvider.DDL_GENERATION, EntityManagerFactoryPr

  • Mass update of Storage Location

    Hi Gurus, I've executed mass transaction MMSC_MASS for extending the storage location to 0002 and 0003. How to exclude these storage location to exclude in MRP run ? Can it be done anywhere in material master ? Please throw some idea on this. Thanks

  • Premiere Elements 4 Dropped Frames Reported?

    I know this sounds stupid, but I looked everywhere. My preferences shows CAPTURE: Report Dropped Frames. So, If I HAD dropped frames where does it tell me? so far I have had no reports, does this mean no dropped frames?