Dynamically creating Runtime users

Hi,
I am trying to create a workflow that would connect to a remote Unix Box with credentials & host details provided by user from New Scale as input parameters.
The problem that I am facing is how to dynamically create runtime users as well as Targets & associate the user with that Target.
Following inputs I will expect from New Scale - Host Name, user+pwd to connect to that Host.
Regards,
Abhi

As per Michael's reponse you need to access the WSDL for both Target and Runtime User.
Make sure you have enabled the TEO NBWS first(under file->server properties->web service in the master UI). Port 61527 for http, 61526 for HTTPS (both defaults)
For Unix connections I have done the exact thing you describe and I used the telnet target type as I find it easiest to work with.
I do a 3 step process... create runtime user, extract the GUID of that Runtime User from the output of the web services call, and then create the SSH connection and pass the GUID of the Runtime User into the SSH connection web service call.
Here is a screenshot of the create runtime user:
I extract the guid by using a match regular expression on ".*" and then doing a substring on that result.
Here is a screenshot fo the create SSH connection:

Similar Messages

  • Is it possible to dynamically create a user variable at runtime from within a Widget?

    I'm trying to develop a custom Interactive Widget. This widget will allow the user to take multiple attempts, and needs to store information about previously completed attempts so they can (hopefully) see their improvements over time.
    I'm trying to figure out the best way to store the data about the previously completed attempts across multiple sessions in a LMS. It seems that the data stored in user variables is automatically stored/restored in suspend_data, which would be perfect. The issue is that I can't find a way to dynamically create a new user variable from within a Widget. It looks like I can only access user variables that the author has explicitly defined in the Captivate interface. I'd rather not have to force the author to define an empty User Variable that they'll never knowingly use, just to give the Widget a bucket to store its data.
    Does anyone have any ideas for what might be the best way to accomplish this? I'd like to stick to standard, "approved" APIs as much as possible, but I'd be willing to bend some rules if necessary.
    Thanks!

    Ryan,
    I assume you've asked this question here:
    https://groups.google.com/forum/?fromgroups#!topic/elearning-technology-and-development/e5 vWZfJ6X8I
    I asked a similar question here:
    https://groups.google.com/forum/?fromgroups#!searchin/elearning-technology-and-development /leichliter/elearning-technology-and-development/Au88bu7LB5o/TC7xlo8iBpQJ
    Philip gave you sound advice.  You'll have to hijack/re-purpose the comments or the suspend data.  I was successful in using SCORM comments in a Moodle system to store extra data I needed for a customer.  It's not ideal, but it gets the job done. Here's a thread about that:
    https://groups.google.com/forum/?fromgroups#!topic/elearning-technology-and-development/Yg YAMGfXQNw
    If you use suspend data, you have to watch out for a few things:
    1.  It's base 64 encoded... so any data you append to what Captivate outputs will need to be in base 64 (that's a good practice anyway since the data has to be serialized).
    2.  On course re-entry, you'll need to capture the suspend data before it hits Cp to strip off / read your needed data.  If the suspend data isn't in the format Cp expects, you'll get a nice white screen of death.
    Ideally, it would be nice to be able to dynamically create user variables for purposes like this... and it's been requested in Cp 6.... we'll see if it gets added (not holding my breath).  Until then, I'd use cmi.comments.
    Jim Leichliter

  • Creating Forte FieldWidgets Dynamically at Runtime

    Hi Everyone,
    Could someone please help me with the following problem I have when
    creating Forte fieldwidgets dynamically at run-time. I am using Forte
    ver. 3.0.G.2.
    (-1-) I have a window class with an empty gridfield, <grfMain>, inside a
    viewport. The idea is to populate the gridfield with DataField
    fieldwidgets dynamically at runtime. Depending on some input criteria,
    sometimes some of the DataFields need to map to IntegerNullables, some
    to DoubleNullables and some to DateTimeNullables. (Please note that I
    cannot use the Forte window workshop to create these fieldwidgets,
    because different types of fieldwidgets will be needed at different
    times, in different numbers, at run-time. ) Here is a sample of how I am
    currently trying to achieve this:
    dfDate : DataField = new;
    dfDate.MaskType = MK_Template;
    dfDate.DateTemplate = new( value='dd/mm/yyyy' );
    dfDate.Row = 1;
    dfDate.Column = 2;
    dfDate.Parent = <grfMain>;
    dfInt : DataField = new;
    dfInt.MaskType = MK_INTEGER;
    dfInt.Row = 2;
    dfInt.Column = 2;
    dfInt.Parent = <grfMain>;
    dfReal : DataField = new;
    dfReal.MaskType = MK_FLOAT;
    dfReal.Row = 3;
    dfReal.Column = 2;
    dfReal.Parent = <grfMain>;
    The code above is called after the window has been opened with the
    Open() statement.
    Looking at the code above, one obvious omission is that the "Mapped
    Type" of the Datafields are not set up. In the Forte window workshop, an
    interface is provided to set up the "Mapped Type" of the Datafield
    widgets, but I'm not sure how to do that dynamically, and that is
    basically my biggest problem here.
    (-2-) If I now run the window class, the Datafield widgets get created,
    and they all have the correct input maks, but no validation gets done
    when one tabs away from the field. For example, Datafields with
    MaskType=MK_INTEGER will gladly accept '--1--0++7', while Datafields
    created in the window workshop (mapping to IntegerNullables) will do a
    validation, and not allow one to tab out of the field before the extra
    minus and plus signs are not removed.
    I have the same problem with the Datafields which have
    MaskType=MK_Template and DateTemplate='dd/mm/yyyy'. For the date, one
    can enter something like '2*\**\****', and leave the field, while the
    same type of datafield created in the window workshop (mapped to a
    DateTimeNullable), will not allow you to leave the field before a valid
    date has not been entered. To summarise, the input masks of my
    dynamically created Datafields work fine, but no validation gets done
    when the field looses the focus.
    (-3-) As a test, I used the Forte debugger ("view"-"local variables") to
    look at the differences between Datafields created dynamically, and
    those created in the Forte window workshop. One very obvious difference
    was that Datafield attribute "MapTypeName" was filled in for the window
    workshop Datafields, but not for my dynamically created Datafields. The
    problem is that Forte does not allow me to set this attribute
    dynamically in my code. How else can I setup the Mapped Type
    dynamically?
    (-4-) In order to have a consistent look-and-feel throughout our Forte
    project, we are making use of Domain classes for DATE and DECIMAL data
    entry fields. My questions are:
    (4.1) How must I go about creating Datafields dynamically that make use
    of these Domain classes?
    (4.2) Is it also a matter of setting up the "MapTypeName" attribute,
    which I cannot seem to do?
    (4.3) Is the mapping done differently for Domain classes?
    (-5-) Another interesting thing to note for Datafields created in the
    Forte Window Workshop, is that if the mapped type is IntegerNullable
    with Input Mask = Integer, or DoubleNullable with Input Mask = Float,
    then the Object that the Datafield widget maps to, must first be
    instantiated before the Loose-Focus validations will start to work. For
    example, if a Datafield widget called "dfTestInt" was created in the
    Forte window workshop, which maps to an IntegerNullable, and Input Mask
    = Integer, then the following line is needed before the window is
    displayed: dfTestInt = new;
    Without this line, one can enter something like '2---3+++7', and leave
    the field.
    This is not true for Datafields where the mapped type is
    DateTimeNullable with say Input Mask Template='dd\mm\yyyy'. In this case
    validations are done even thought the object being mapped to, has not
    been instantiated yet. In other words you will never be able to enter
    '2*/**/****', and leave the field for datafield created in the window
    workshop. Maybe in this case the validation is being done by the
    template itself?
    Thanks in advance
    Riaan
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    what I mean is rendering JSF components on the fly, becuase some time you don't know things at design time. Lets say I am designing a page in creator that shows the total number of dependants that belongs to a primary inusrance member in text boxes. Of course we don't know in advance how many dependants we have for a specific member unless we go to databse and fetch all the data at runtime. Desiging some thing dynamic like that is very easy in CGI or ASP/JSP but JSF model seems very static due to it's design time feature.
    So is it possible with JSF or not?

  • How do I receive notification of a change in the value of a dynamically created user interface object?

    I need to know when the user has changed the value of a slider or a Boolean control that was dynamically created (not part of a dialog). Is there any way to do that without polling? I would have expected these controls to post a WM_NOTIFY message to the parent window in response to user events, but that does not seem to happen. Am I missing something?

    Win32 controls do typically post WM_NOTIFY messages to the parent window for user events. The Measurement Studio UI controls are actually ActiveX controls, though, and events are handled differently for ActiveX controls.
    If you have a resource ID for you control, the easiest way would be to create your control in the OnInitDialog method and handle the event the same way you would if you had added the control to the dialog at design-time:
    Add a declaration for the event handler in the AFX_MSG block in the dialog header file.
    Make sure the AFX_MSG block in the header file includes DECLARE_EVENTSINK_MAP()
    Include an ON_EVENT entry for the event in the dialog source's BEGIN_EVENT_SINK_MAP block.
    Include a DDX_Control entry
    in the dialog source's AFX_DATA_MAP block.
    Otherwise, you'll have to dynamically sink the event at runtime after you've created the control. Microsoft's Knowledge Base has a couple of good articles that demonstrate how to do this:
    SAMPLE: AtlEvnt.exe Creates ATL Sinks Using IDispEventImpl (Q194179)
    AtlSink Uses ATL to Create a Dispinterface Sink (Q181277)
    - Elton

  • Runtime Error when creating SUS user

    Hi All,
    I started configuring SUS demo for my client, but when i created user with role "SAP_BC_BASIS_MONITORING" and "SAP_EC_SUS_ADMIN_VENDOR",
    i am getting:
    Runtime Errors:  DBIF_RSQL_INVALID_REQUEST
        Short text:  Invalid call of database interface.
    Do i need to configure anything before creating SUS users with this roles? Please help me?
    Regards,
    Ravi
    Message was edited by:
            Ravi Varma Nadimpalli

    Hi
    Which SUS Verson are you using ? Are you using SUS on the same system, where EBP is installed ?
    You can create users and assign role to respective users in SUS for creating
    Bids in Bidding starting form SUS. But you must replicate users from SUS to EBP.
    Then only systems will identify each other while logging.
    <u>Meanwhile, Please go thrugh the following pointers and SAP OSS Notes -></u>
    Re: Clarifications on EBP-SUS and MM-SUS Scenario
    Note 893714 - SUS30: Replication of bidding users from SUS to EBP
    <u>Related Notes</u>
    1060329 - Mandatory check of form of address during user creation SUS
    895217 - SUS30: SUS not integrated with CUA currently
    880735 - UME/SUS: error with administrational user creation
    779658 - SRM40/SUS/BP: Error during change of employee
    Note 778483 - SRM-SUS: Force a user to change password on initial logon
    Note 1060329 - Mandatory check of form of address during user creation SUS
    Note 946159 - SRM-SUS 4.0: Termination when users are created
    Regards
    - Atul

  • Nesting dynamically created movieclip at runtime?

    Is it possible to nest a movieclip into another dynamically
    created movieclip at runtime? The commented line of code works, but
    I am trying to nest a movieclip after it is created into
    another.

    you can nest movieclips by using your commented code.
    however, you cannot change a movieclip's parentage after it's
    created.
    you can "fake" a parentage change by creating a movieclip
    with the parentage you want, copying its assets to the newly
    created movieclip with the desired parentage and finally removing
    the original movieclip.

  • CREATING A USER IN PORTAL DYNAMICALLY GIVES AN ERROR PORTAL.WPG_SESSION

    While creating a users from portlet(customised form) it give a following an
    error in apache logs,click another sub tab the page can not be displayed HTTP 404 oage not found ,but users are created successfully in OID and portal.
    Error from the error log from mid_home/Apache/Apache/logs
    [Sun Mar 6 20:33:19 2005] [error] [client 10.1.0.167] [ecid: 71654817423,1]
    mod_plsql: /pls/portal/PORTAL.Hutch_Nwss_C
    ll_Crt_Delg.CallDelgPortlets HTTP-404 ORA-20005: The session context could not
    be restored because the session is marke
    as inactive.
    ORA-06512: at "PORTAL.WPG_SESSION", line 143
    ORA-06512: at line 9.

    Hi Chaitanya,
    I think you are using a LDAP or SAP system to store users. The problem is when you are defining the datasource configuration file. This might be in *read only * mode.
    You can check this by System Admin -> System Configuration -> UME Configuration ->Data Sources tab..
    You check wether you data source config file is in read only mode or not. If this file is in read only mode you cannot create users from the front end
    You need to create users from LDAP or SAP system what ever may be your back end.
    Thanks,
    Raju Bonagiri

  • How can I dynamically create users ?

    Hi,
    My application needs to programatically create users and roles. Is that any special
    API for doing that or I have to use JMX ? Can I used JNDI in order to create LDAP
    users ?
    Kind regards,
    Nicolas DUMINIL

    "Nicolas DUMINIL" <[email protected]> wrote in message
    news:3f8d785d$[email protected]..
    >
    Hi,
    My application needs to programatically create users and roles. Is thatany special
    API for doing that or I have to use JMX ? Can I used JNDI in order tocreate LDAP
    users ?
    You can use the UserEditor mbean createUser api to create users in the
    default authenticator embedded
    ldap server. You can also use jndi and ldap to create users. Or you can use
    a LDAP SDK
    product.
    Search the newsgroup via google for some examples of the usereditor calls.
    There is no easy way to create roles programatically.

  • Run time error while creating new user??????

    HI Gurus,
    when i am creating a user in crm 7.0 server it s going into dump.
    DESCRIPTION:
    Category               Internal Kernel Error
    Runtime Errors         DDIC_TYPE_REF_ACCESS_ERROR
    Application Component  BC-ABA-LA
    Date and Time          23.02.2012 22:36:02
    What happened?
    Error in the SAP kernel.
    The current ABAP "SAPLBUPA_INTERFACE_OUTBOUND" program had to be terminated
    because the ABAP processor detected an internal system error.
    Short text
        Internal error in DDIC structure description
    Error analysis
        There is an error in the structure description of the Dictionary type
        "BUS_EI_BUPA_CENTRAL". The type references the type "BUS_EI_BUPA_CENTRAL_DATA".
        Error type: "abap type or abap length inconsistent"
    Information on where terminated
        The termination occurred during generation of the ABAP/4 program
         "SAPLBUPA_INTERFACE_OUTBOUND".
        The termination occurred in line 13
        of the source code of program "LBUPA_INTERFACE_OUTBOUND$06" (when calling the
         editor 130).
    Source Code Extract
    Line  SourceCde
        1 *******************************************************************
        2 *   THIS FILE IS GENERATED BY THE FUNCTION LIBRARY.               *
        3 *   NEVER CHANGE IT MANUALLY, PLEASE!                             *
        4 *******************************************************************
        5 FUNCTION $$UNIT$$ BUPA_OUTBOUND_BPS_FILL_CENTRAL
        6
        7     IMPORTING
        8        REFERENCE(IV_MODE) TYPE !CHAR1 OPTIONAL
        9     TABLES
       10        !IT_IDLIST STRUCTURE !BUS_EI_INSTANCE OPTIONAL
       11        !IT_FRAGMENTS TYPE !BUS_EI_FRAGMENT_T OPTIONAL
       12     CHANGING
    >>>>>        REFERENCE(CT_BP_EXTERN) TYPE !BUS_EI_EXTERN_T .
    REgards,
    Rajesh.

    Following is the text from Note for Custom Password Validation logic:
    Customers who wish to use their own password validation logic may do
      so by writing their own Java classes that implement the
      oracle.apps.fnd.security.PasswordValidation Java interface.  The
      interface requires 3 methods to be implemented:
      1) public boolean validate(String user, String password)
        - This method takes a username and password, and then returns true
      or false, indicating whether the user's password is valid or invalid,
      respectively.
      2) public String getErrorStackMessageName()
        - This method returns the name of the message to display when the
      user's password is deemed invalid (i.e., the validate() method returns
      false).
      3) public String getErrorStackApplicationName()
        - This method returns the application shortname for the
      aforementioned error message.
      After writing the Java class to perform customized password
      validation, the customer must then set the value of the profile option
      SIGNON_PASSWORD_CUSTOM to be the full name of the class.  If, for
      example, the name of the Java class is
      oracle.apps.fnd.security.AppsPasswordValidation, then the value of the
      SIGNON_PASSWORD_CUSTOM profile option must be
      oracle.apps.fnd.security.AppsPasswordValidation.  Note that AOL/J
      will attempt to load this class dynamically.  Hence it is necessary to
      make the class accessible by AOL/J.  This means that in Forms, the
      class must first be loaded into the database using the loadjava
      command.
    You will need to apply the following patches for 11.5.1:
       1344802
       1363919
       1472974
       1351004
       1377615
    You will need to apply the following patches for 11.5.2:
       1377615

  • Uploading data from excel file to a dynamically created internal table

    Hi,
    I have a requirement where i have to upload data from an excel file into a database table. I would be able to determine the structure of the table only at runtime based on the user input.. so i have created an internal table dynamically.
    Could you please tell me if its possible to upload data from an excel file to the dynamically created internal table using any function modules?
    I thought of doing this by declaring a generic internal table of one field and then uploading the *.csv file into it and then splitting it based on "," and then assigning it to the field symbol referencing the internal table.. but my file length exceeds 132 characters and i'm only able to get data of lenght 132 char's in my internal table ( generic one).
    Could anyone please show me a way around this.
    Thanks in advance,
    Harsha

    Sure, check this out.
    report zrich_0002.
    type-pools: slis.
    field-symbols: <dyn_table> type standard table,
                   <dyn_wa>,
                   <dyn_field>.
    data: it_fldcat type lvc_t_fcat,
          wa_it_fldcat type lvc_s_fcat.
    type-pools : abap.
    data: new_table type ref to data,
          new_line  type ref to data.
    data: iflat type table of string.
    data: xflat type string.
      data: irec type table of string with header line.
      data: tabix type sy-tabix.
    data: file type string.
    selection-screen begin of block b1 with frame title text .
    parameters: p_file type  rlgrap-filename default 'c:Test.csv'.
    parameters: p_flds type i.
    selection-screen end of block b1.
    start-of-selection.
    * Add X number of fields to the dynamic itab cataelog
      do p_flds times.
        clear wa_it_fldcat.
        wa_it_fldcat-fieldname = sy-index.
        wa_it_fldcat-datatype = 'C'.
        wa_it_fldcat-inttype = 'C'.
        wa_it_fldcat-intlen = 10.
        append wa_it_fldcat to it_fldcat .
      enddo.
    * Create dynamic internal table and assign to FS
      call method cl_alv_table_create=>create_dynamic_table
                   exporting
                      it_fieldcatalog = it_fldcat
                   importing
                      ep_table        = new_table.
      assign new_table->* to <dyn_table>.
    * Create dynamic work area and assign to FS
      create data new_line like line of <dyn_table>.
      assign new_line->* to <dyn_wa>.
      file = p_file.
      call method cl_gui_frontend_services=>gui_upload
        exporting
          filename                = file
        changing
          data_tab                = iflat
        exceptions
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          others                  = 17.
      loop at iflat into xflat.
        clear irec. refresh irec.
        split xflat at ',' into table irec.
        loop at irec.
          tabix = sy-tabix.
          assign component tabix of structure <dyn_wa> to <dyn_field>.
          <dyn_field> = irec.
        endloop.
        append <dyn_wa> to <dyn_table>.
      endloop.
    * Write out data from table.
      loop at <dyn_table> into <dyn_wa>.
        do.
          assign component  sy-index  of structure <dyn_wa> to <dyn_field>.
          if sy-subrc <> 0.
            exit.
          endif.
          if sy-index = 1.
            write:/ <dyn_field>.
          else.
            write: <dyn_field>.
          endif.
        enddo.
      endloop.
    Regards,
    Rich Heilman

  • How to use process overriden public runtime user?

    Hello,
    While creating a unix/linux dynamic target, I am passing unix/linux hostname and username
    manually.
    I am using the dynamic target in 'Open Terminal Session' and overriding the default username
    with Public authenticated username. Open terminal session is working fine and able to
    ssh the linux host.
    But 'Execute Terminal Commands' process is getting failed while using the same 'Open Terminal
    Session' as target.
    Even though i am passing the sam 'Open Terminal Session' as target; 'Execute Terminal Command' is using the default runtime user rather than using the process overriden public runtime user.
    Please do the needfule for the same. Please let me know if I need to provide more information.
    Thanks,
    Prashant

    Thanks for your reply Chris.
    In Open Terminal Session we have Credentials tab, there we can override process runtime user with public key
    but we dont have anything in execute terminal commands.
    We have credentials tab in 'Execute Unix/linux scripts' also but we cant use Public Authenticated Runtime User.
    I have attached snapshots for ref puposes.

  • Dynamic list of user(s) in Human task activity.

    Hello Friends,
    Warm Greetings!!!
    Here is my query:-
    Can we have dynamic list of user(s) in human task for the same role. Request will flow to executive but based on some parameter it needs to go to different executives and this would be checked at run time.
    Please provide some clue or pointers for the same.
    PK

    ===========
    Assign tasks dynamically
    You can assign users, groups, and application roles dynamically using XPath expressions. These expressions enable you to dynamically determine the task participants at runtime. For example, you may have a business requirement to create a dynamic list of task approvers specified in a payload variable. The XPath expression can resolve to zero or more XML nodes. Each node value can be either of the following:
    Ref- http://docs.oracle.com/cd/E14571_01/integration.1111/e10224/bp_introhwf.htm
    ==============
    Either You can put a Xpath expression on Owner (open Human task from composite and see the General tab ) or you can have rule based assignment for users .
    Also in Xpath - Identity related functions can be found under - Identity Service Functions (from Functions drop down)
    Regards
    Rupesh Somani

  • GP: Dynamically assignment of users

    Hello,
    i'm a newbie and i have the following question:
    Can i dynamically assign the user of the next step in a guided procedure?
    The initiator of my GP passes some data to a web service. The web service determines on the basis of the data the user of the next step in my GP. Is this possible? And how can i achieve this scenario?
    Thanks in advance and best regard,
    Matthias

    Hi Matthias,
    Unfortunately, the GP external service callable object only works for RFCs. You cannot use it for a Web Service.
    Therefore, I would propose the following solution. You can import a Web Service as an external service in CAF (using the Composite Application Services perspective in the Developer Studio). Then you can use the external service from a CAF application service. The application service can already be exposed as a callable object, and you can take the user ID as an output. Then you can use the predefined callable object Assign Users to Process Role, and map the application service output to its input. To enable the assignment of the relevant user to the next action, you must consolidate the role created for the Assign Users action to the role created for the next action, and set the type of the new role to Runtime Defined. Then, at runtime the Assign Users object is executed in the background and the user is assigned to execute the next action.
    You can find how-to guides describing how to import a Web Service in CAF and how to integrate it further into CAF in the https://www.sdn.sap.com/irj/sdn/developerareas/platform?rid=/webcontent/uuid/d8dbd703-0801-0010-c9bf-c04bc52f562f">caf [original link is broken] [original link is broken] (see tutorial N.81).
    Hope this helps a bit.
    Regards,
    Zornitsa

  • AutoScrolling of PanelLayout and setting Location of dynamically created controls

    Hi, I have a question related to setting Location of dynamically created controls when my PanelLayout is scrolled down or up.
    So basically I have wrote a code that lets me drag on control over other other and replace their's locations.
    So I wanted to add possibility for user to dynamically add new controls (every new control is suppose to be 200px below previous) - everything is fine as long as I add them from upper section of my LayoutPanel (without scrolling) but when I try to add
    them while I'm half dawn scrolled they are placed based on CURRENT left upper corner which is NOT a upper left corner of LayoutPanel therfore they are placed with wrong padding based on current scrolled position.
    So my question is how can I avoid it and always add new controls based on LayoutPanel upper left corner? (I have already tried disabling AutoScroll while adding new control and enabling it back after adding - it works but I want to find PROPER way because
    I'm sure there must be some kind of solution to it)
    Thanks in advance.

    Hi darekg11,
    >> I have a question related to setting Location of dynamically created controls when my PanelLayout is scrolled down or up
    I am wondering what the PanelLayout was, was it a “flowLayoutPanel” or “tableLayoutPanel”?
    >> basically I have wrote a code that lets me drag on control over other other and replace their's locations
    Did you mean you drag the control at runtime or at design time?
    >> how can I avoid it and always add new controls based on LayoutPanel upper left corner
    I could not reproduce your issue, and could you share us some key code or a simple demo to reproduce your issue?
    I made a research about “scrolling panel”, and I think the link below might be useful to you:
    # Scrolling Panel
    http://www.codeproject.com/Articles/226381/Scrolling-Panel
    Best Regards,
    Edward
    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.

  • Creating runtime data types

    Hi
    I need to dynamically create input fields with specified lengths(so that user cannot enter values beyond this length).
    I do it like this.
    IWDAttributeInfo attributeInfo =
        nodeName
        .getNodeInfo()
        .addAttribute(attributeName,
           "ddic:com.sap.dictionary.string");
    IWDInpuField inputField =
       (IWDInpuField)viewHandle
                      .createElement
                      (IWDInputField.class,null);
    int length = getLengthFromSomeMethod();
    inputField.bindValue(attributeInfo);
    inputField.setLength(length);
    The input field added is of specified length, but still the user is able to enter value beyond this length. This i guess is due to the fact that attribute bound to the field is of type "ddic:com.sap.dictionary.string".
    Can i create data types at runtime so that i might add attributes with this data type to a node at run time?
    Is there any other way to solve this problem?

    kaushal,
    Try this:
    attributeInfo.getModifiableSimpleType()
      .setMaxLength(length);
    "Length" of InputField declares (average) width of control in characters.
    VS

Maybe you are looking for

  • Two iPhones - Three Computers

    Sorry for the long post here... but I am stumped. I have two iPhones... one I just purchased this week and one that I have had for a couple of months. I also have two PC's at home and my company laptop. I am having problems syncing my wife's iPhone t

  • Need help with multicams.

    I have created two multicam sequences where the video and the audio in the second multicam overlaps onto the first multicam.  When I pull the 1st multicam into the timeline it works fine (as it comes in on V! & A1).  When I pull in the second multica

  • IMac (March 2009) - Invalid Node Structure problem

    Hi All I was using my iMac as normal yesterday, when suddenly the system ground to a halt (something I never seen since using OS X). As I had work to do, after about an hour, I restarted, expecting it to be an app misbehaving or something straight fo

  • Design option missing for Fluid Grid layouts (was:In dreamweaver CC, I created a new fluid grid page, but the options to edit the page...)

    Hi, in dreamweaver CC, I created a new fluid grid page, but the options to edit the page are limited to code / split / live. The design optin is missing and I need it to move around the fluid grid to position my elements that I have created. Thanks

  • PreparedStatement in two servlets

    Hello, I've got a doubt concerning PreparedStatement with JDBC. If I have the same statement in two different servlets, is my SQL compiled just once in the DBMS ? So, if I create a new Instance of PreparedStatement that was previously created in anot