How to add AutoSuggestBehavior programmatically

Hi,
I am using jdev 11.1.2.0.0.
In our project in some cases we have to create RichInputText components programmatically.
Does anybody out here know a way to add AutoSuggestBehavior programmatically?
I'll appreciate any pointer...
Thanks!
Edited by: user6806750 on 31.10.2011 6:25
up
Edited by: user6806750 on 01.11.2011 0:38
up
Edited by: user6806750 on 01.11.2011 23:28
up

Hi,
This pointer may help you:
http://anindyabhattacharjee.blogspot.com/2010/10/autosuggestbehavior-is-new-addition-in.html-Prasad

Similar Messages

  • How to add Services programmatically using BAPI_BUS2002_ACTELEM_CREATE_M

    Hi :
    I need to create a project programmatically using the standard PS BAPI. My problem is that I don't know how to add external activities ( Services ) into my project.  I have all steps, except this one. I think that the BAPI BAPI_BUS2002_ACTELEM_CREATE_M should do it but I cannot find where to put the Service Number, Text and Quantity.
    Thanks a lot in advance.
    Jose J. Quezada.

    The problem remains the same. The BAPI_NETWORK_MAINTAIN does not have the fields to add the Services. It can adds an External Activity. The services are External Activities but where are the fields. I need an example or a more specific response. I know how to add a Material for example, but the Services are quite different.
    Kind Regards,
    Jose.

  • How to add a new Shared Variable programmatically to an existing and deployed library?

    Hi there!
    I am trying to accomplish this on both LabVIEW 8.6 and LabVIEW 2010 and seems like it's not any different in this situation.
    My case: A project has a library with 4 Shared Variables (SVs). The library and the variables are deployed (visible in Distributed System Manager 8.6/2010). I want to add 2 more variables into this library. It is possible to do this manually from Project Explorer window's options menu. But while running an application it has to be done programmatically. Can I provide the library reference to the one currently existing without creating a new one?
    "Create Or Add Library To Project" function in the Datalogging and Supervisory Control (DSC) toolkit does not help in this case. That function, as the name suggests, just tries to create a new library in the project.
    Two possible methods:
    The function "Add Shared Variable To Library" (DSC>EngineControl>Libraries & Processes) needs a library reference, which could be provided via "CreateOrAddLibraryToProject" function, but this function tries to create a new library, and if I provide the path of the existing library it throws an exception that the library already exists in the project (yes, as I wrote above, I need to add new variables to an existing and deployed library).
    OR
    The function "Create Shared Variable" (DSC>EngineControl>Variables & I/O Servers) will add Shared Variable in a process, and not physically in a library file, and the problem (limitation) with this approach is that it doesn't allow to add complex data type Shared Variables (for example in LabVIEW 8.6 it has only 4 datatype options in input parameter, and even in LV2010 it does not have "Image" datatype that I need).
    The scond method is my preferred method as it allows to work on Online Shared Variables and doesn't create them physically in libraries (and this is good as the variables' scope remains only till the Variable Engine is running). But it doesn't support advanced data types, and the first method is powerful in terms that it supports to virtually any datatype, it just seems tricky to get that reference to the library.
    Any tips?
    Thanks ahead!
    Vaibhav

       <<<<>>>>   
    As the above two images show, while a library does not exist, it is easy to use the "CreateOrAddLibraryToProject.vi" which will add a new library to the project (if it doesn't exist on file system, a new library will be created) and that way, using the reference (the green wire going out from the function and the Case Structure, can be used to add Shared Variables to the library. The problem was what to do when a library already exists in the project, how to add more variables to it. I was looking for a way to get a library reference, and somehow I could not see it inside a Project's property (VI Server functions). Hence I posted the question. And upon continuing my search, I found it on the Application's property list.
    I hope it was useful for someone else as well. And thanks for the replies. Please share a better idea if you have.
    Vaibhav

  • How to add (multiple) cursors programmatically in an XY graph?

     how to add (multiple) cursors programmatically in an XY graph?
    I am building an XY graph. then I would like to add cursors at certain locations (positioned on x axis) I determine through a program.
    How can I add cursors programatically?
    Thank you.

    Initialize a cluster array (CrsrList type) with as many cursors as you think you would ever need.   Setup your cursors dynamically, then delete the unused cursors (array elements) and then update your CursorList property.
    Message Edited by vt92 on 03-20-2009 04:04 PM
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
    Attachments:
    cursors.PNG ‏5 KB

  • How to import Console Add-in programmatically in VMM?

    Hello All,
    In my C# application, I want to import Console Add-in.
    To do this currently I am creating a folder structure with similar permissions as it was created during the import of Console Add-in from VMM UI.
    But when I start the VMM, it shows the following error : 
    “Your personal add-ins folder is editable by users other than yourself and the Administrators group. This presents a potential security risk by which user could malicious code to be executed using your credential. Please check the following
    folder and remove any permission assigned to the other users. 
    C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\AddInPipeline\Addins\SCVMMTESTING_Administrator ” 
    Is there any other way to import console add-in programmatically in VMM.
    Below is the image for your reference-
    Thanks & Regards,
    Nupur Sharma
    Nupur Sharma

    Hi KVC,
    Im using Essbase 11.1.2 and developed my cube in EAS console, now Im doing the migration from DEV to PROD. I've copied the cube to PROD, but only outline and rule files are copied, no data in it, I exported all level 0 data to a txt file and copied it to PROD, my question is how to import data from the txt file? should I create a new rule file and load data in EAS console? is there a simple way to import these data?
    Thanks,
    -Rrmj

  • How to add project summary programmatically to publishing page.

    Let me know how to add project summary webpart to page in sharepoint 2013.

    Hi,
    Okay,
    check those links to add web part using code, try them and change the parameter to the name of the web part
    http://www.stefangordon.com/add-web-part-to-page-programmatically/
    http://blogs.msdn.com/b/tconte/archive/2007/01/18/programmatically-adding-web-parts-to-a-page.aspx
    http://nikpatel.net/2010/11/09/programmatically-add-the-web-part-on-the-sharepoint-web-part-page/https://manojssharepointblog.wordpress.com/2013/03/27/adding-and-removing-web-parts-programmatically-in-sharepoint/
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/1bc7212c-385d-4a89-9b7e-9d37ee762017/add-webpart-on-sharepoint-page-programmatically?forum=sharepointdevelopmentlegacy
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

  • How to add a file to an existing package programmatically in Acrobat 8?

    Hello
    Is it possible to add a file to an existing package programmatically in Acrobat 8? (embed a pdf file in a pdf package programmatically); If so, how should I do it?
    Thanks in advance,

    Finally, I found out how to add a file to an existing package programmatically by using JavaScript (function: app.execMenuItem("AddFileAttachment")). Thanks for your help Ironsenth. However, I need to specify the file to attach programmatically and I can't figure out how to do it.
    Could you let me know where I can find this information (what document to read)? Is there any parameters for the 'AddFileAttachment' method?
    Thanks in advance,

  • How to add a profile value programmatically?

    Anyone know how to add one? Is there an API?
    I want to add a user level profile option value for 'POR_DEFAULT_DELIVER_TO_LOCATION_ID' so I can default the value. Thanks!
    Thanks

    Hi,
    The LEVEL_VALUE column contains the value of the profile option (see eTRM for details).
    The LEVEL_ID should tell you at what level this profile option is set as follows:
    10001 --> Site
    10002 --> Application
    10003 --> Responsibility
    10004 --> User
    10005 --> Server
    10007 --> SERVRESP
    Note: 201945.1 - How to list E-Business Suite Profile Option values for all levels using SQLPlus
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=201945.1
    Regards,
    Hussein

  • How do I apply programmatic skins for completely custom drawn components of a Flex library project?

    Hello folks,
    I am looking for best practices advice when (1) creating
    custom components and (2) styling and skinning.
    I already know how to skin a component part of the Flex
    framework. I can make a class extending ProgrammaticSkin and have
    my component skinned using CSS to link the component with the
    reference to my custom class.
    However what about those cases when you are completely
    creating a component from scratch?
    Imagine a "Freehand Drawing Canvas" component that allows the
    user to draw on it and has some buttons to set color styles, line
    styles, etc., or imagine a "Screen Flow Gallery" component that
    displays visual objects in a fashion similar to Cover Flow in the
    Mac.
    In many components I am aware you may reuse other components
    part of the Flex framework but I am trying to picture an scenario
    where you would need to draw everything yourself because there just
    isn't something to base it upon so you will end up drawing it from
    scratch.
    To learn how instead of building one of those components I
    mentioned previously I decided to start with something simple that
    would illustrate this like a LiteButton component that will behave
    just like the Flex mx.controls.Button but will extend UIComponent
    and be completely custom drawn.
    The component will have a default look and will also be
    style-able and skin-able. I will provide styles for users of the
    component to modify and regarding skinning anyone can create a
    custom ProgrammaticSkin adding its own drawing logic and link it to
    the component via CSS with the ClassReference applied to the skin
    selector.
    So far so good and it's clear what I want to achieve. I
    actually know how to do most of the stuff here but I have one
    single problem.
    Here is my question, where should I put my custom drawing
    logic? If I do it in the updateDisplayList inside the class
    extending UIComponent it works, however I thought that it would be
    a better practice to do it using programmatic skins, that way I
    could provide different skin themes for my component set.
    The problem is that I can't make the programmatic work in
    this scenario. I tried instantiating the custom programmatic skin
    during the updateDisplayList of the LiteButton component and adding
    it to my display object via addChild but that didn't do anything. I
    also tried creating a "default.css" stylesheet and tried to use
    ClassReference as I would normally do to skin an already existing
    component (or composite component as well) but that didn't do
    anything either.
    So how do I apply programmatic skins for completely custom
    drawn components of my Flex library project?
    I could do it inside the updateDisplayList of the LiteButton
    class extending UIComponent but again I would like to provide
    different theme sets for my components so it makes sense using
    programmatic skins.

    "jbucaran" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hello folks,
    >
    > I am looking for best practices advice when (1) creating
    custom components
    > and
    > (2) styling and skinning.
    >
    > I already know how to skin a component part of the Flex
    framework. I can
    > make
    > a class extending ProgrammaticSkin and have my component
    skinned using CSS
    > to
    > link the component with the reference to my custom
    class.
    >
    > However what about those cases when you are completely
    creating a
    > component
    > from scratch?
    >
    > Imagine a "Freehand Drawing Canvas" component that
    allows the user to draw
    > on
    > it and has some buttons to set color styles, line
    styles, etc., or imagine
    > a
    > "Screen Flow Gallery" component that displays visual
    objects in a fashion
    > similar to Cover Flow in the Mac.
    >
    > In many components I am aware you may reuse other
    components part of the
    > Flex
    > framework but I am trying to picture an scenario where
    you would need to
    > draw
    > everything yourself because there just isn't something
    to base it upon so
    > you
    > will end up drawing it from scratch.
    This may help with that
    http://livedocs.adobe.com/flex/3/html/help.html?content=skinstyle_3.html
    > To learn how instead of building one of those components
    I mentioned
    > previously I decided to start with something simple that
    would illustrate
    > this
    > like a LiteButton component that will behave just like
    the Flex
    > mx.controls.Button but will extend UIComponent and be
    completely custom
    > drawn.
    >
    > The component will have a default look and will also be
    style-able and
    > skin-able. I will provide styles for users of the
    component to modify and
    > regarding skinning anyone can create a custom
    ProgrammaticSkin adding its
    > own
    > drawing logic and link it to the component via CSS with
    the ClassReference
    > applied to the skin selector.
    >
    > So far so good and it's clear what I want to achieve.
    Actually after
    > playing
    > with the weekend and today I know how to do most of the
    stuff but I have
    > one
    > single problem. So here is my question, where should I
    provide my custom
    > drawing logic? If I do it in the updateDisplayList
    inside the class
    > extending
    > UIComponent it works, however I thought that it would be
    a better practice
    > to
    > do it using programmatic skins, that way I could provide
    different skin
    > themes
    > for my component set.
    These aren't mutually exclusive. When you provide a skin with
    a
    TypeSelector, you have to add it to the display list
    somewhere, and this is
    typically done in updateDisplayList or addChildren. I prefer
    to do it in
    updateDisplayList, because you can then change it if the
    style changes.
    > The problem is that I can't make the programmatic work
    in this scenario. I
    > tried instantiating the custom programmatic skin during
    the
    > updateDisplayList
    > of the LiteButton component and adding it to my display
    object via
    > addChild but
    > that didn't do anything.
    Exactly what did you do?
    > I also tried creating a "default.css" stylesheet and
    > tried to use ClassReference as I would normally do to
    skin an already
    > existing
    > component (or composite component as well) but that
    didn't do anything
    > either.
    I've never had any problem using an approach similar to
    this...but I will
    say that I couldn't see any advantage in creating a
    default.css style sheet,
    since it's not really default in the way that the one that
    comes with Flex
    is. It's much more obvious to anyone using your component
    what's going on
    there if you create a style sheet where they're likely to
    spot it.
    > So how do I apply programmatic skins with the default
    look for custom
    > drawn
    > components?
    It seems like your approach is fine, but maybe you've made a
    mistake in your
    implementation.
    > I could do it inside the updateDisplayList of the
    LiteButton class
    > extending
    > UIComponent but again I would like to provide different
    theme sets for my
    > components so it makes sense using programmatic skins.
    You might want to consider also adding an instance of
    HaloBorder to your
    component. That brings a lot of functionality with it.
    HTH;
    Amy

  • How to add a Link to a custom Search Componnent (HTMLB)

    Hi all,
    i developed a custom Search Component for the Search iView based on the <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/41cbcb56-0701-0010-43b4-fbc138ea2b6a">Tutorial</a> (CodeSamples Section) from Thilo Brandt. It extends the BaseCompositeComponent and implements the iSearchComponent. In the Tutorial he creates the Elements (Checkboxes, links, etc.) in the Method "renderComponent()". He also creates a Link, but i need it with a different function. The link in the tutorial a releases a new search roundtrip. I need to open a new Bowserwindow and show the content of a specified URL. How can i do that?
    The second Problem is that i have to show an icon for the Link. I added an Image to the the Project to the /dist/images Path. But how can i access this resource? The following code shows xou the Problem. I need to fill the variable pathToImage.
    Link linkToHelp = new Link(this.createCompositeComponentId("HELPLINK"));
    Image helpImage = new Image(<b>pathToImage</b>,"Help");
    linkToHelp.addComponent(helpImage);
    Thank you for answers.
    Marcus

    hi
    you don't need to use custom actions in order to add links to the quick launch menu. It allows to add links programmatically to the menu items collections directly, see e.g.
    Adding Links to Quick Launch. From this link check the following example which adds an item under the Lists heading in Quick Launch.:
    using System;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.Navigation;
    namespace ConsoleApp
    class Program
    static void Main(string[] args)
    using (SPSite site = new SPSite("http://localhost"))
    using (SPWeb web = site.OpenWeb())
    // Get the Links list or create it if it does not exist.
    SPList list = web.Lists.TryGetList("Links");
    if (list == null || list.BaseTemplate != SPListTemplateType.Links)
    // Create the list.
    Guid listId = web.Lists.Add("Links", "Interesting hyperlinks", SPListTemplateType.Links);
    list = web.Lists.GetList(listId, false);
    // Check for an existing link to the list.
    SPNavigationNode listNode = web.Navigation.GetNodeByUrl(list.DefaultViewUrl);
    // No link, so create one.
    if (listNode == null)
    // Create the node.
    listNode = new SPNavigationNode(list.Title, list.DefaultViewUrl);
    // Add it to Quick Launch.
    listNode = web.Navigation.AddToQuickLaunch(listNode, SPQuickLaunchHeading.Lists);
    Console.Write("\nPress ENTER to continue....");
    Console.ReadLine();
    Blog - http://sadomovalex.blogspot.com
    Dynamic CAML queries via C# - http://camlex.codeplex.com

  • How to add print buttons in teststand batch mode

    Does anyone know how to add "print test report" buttons to the final test status dialog box in TestStand batch mode?. It would be nice to have a print button for each DUT and also a "print all" button to print all of the reports for the batch.

    Hi Hollister,
    I found this example program titled "Programmatic Printing of TestStand Reports - Modular". It should give you some of the functionality you need while giving you a good springboard to customize it for your specifications.
    Cheers,
    KyleP
    Applications Engineer
    National Instruments

  • How to add users from person or group field in a sharepoint list to sharepoint group

    Hi,
    How to add users(single or multiple) from person or group field in a sharepoint list to sharepoint group programmatically?
    Any suggestions would be appreciated.
    Thank you,
    AA.

    Hello,
    Use SPGroup.AddUser() method to add user in group. I have just written sample code in notepad so it is not tested:
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using(SPSite Site = new SPSite(SPContext.Current.Site.Url))
    Using(SPWeb Web = Site.OpenWeb())
    SPList list = web.Lists["ListName"];
    SPQuery query=new SPQuery ();
    query.Query = "<Where><Eq><FieldRef Name='Title' /><Value Type='Text'>Test</Value></Eq></Where>";
    SPListItemCollection items = list.GetItems(query);
    if(items.Count > 0)
    foreach(SPListItem item in items)
    //Get USers from person or group column
    SPFieldUser userField = (SPFieldUser)item.Fields.GetField("Users");
    SPFieldUserValueCollection userFieldValueCollection = (SPFieldUserValueCollection)userField.GetFieldValue(item["Users"].ToString());
    SPGroup spGroup = spSite.RootWeb.Groups[groupName];//group name
    if (users.Count != 0)
    bool isUserInGroup = false;
    foreach (SPFieldUserValue user in users)
    foreach (SPUser item in spGroup.Users)
    string itemUserName = item.LoginName;
    string UserName = user.User.LoginName;
    if (itemUserName == UserName)
    isUserInGroup = true;
    break;
    if (!isUserInGroup)
    spGroup.AddUser(user.User);
    The above code will query list item and then get users from "Users" column. Now it will check whetehr user is already in group not, if not then add user in group.
    http://rajanijilla.blogspot.sg/2012/09/add-users-to-group-programmatically.html
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to add custom field to the task via CSOM?

    Hello!
    I'm trying to add custom fields to my programmatically created task in project 2013. Tasks are created. Then I get them and load custom fields by:
    DraftProject projCheckedOut = tstProj.CheckOut();
    projContext.Load(projCheckedOut.Tasks);
    projContext.ExecuteQuery();
    foreach (var task in projCheckedOut.Tasks)
    projContext.Load(task.CustomFields);
    projContext.ExecuteQuery();
    But the each CusomFieldCollection object has only 1 field (Health, because it have a default value and created automatically). But when I load my project in Project professional i saw more than 1 field, but they are empty.
    Then I tried to add a new custom field to each CusomFieldCollection of each task.
    var newField = new CustomFieldCreationInformation();
    newField.FieldType = CustomFieldType.TEXT;
    newField.Name = "F_1";
    newField.Description = "test description";
    task.CustomFields.Add(newField);
    task.CustomFields.Update();
    New field added to the collection, but when I update the project and publish it nothing is happened.
    How to add a custom field to the each task and set it value?
    Or how to attach enterprise task custom field to my tasks.
    I'm using Microsoft.ProjectServer.Client.

    Hi
    Hope the below posts are of some  helpful for you 
    http://social.msdn.microsoft.com/Forums/en-US/d79f22f2-7fd2-46af-b778-e189c8611120/use-csom-to-update-projects-custom-fields?forum=project2010custprog
    http://msdn.microsoft.com/en-us/library/microsoft.projectserver.client.project.setcustomfieldvalue.aspx
    Thanks
    Geeth
    Geeth If you feel that the answer which i gave you is Helpful please select it as Answer/helpful.

  • Reg: How to add role to a role programitically.

    Hi All,
    How to add a role to another role programmatically ?
    My requirement is...
    I have a super role S1 which has two sub roles R1 and R2.
    I have two schedulers running. When scheduler-1 runs, I want role R1 to be added to super role S1 and the role R2 to be removed. When scheduler-2 runs, I want the role R2 to be added and role R1 to be removed from role S1.
    Now my question is...how to add the sub roles programmatically to super role?
    Thanks,
    Shilpa.

    Hi Shilpa,
    sounds like you want to provide users with different content at different times. Have you ever heard about PCD Filtering? PCD Filtering allows you to hide or show parts of the content using arbitrary filter expressions. I guess you could also implement a PCD filter which filters content depending on the current time.
    Check the article <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3367e690-0201-0010-d285-c69bd884c9f3">Filtering Role and Workset Content</a>, Shantanu's blog <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6370">Filtering Role Content by User Attributes</a> and the presentation <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/17968de1-0a01-0010-1f9f-c090fbc7001a">FilteringRoleand WorksetContentforDevelopers</a> for more information about PCD Filters.
    Best regards,
    Martin

  • Add pages programmatically

    hello,
    any one know, how to add tab pages in a tab control programmatically, at run time.
    regards.
    Hugo

    Hugo
    This has been asked before in this thread http://forums.ni.com/ni/board/message?board.id=170&message.id=133269&view=by_date_ascending&page=1
    David

Maybe you are looking for

  • Error While trying to Get XML element(tag) Values

    We are trying to get XML element (TAG) value from the XML pay load. Example. Getting XML String from a web service and then converting into XML payload. ora:parseEscapedXML(bpws:getVariableData('signOn_Out','signOnReturn')) From this XML payload we a

  • File to File multiple scenario without mapping

    Hi I am doing one simple file to file scenario without mapping i.e picking file from sender directory and then placing it in receiver directory via FTP. Now i have to take two files from different directories and place them in to different directorie

  • Hairline in Name only

    Hi, I need to make a stroke less then one point. My laser cutter will only cut vector when the line weight is less then one. I have used: Select>Object>Not aligned to Pixel Grid, Make an outline and copied the style and pasted it, and in the PDF turn

  • "open in camera raw" greyed out in cs5..bridge

    just installed cs5, it opens raw files fine, but when bridge opens, the choices to open raw files is greyed out, no more mass production, i downloaded raw updater 5.7, but that did not help...any ideas on this problem?

  • How to control SWF Video using JavaScript?

    Hi, I'm developing a web page which will use Flash Videos. I need to control the video without using a typical skin. The current tool I'm using to convert my wmv to SWF FLV is Coffee Cup. A hex edit suggests this is a Version 8 SWF. I am trying to wr