Connecting functions in the expression editor

Hi everybody,
what's wrong with this expression:
If ( stringindexof( Local.string , Local.search_string ) == 0 , true , false)
I get an "Invalid variable in expression If" error.
Isn't it possible to connect functions together?
or the more spectific question: How is it possible to get true or false if a string contains another one?
Regards,
Matthias

Hi
In the Conditional Action Block, you can map input1 to
stringindexof( Local.string , Local.search_string ).
If it will retun 0, means false. If it will retun 1, means true.

Similar Messages

  • Unable to See the Technology Function in The Expression Editor- ODI 11G

    Hi,
    I am developing Interface whereas i am unable to see the Technology functions in the Expression Editor where i am trying to do some transformation .
    Secondly in the Header it is showing Default language in place of SQL(Oracle)
    any fix please..
    Thanks,
    KP

    I fixed it myself- thanks
    Below was the step i did which resolved the issue. hope this will help others
    Go to ODI Studio
    In Topology- Expand Language
    Import New Language
    import in synonym INSERT_UPDATE mode
    The Language definitions from $ODI_HOME/oracledi/xml-reference/LANG_SQL.xml
    click OK
    close ODI Studio and Open again. that fixed my issue.
    Thanks,

  • Not able to functions in the expression editor

    Hi,
    I have Installed ODI "11.1.1.5".
    While doing the column mapping I am not able to see any default functions (which will be on bottom left side) like string functions,math functions.....etc in the expression editor....but I am able to see the all the tree structure on the right side like global variables,local variables,odiref functions....etc....
    Please help me out on this......
    regards,
    Sai.

    Hi Sai,
    In mapping property (when you select a mapping column in interface) > implementation tab > you can find pencil image, click the same icon it will open a Expression Edition window where you can find string functionality, math function etc
    Eg: in Expression Edition window you can find functions for String, expand String and you can find String functions. For Math, expand Operators and you can find Math operators like +, _, * etc.,
    Regards,
    Phanikanth

  • In the expression editor dialog box my TAB key doesn't function correctly

    This is bizarre behavior that seems to have started recently.
    In Visual Studio 2012, an SSRS project, any expression editor dialog:
    The tab key doesn't work right.
    Open the expression editor and:
    * I see a blinking cursor and I can type in the expression box.
    * If I hit the tab key, the cursor disappears and I cannot type.  I appear to lose focus in the editor but focus doesn't appear to go anywhere else in the dialog box.
    * If I hit the tab key a 2nd time, the cursor is still gone and I cannot type. 
    * If I hit the tab key a 3rd time, I can finally type again and note that I am now
    3 tabstops in.  In other words it seems like the tabs were working but I lost the ability to type anything until I "tab" 3 magical times. 
    I can work around this by hitting tab key then grabbing the mouse and clicking where the cursor SHOULD be which returns focus to the text area.
    Hopefully this image helps clarify:
    Anybody know what is wrong?
    Microsoft Visual Studio Professional 2012
    Version 11.0.61030.00 Update 4
    Microsoft .NET Framework
    Version 4.5.50709
    Installed Version: Professional
    LightSwitch for Visual Studio 2012   04938-004-0034007-02367
    Microsoft LightSwitch for Visual Studio 2012
    Office Developer Tools   04938-004-0034007-02367
    Microsoft Office Developer Tools
    Team Explorer for Visual Studio 2012   04938-004-0034007-02367
    Microsoft Team Explorer for Visual Studio 2012
    Visual Basic 2012   04938-004-0034007-02367
    Microsoft Visual Basic 2012
    Visual C# 2012   04938-004-0034007-02367
    Microsoft Visual C# 2012
    Visual C++ 2012   04938-004-0034007-02367
    Microsoft Visual C++ 2012
    Visual F# 2012   04938-004-0034007-02367
    Microsoft Visual F# 2012
    Visual Studio 2012 Code Analysis Spell Checker   04938-004-0034007-02367
    Microsoft® Visual Studio® 2012 Code Analysis Spell Checker
    Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
    The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
    Visual Studio 2012 SharePoint Developer Tools   04938-004-0034007-02367
    Microsoft Visual Studio 2012 SharePoint Developer Tools
    ASP.NET and Web Tools   2012.3.41009
    Microsoft Web Developer Tools contains the following components:
    Support for creating and opening ASP.NET web projects
    Browser Link: A communication channel between Visual Studio and browsers
    Editor extensions for HTML, CSS, and JavaScript
    Page Inspector: Inspection tool for ASP.NET web projects
    Scaffolding: A framework for building and running code generators
    Server Explorer extensions for Windows Azure Web Sites
    Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure
    Color Theme Designer   1.0
    Designer for creating new color themes
    NuGet Package Manager   2.8.50126.400
    NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
    PreEmptive Analytics Visualizer   1.0
    Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
    SQL Server Analysis Services   
    Microsoft SQL Server Analysis Services Designer 
    Version 11.0.3369.0
    SQL Server Data Tools   11.1.40706.0
    Microsoft SQL Server Data Tools
    SQL Server Integration Services   
    Microsoft SQL Server Integration Services Designer
    Version 11.0.3369.0
    SQL Server Reporting Services   
    Microsoft SQL Server Reporting Services Designers 
    Version 11.0.3369.0
    BIDSHelper
    BIDS Helper 2012 - An add-in to extend SQL Server Data Tools - Business Intelligence (SSDTBI formerly BI Development Studio)
    (c) 2014 Version 1.6.6.0
    http://www.codeplex.com/bidshelper
    SQL Prompt 6
    For more information about SQL Prompt, see the Red Gate website at
    http://www.red-gate.com
    For customer support, call 1-866-733-4283.
    Copyright © 2006–2009 Red Gate Software Ltd

    Hi Bostaevski,
    Thank you for posting in MSDN forum.
    According to your description, as you said that the cursor disappears and cannot type issue. It seems that the issue may be not Visual Studio the VS IDE issue.
    In addition, I find a similar thread about the
    Expression Editor Cursor Issue,
    please see:  
    http://www.beta.microsoft.com/VisualStudio/feedbackdetail/view/780682/vs-2012-rdlc-expression-editor-cursor-issue#.
    Therefore, I suggest you could also try to press alt with left and right arrow keys and check if it is works fine.
    Thnank for your understanding!
    Best Regards,
    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.

  • USER DEFINED FUNCTION in the formula editor

    How do you create a USER DEFINED FUNCTION in the formula editor using BADI

    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/frameset.htm">This</a> may help.

  • Context object not visible in the Expression Editor

    Hi ,
        I have created a context object and assigned it to the sender interface ( outbound interface) but i couldn't see the created object in the Expression editor.
    Can anyone tell me why it is like this? It shows only the technical context objects .
    with Regards
    VasS

    Hi Vasagam,
    Please try out the following and see if it works:
    - Did you set the "Adapter-Specific Message Properties" in the Sender File Communication Channel.You have to select this check box and also select the "File Name" check box(this will be visible once the initially mentioned check box is selected)
    - Is the interface to which the context object is assigned an outbound Interface(Sender Interface) in receiver determination? Only then the context object will be visible.
    Regards,
    abhy

  • None of the functions in the sample editor are appearing

    Every time i go to the sample editor the editing functions are all greyed out, with the exception of gain I am using some of the logic content
    Is there an easy way around this? Did I not correctly install the au stuff?

    sounds like you are editing an apple loop. those cannot be modified without bouncing the loop in the arrange, and reimporting it

  • How to call a function with the dependency editor

    Dear all,
    I am trying to develop a dependency for the charectristics with dependency editor (t-code:CU01).
    But it always occurs an error "E28152 Function myfunction is not declared".
    The following is the snatch of my code. Please provide me the solution, documents or reference link
    about how to write code with the dependency editor.
    000010 pfunction myfunction(
    000020   ......
    000030 )
    Thanks & Regards,
    Red

    I did not get any errors doing this..refer to:
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/92/58c3fc417011d189ec0000e81ddfac/frameset.htm
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/92/58c3fc417011d189ec0000e81ddfac/frameset.htm
    Check if you have the relevant access / authorizations.
    Regards,
    Srini

  • The connect function in the socket class has problems

    when i call this function connect(SocketAddress endpoint, int timeout)
    the timeout variable doesnt wait for the specific time that i tell it
    example
    connect(endpoint, 10000);
    this call should wait for this amount of time but it doesnt wait that amount
    any body has a answer ???

    yes that is exactly what I am saying
    I specify 10 sec, as 10000 milli sec's in the connect function but I get an exception almost imediately when i run my java program...
    run this code
    import java.net.*;
    public class Test
    public static void main(String [] args)
    { Socket s = null;
    int port = 2000;
    try
    s = new Socket();
    InetSocketAddress i = new InetSocketAddress("localhost",port);
    //this next line should wait 10 sec's then throw and exception
    //but it throws and exception upon running the this code
    s.connect(i,10000);
    catch(Exception e){ System.out.println(e.toString()); }
    }//main
    }//Test
    I have also tried setting the setSoTimeout(10000) in the Socket class but
    still with no success...
    I dont know why this doesnt wait 10 sec's then through an exception on it
    and when i try it with a java server it connects instantly...
    any help anyone???

  • Bridge an AirPort Express from an Extreme connected to a Motorola DOCSIS 3 cable/modem/gateway via an ethernet cable? Can I connect ethernet to the Express to setup/handshake/coordinate, and then unplug the ethernet cable from the Express?

    In other words, does the AirPort Extreme NEED to be the device connected to the coaxial cable, or can I connect that cable to the Motorola SBG6580 DOCSIS 3.0 cable modem/wireless gateway? (My Internet provider requires DOCSIS 3.0 for speeds above 12 megabits/sec.)
    Will the Airport Extreme "program" the Express via an ethernet cable, and than the cable can be removed?
    The "bridge" or "repeater needs to be quite a distance away from the physically connected cable modem/wireless gateway and the ethernet- connected AirPort Extreme, and we have wall-to-wall carpeting, and the walls and ceilings are off-limits (family politics), so a looooong ethernet cable is out of the question.
    Any help is GREATLY appreciated!
    Thanx!
    P.S. The 802.11 in my house (ground floor, about fifty feet away from the modem; in the living room about 35ft away *****! And Motorola touts this wireless gateway as having amazing coverage (360, I think they call it),but in fairness, this house is old and has a 5 hanset cordless landline and a microwave and a fan, etc., etc., etc......

    See if find a solution in one of these discussions:
    Best bets to extend/boost signals from Airport and AP Extreme
    How to extend and Extreme network using Express

  • Satellite Pro M70-273: Functionality of the Express Media Player feature

    I bought a Toshiba Satellite Pro M70-273 "Limited Edition" (?) two weeks ago. The model number is PSM76E-00J00QDU, model name SPM76, production date 2006-02-21. According to the specifications I found in the online user's manual or in a folder with publication references
    "TEG October 2005, Art. N0. DSSSPM70 10/05NLBE", there is an "Express Media Feature" "on some selected models" ...
    It is not clear if yes or no, the model I bought has it. I have a "CD/DVD Button" that I use to launch my built-in dvd player (e.g. WinDVD), but this does not work as specified as "a standalone disc drive" that plays a dvd (film) without needing to startup Windows.
    To watch the dvd film, after using the CD/DVD button, I have to boot into Windows, login into Windows XP and when the desktop is started, the WinDVD screen will show the film.
    This is not what I'm expecting from a standalone dvd player. My old notebook has a "dj function" with which one can play a cd without booting into Windows, (or powering up the notebook), just by pressing a special key on the front . How about the promised feature of the Toshiba Satellite Pro?
    Is there an "Express Media Player" functionality at all? How can I check if the feature is provided? I used the setup provided, the first time I used my notebook. I don't wish to use the recovery cd rom provided unless it might be absolutely indispensable to install this missing feature.

    John
    With the laptop you should have received a restore/recovery disc. This contains utilities to either replace individual drivers and tools, plus a complete 'image' of the base build that your laptop has when it is built at the factory
    Although I have never used this, it is supposed to completely wipe all data and setings from ythe laptop by first formatting the hard drive then reinstalling the operating system and applications back to factory settings. From comments elsewhere on this forum one of the few options you can have when you do this is to choose to partition the hard drive into 2 sections, one for the Express Media player, the other for the operating system etc. (as the Express Media operates without booting into the operating system).
    The process is designed to be user friendly as it guides you through it, but as I said it does wipe EVERYTHING you have on the laptop currently, which is why I never bothered after I realised it wasn't installed. By the sounds of it though it won't be too much hassle for you to do that as you have data/settings you can easily transfer afterwards (Win XP has a tool to help with this)
    The Gigastore hub I have found very good, and likewise the Gigastore hard drive, although others have posted here about their laptops not 'seeing' the hard drive in certain conditions
    If you want anything further I check here fairly regularly, or you can mail me - [email protected]
    Steve

  • Evaluate throwing nQSError 42015 cannot function ship the expression

    Working in 11.1.1.6.6 on Windows 32-bit.
    Here's the formula for the one and only column on the analysis: evaluate('greatest(%1, %2)' as double, 12, 14)
    nqsconfig.ini shows EVALUATE_SUPPORT_LEVEL = 2;
    Here are the results:
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 42015] Cannot function ship the following expression: Evaluate( greatest(%1, %2),12, 14) . (HY000)
    SQL Issued: SELECT 0 s_0, evaluate('greatest(%1, %2)' as double, 12, 14) s_1 FROM "A - Sample Sales" FETCH FIRST 65001 ROWS ONLY
    Can someone with an 11.1.1.6.6 system take about 30 seconds to create a column with that formula and tell me if it works for you?
    Thanks!

    Looks like its bug related, bug 13431823

  • Adding "order by" functionality to the expression of a toplink named query

    hello,
    using JDev 10.1.3, I have made a Toplink named query findCustomersByCompany with a parameter company (String) to pass the name of the company of interest. I used the expression option from the format tab with"1.companyId LIKE IGNORE CASE company".
    The selection works fine but now I want the results to be ordered by customer name, the native order in the database is based on creation date.
    How can I add the order by clause to my named query using the expression format?
    kind regards,
    Nemata

    Look at http://www.thespot4oracle.com/SQL/re-6593_Adding-an-ordering-clause-using-a-TopLink-amendment-method.aspx
    Hope this helps.

  • Is there function in the Javascript editor that will hash a field value

    I'm using LiveCycle Designer 7.0 with reader extensions server 7.0. I want to take the value from a given field in a form, hash that value then place the hash in a hidden field. Is there a hash function I can call in designer 7.0 and if so what is called?

    No. There is no hash function in Designer 7 that you can call. You will have to write your own hash function following one of the available hashing algorithms. http://www.partow.net/programming/hashfunctions/ has some good general purpose hashing algorithms.
    Denver
    Adobe Enterprise Developer Support

  • Are there any plans to add back missing functions in the new editor?

    For Example, I don't seem to be able to set a link to open in a new window without editing html.
    I also can't left or right align images without editing CSS, scripting, or opening up html view and adding an inline style.
    These are just two of the small things I've come across recently - I'm sure there are more too.

    There are several thread on this Nathan,
    The answer is yes of course.
    For images - Modern work - Left right align not that good. Your better creating classes to float the images and have those in your dropdown. You get better results as well.
    You can go into your partner portal and customise the editor - Turning off the inline font stuff for example is a 100% must for us to avoid issues and the SEO implications those give.
    I would highly recommend doing a .image-left and .image-right class dropdown options and in the CSS for those float:left etc with margin around the image... Heaps better output and clean markup.

