How to use my custom defiend function

Dear all,

I simply create a new custom set function that I send him a whole month and return name.
The function registered successfully. and everything is ok, the newspapers are ok

My question: how to use my @TOSTRING CDF

the following code for the java class
--------------------------------------------------------------------------------
import java.lang. *;
Import Java.util;
import java.text.DateFormatSymbols.
class toString {}

public static String fromInt (int m)
{

return new DateFormatSymbols () .getShortMonths () [m-1];

}

}

------------------------------------------------------------------------------


I tried the following and check syntax result successful and executed, but now


VAR x = 2;
'Project status' = @MEMBER (@CONCATENATE (@TOSTRING (x), '200'));


Please advice

Try to write a fix and check that @TOSTRING (x) is back, ex:
DIFFICULTY (@MEMBER (@CONCATENATE (@TOSTRING (x), "200"))
;
ENDFIX;

Or

Fix (@Member (@TOSTRING (x)))
;
ENDFIX;

You will find a line in the newspapers saying:
Expression [@MEMBER (<>)]...

See you soon... !!!

Tags: Business Intelligence

Similar Questions

  • How to use the Print Screen function?

    I've seen various descriptions of how to use the print screen function.

    It would be nice to actually tell one that works.  None have worked for me.

    [Fn] and Prt SCr does not work.

    CTRL and Prt SCr does not work.

    CTRL, Alt, and Prt SCr does not work.

    [Fn], Ctrl and Prt SCr does not work.

    If anyone knows the correct method to activate the screen capture function which would be a good thing.

    From the looks of things, HP has a big problem with this function.

    Here's a microsoft articleon the use of the screenshot function.

    This should answer your questions.

    Thanks for taking a peek.

  • How to use a custom in OBPM jsp taglibs?

    Could someone, please, explain to me the steps on how to use a taglib custom inside OBPM 10 g with jsp?
    I created a custom taglib, it works with other projects (with jdeveloper, for example), but I'm missing something to make it work with Obpm.

    Thank you

    Make sure you copy the .tld and .jar files appropriate for the tag library in the directories for the BPM execution:

    Copy the .tld into /webapps/workspace/WEB-INF

    Copy the jar file of taglib in /webapps/workspace/WEB-INF/lib

    Make sure you restart the workspace after making the above changes. If you are using enterprise, you must rebuild and install le.war/.ear to the workspace and to redeploy.

  • How to use the xp20 extension functions?

    Hello everyone,

    I want to use Java (JAXP) to perform XSL transformations using the xp20 extension functions (http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20).

    Transformation of"basic" is at work,
    Seller: < xsl: value - of select = "system-property('xsl:vendor')" / >
    Version: < xsl: value - of select = "system-property('xsl:version')" / >

    results in:
    Vendor: Oracle Corporation.
    Version: 2

    However, when I try < xsl: value - of select = "xp20:current - dateTime ()" / > (Yes, the namespace is declared), I get the following error:
    XML-22043: Fehler (error) bei Erweiterungsfunktion: method 'current-dateTime"non found
    (roughly: Error (error) according to the extension: "current-dateTime" method not found)

    This is after you have added the bpm - services.jar to my classpath. Before, I had a "class not found" (or something like that...).

    Assume that something is missing in my classpath - can I anyone tell me who I need to add the jar files and where to find them? This should be compatible with the suite and JDeveloper 10.1.3.4 SOA 10.1.3.4

    Thank you very much

    Finch

    4526876 October 9, 2006 bpm - services.jar (of soa_windows_x86_bpel_101310.zip)

    1211311 xmlparserv2.jar (from oracle xdk - 10.2.0.2.0)

    Don't run with all the exits, no variable set CLASSPATH, no ORACLE_ * defined variables:

    % java -cp "xmlparserv2.jar;bpm-services.jar" oracle.xml.parser.v2.oraxsl -w -v -debug -l input.xml -s date.xsl -r out
    Release version: Oracle XML Developers Kit 10.2.0.2.0 - Production
    1 XML document will be transformed using XSLT stylesheet specified in date.xsl with 1 thread
    Parsing file date.xsl
    Parsing file input.xml
    Transforming XML document specified in input.xml
    

    It seems to be a classpath issue. Try with java-verbose and you should see a line like

    ...
    [Loaded oracle.tip.pc.services.functions.Xpath20 from file://path/to/bpm-services.jar]
    ...
    
  • How to use the custom function to put in shape of line chart Axes?

    Hello...

    I use a graphic line which the axis value is vary from 0 to 50000. It is a number which he gets from its dataProvider. I want to format it and show it as

    $50,000

    $40,000

    $30,000

    $20,000

    $10,000

    $0

    Instead of

    50000

    40000

    30000

    20000

    10000

    0

    Here is my code linechart:

    < mx:LineChart id = "revTimeLineChart".
    Width = "100%" height = "100%".
    showDataTips = "true" >

    < mx:horizontalAxis >
    < mx:CategoryAxis id = "lcCatAxis" categoryField = "name" / >
    < / mx:horizontalAxis >

    < mx:series >
    < mx:LineSeries id = "ls" yField = "income" displayName = "Recipes" showDataEffect = "{slideIn}" / > (yField, this is what I want to do a format...)

    < / mx:series >

    < / mx:LineChart >

    Can you please let me know how can this be achieved?

    See you soon!

    Deepak

    Hello

    you need a labelFunction in AxisRenderer.

    See the example in the documentation

    http://livedocs.Adobe.com/Flex/3/langref/MX/charts/AxisRenderer.html#includeExamplesSummar y

  • How to use locate the if function several occurences of the same character

    I try to use the location feature to conclude to the existence of ' ~' in my thong. My channel has several occurrences of ' ~' in there.
    But the location always returns the location of the first. How can I get him back the second occurrence of ' ~' in the string.

    Thanks in advance
    Kris

    Published by: user566193 on October 1, 2010 13:35

    OK, it's not pretty, but it works... I will describe the step-by-step process.

    Getting the first Occurrence

    (1) on the column that you want to find the tilda (~), click the fx button.

    (2) use the LOCATE function: LOCATE ('~ ', tablename.columnname)

    It's will give you the position of the first occurrence of the tilda number.

    Getting the second Occurrence

    (3) in order to find the location of a string in another string from a set position, you use the same function, but in this format: LOCATE (string1, string2, n)

    Note: If you look at the function OBIEE, it says to use LocateN, but actually, it does not work and you will get a syntax error, so use LocateN. Use instead SEE them as I've described, but with the same syntax as in the LocateN function.

    Well, in this function, the value of n must be value just after the first occurrence to find the second occurrence.

    The first occurrence is determined by the LOCATION feature in step 2, we simply need to 'Add 1' to the obtained position. It turns out however that the result of the LOCATION works, although this property returns a number isn't a number format. Therefore, we have to GET the result as an INTEGER. (Still with me? Good.)

    OK, so putting this together, we nest a function LOCATE in a LOCATION feature as follows:

    LOCATE ('~ ', tablename, columnname, CAST (LOCATE('~', tablename.columnname) AS INTEGER) + 1).

    The above formula will give you the second occurrence of your tilda. You can repeat this step for the third, etc.

  • What is correnct how to use GroupDataModel custom inside a qml?

    Hello.

    Got this code qml

        Tab {
            title: qsTr("Friends")
            content: NavigationPane {
                Page {
                    content: ListView {
                        id: friendsView
                            dataModel: friendsModel
                        listItemComponents: [
                            ListItemComponent {
                                type: "header"
                                StandardListItem {
                                    title: friendsModel.header
                                }
                            },
                            ListItemComponent {
                                type: "item"
                                StandardListItem {
                                    title: friendsModel.first_name
                                    description: friendsModel.last_name
                                }
                            }
                        ]
                    }
                    onCreationCompleted: {
                      if (friendsModel){
                        console.log("Here is non 0 model")
    
                      }
                    }
                }
    
            }
        }
    

    And this C++ code

        FriendsApiService* friendsApi = new FriendsApiService();
        friendsApi->getFriendsList();
    
        QmlDocument *qml = QmlDocument::create("asset:///main.qml")
        .parent(this);
    
        qml->setContextProperty("friendsModel", friendsApi);
    
        AbstractPane *root = qml->createRootObject();
    
        app->setScene(root);
    

    It's interesting because I see my virtual functions in groupdatamodel (childcount() and data()), debugging messages

    but then was an error in the console: "Reference error cannot find varialable friendsModel.

    So as a result, I got 5 (cause my model data has 5 rows) empty strings in my ListView.

    In your StandardListItem you use ListItemData.first_name, not friendsModel

  • How to use two custom on one screen fields

    Hello friends,

    I'm trying to customize LabelField and EditField. Both performed well individually in separate projects. Now I want to put them in the same project, same screen. Please help me.

    My Code is as attaché

    // BBEdit field class...customized EditField
    
    import net.rim.device.api.system.Display;
    import net.rim.device.api.ui.Color;
    import net.rim.device.api.ui.Graphics;
    import net.rim.device.api.ui.component.EditField;
    
    public class BBEditField extends EditField {
    
        public BBEditField() {
            super("","Trial");
    
        }
    
        protected void layout(int width, int height) {
            super.layout(width, height);
            setExtent(width, height);
        }
    
        protected void paintBackground(Graphics graphics) {
            // TODO Auto-generated method stub
               graphics.setColor(Color.BURLYWOOD);
                graphics.clear();
    
            super.paintBackground(graphics);
        }
    
    }
    
    //BBLabelField class.. customized LabelField
    
    package mypackage;
    
    import net.rim.device.api.ui.Graphics;
    import net.rim.device.api.ui.component.LabelField;
    
    public class BBLabelField extends LabelField {
        private String text;
        private int colorOfText;
    
        public BBLabelField(String text, int colorOfText) {
            super(text);
            this.text = text;
            this.colorOfText = colorOfText;
    
        }
    
        protected void layout(int width, int height) {
            super.layout(width, height);
            setExtent(width, height);
        }
    
        protected void paintBackground(Graphics graphics) {
            graphics.setColor(colorOfText);
            graphics.clear();
            super.paintBackground(graphics);
        }
    
    }
    
    // Actual use of both the classes..not working well together
    
    public final class MyScreen extends MainScreen
    {
        /**
         * Creates a new MyScreen object
         */
        public MyScreen() {
            // Set the displayed title of the screen
            VerticalFieldManager vfm = new VerticalFieldManager();
            BBLabelField myLabel = new BBLabelField("dummytext",Color.BROWN);
            BBEditField editField1 = new BBEditField();
    
            editField1.setText("This is Non-Editable");
            editField1.setLabel("Name : ");
            editField1.setEditable(false);
    
            vfm.add(editField1);
            vfm.add(myLabel);
    
            add(vfm);
    
        }
    }
    

    Thank you

    remove the sublayout method, it does not have something useful.

  • How to use the user defined function in the Update statement

    Hi all

    I wrote under the update statement to update the column based on the return value of function. but it does not work. Could someone help me on this. This function returns a single value for each project.

    Thanks in advance.

    UPDATE dg2. OD_PROJ_LOOKUP_TEMP o
    SET Months_In_Stage_Cnt = Months_In_Stage_Cnt_ret (o.project_id) select the double;


    Thank you
    Deb

    PLS-00231: function 'MONTHS_IN_STAGE_CNT_RET' cannot be used in SQL

    -What is the function that is declared private in a package? If Yes, then it must be public, otherwise the SQL engine cannot be used.

    Published by: Dom Brooks on November 18, 2011 09:43

  • How to use the custom scale

    Hello

    I use the version of LabVIEW 2013. In my program, I used DAQmx create scale (linear). VI before the DAQmx create Channel.vi

    I have a 4 to 20mA current signal to be converted into pressure. It's I want any current value comes put DAQmx read to be subtracted by 4mA and then multiplied by 0.375.

    If we see equation y = mx + c, and then my x-value data from reading DAQ, m will be 0.375 and orderly will be - 0.0015

    If I feed these scale values create, I do not receive correct data. It is that I gave the slope as 0.375 intercept and y as - 0.0015 to create Scale.vi

    Is not the right way.

    If I try the way ordinary read DAQmx exit, then subtracting 4mA and then multiplying 0.375, I get correct pressure value.

    So if I want to the regular way or what I have to do scaling create to manage this calculation. Let me know. Thank you

    Hemagopal wrote:
    I have 6 bar working pressure of 4 to 20 my. Create scale can be used?

    If you are off to a factor of 1000.  Your scale should be y = 375 x - 1.5

  • How to use a custom comments template?

    Hi, I'm using

    {module_ratingfeedback template="/auto/templates/comments.tpl}"

    Model renders {{items}} as '2 System.Collections.Generic.Dictionary (System.String, System.Object)
    Restores {{[0]}} as [pendingComment], [date, 09/03/2016 14:21:19] [body, large vehicle] [country], [flagUrl,] [fullName, Anonymous] [Web site] [postUrlWithHost, http://www.yarmarka.kz] [note, 3]

    But I can't loop through {{items}}.

    {% for item in items %} TEST {% endfor %}

    returns nothing.

    What I am doing wrong?

    Hello

    According to the docs, the module_ratingfeedback will make your comments for an article.

    So there will be everything to loop through.

    What exactly are you trying to achieve? Can the {tag_commentspaged, collection model = 'collection_name' = ""} help?

  • How to use the plugin Cordova customized with AEM Mobile?

    Hello

    I explored the basics of the AEM Mobile over the last days and also tried to use some plugins Cordova mentioned in the Plugins to the application tab. Now, I would like to know how to use a custom Cordova plugin or plugin other than those mentioned in this list in my application.

    Is it possible to achieve today? If Yes, please provide me with the markets / pointers to all documentation which explains the same thing.

    Custom plugins support is not yet available, but on the road map

  • How to use PF_AppGetColor() indeed custom?

    Hello

    I am able to use PF_AppGetColor (PF_App_ColorType, PF_App_Color) and get the AE color required for use in the CEAP. But I'm not able to find a way to use PF_AppGetColor() in my custom effect. For now I'm connect to CEAP and get the required color. Please tell me how to use indeed custom PF_AppGetColor().

    Thank you

    Dheeraj.

    I use it in an effect.

    This comes directly from my code.

    Suites. AppSuite3()-> PF_AppGetColor (PF_App_Color_HOT_TEXT & appColor1);

    What happens when you try to use it?

  • applicationContext remains "null" after using the custom url scheme to launch the app

    Hello

    I am currently working on a DPS application for a customer who wishes to use its own authentication system.

    The client system is implemented so that they send the valid token to a URI with a custom method.

    By setting the same pattern custom in my app DPS constructor, I can get the app from the login window.

    What is described in the library of DPS & Api store 2.32 documentation, I understand that

    " adobeDPS.configurationService.applicationContext must contain several variables associated to how the viewer was started or enabled:" ","this class represents the context under which the application is launched '


    However, in my application when I try to see what contains the applicationContext, the object is always 'null '. It doesn't matter if I started the application by clicking on its icon or if it was launched using the custom uri scheme.


    Is this a bug or am I missing something here? I really need this token.

    Hello

    After being stuck for a while trying to work with the url of my client for usage, I finally tested it with a modified version and have found the cause of the problem.

    Work of first information provided by a colleague who was apparently not detailed enough for the customer asked me to use a url of the form App. scheme://auth/#token=...

    It turns out that this kind of url can start or bring the app to the front, but applicationContext remains empty.

    My tests using a url in the same form as you suggested (eg. app. scheme://v1/slot/library) can trigger the app or transmit data.

    The documentation available in the SDK library & shop and article on how to use a custom template is very vague on what formats link actually works, and how we can vary with it.

    A breakdown of official links to pieces, that the parties do and what items can be modified (for example ' / appstate') within the API documentation would be a great help for developers, I think.

    Kind regards

    Lorin

  • How to save the custom of the user using PHP field?

    Hello!

    I am looking for a way to share specific data to the user between connected users. For example, all participants must know each other IDs (our own system IDs, no ACC).

    Custom user fields seems the best solution for this, but I can't find a way to save one using PHP, while creating the room.

    How to save the custom of the user using PHP field? Or maybe there's best solution to do such things?

    Had, just add the new node to the UserManager collection.

    const USER_MANAGER_COLLECTION = 'UserManager';
    static private $USER_MANAGER_CUSTOM_FIELD_CONFIGURATION = array(
       'accessModel'=>self::ROLE_VIEWER,
       'publishModel'=>self::ROLE_VIEWER,
       'persistItems'=>true,
       'modifyAnyItem'=>false,
       'userDependentItems'=>true,
       'sessionDependentItems'=>false,
       'itemStorageScheme'=>self::STORAGE_SCHEME_MANUAL,
       'allowPrivateMessages'=>true,
       'lazySubscription'=>false,
       'p2pDataMessaging'=>false
     );
     const USER_INVITE_ID_CUSTOM_FIELD = 'inviteId';
     static private function createUserManagerCustomFields($room){
       $account = self::init();
       $collection = self::USER_MANAGER_COLLECTION;
       $account->subscribeCollection($room, $collection);
       $account->createNode($room, $collection, self::USER_INVITE_ID_CUSTOM_FIELD, self::$USER_MANAGER_CUSTOM_FIELD_CONFIGURATION);
     }
    

Maybe you are looking for