Maybe you are looking for

  • Bi exceotion error on WAD

    hai all,     here is the error i got while publishing a webtemplate on portal.. HELP ME PLEASE...         while publishing the web template on the portal (WAD)...I  get the  bi exception error as described below..      some times report is opening fi

  • Mac Mini *half* loses all network connections

    Cheers folks, new one on me.  I have a Mac Mini 2.26Ghz Core 2 Duo. It's running a fully-updated 10.6.8.  It's connected via ethernet to an Airport Extreme which is extending an 802.11N network from another Airport Extreme elsewhere which is connecte

  • Oracle Prepared Statement and spaces in field

    I have a field that is defined as char(10). It has characters like '39' in it. When I select against it using standard SQL (where clause) I get results. When I use it in the where clause of a prepared statement it does not return any rows. If I have

  • Settings wont open?

    ok so i have a white ipod touch 4g ios 5 and i just put a passcode on my ipod after a couple of minutes i tap settings and its just a blank page then i waited and it just went back on the home screen

  • What is certified operating temp. for WS-X6708-10GE

    I couldn't fins any docs which describes the certified operating temp. for this module, and with "show env" the temp seems to be quite high. module 1: module 1 power-output-fail: OK module 1 outlet temperature: 45C module 1 inlet temperature: 31C mod