Dynamic channel creation

Hi,
Is it possible to create a channel dynamically at runtime in the Portal Server 7. The situation is like this. User fills up a form and on submit, a new channel is created with the details of the form. Similarly, new channels get created as many times the user fill the form and submits. This is like duplicating the functionality of the psconsole when the form is submitted. I think this should be possible, after psconsole exists :). Can anybody tell me whether Portal Server provides any kind of desktop administration APIs. I don't know what to call them, but something that helps create channels on the fly by the end user.
Thanks in Advance,
Avishek

Yes, this is possible. It is implemented within the developer sample in the JSPCreateChannelContainer. See /var/opt/SUNWportal/portals/myPortal/desktop/developer_sample/JSPCreateChannelContainer. (on Solaris).
To see this container in action, login to the developer sample, click Content while looking at the My Front Page tab, then click Create a New Channel. That takes you to the JSPCreateChannelContainer.
To see what Provider API methods are called to implement this, just look at the JSPs in the directory above - the functionality is all implemented within the JSPs.
HTH.
Tom

Similar Messages

  • Does Seeburger's SFTP adapter support dynamic filename creation

    Hi all,
    Does the SFTP adapter support dynamic filename creation.
    If yes, then do we have to use UDF's and are there any specific settings that have to be done in the SFTP communication channel.
    Please provide a blog which helps in the configuration process of the above case.
    thanks,
    younus

    Dynamic Creation of File using counter in Seeburger Variable:
    1. Configuration Needed in the Communication Channel:
    The process of dynamic creation of files can be done we have to select the following checkbox in the receiver channel:
    Dynamic Attribute in receiver Channel:
    Import the following modules:
    Localejbs/Seeburger/solution/sftp
    Localejbs/Seeburger/AttribMapper
    Localejbs/ModuleProcessorExitBean
    Enter  the desired file naming convention:
    Use the Parameter GetCounter("ID") to the place where the counter is expected to come.
    2. Configuration Needed in the SeeBurger Workbench:
    If the J2EE server is listening on a port different from 50000 (which is the standard for the SAP client 000), the port number must be configured:
    Login into the seeburger workbench using the URL
    http://<localhost>:<port number>/seeburger/index.html
    Select Property Store.
    Create or edit the following property:
    Parameter
    Value
    Namespace
    http://seeburger.com/xi/SeeFunctions
    Key
    provider.servlet.server
    Value
    http://localhost:50000/ (where the port number 50000 must be set
    accordingly to the J2EE server configuration).
    Note: The configured value (server URL) has to end with a slash (/). Otherwise,
    SeeFunctions will not work correctly.
    If we need to start the counter from any specific value , it can be configured in the SeeBurger workbench, this value can be maintained in Mapping Variables :

  • Dynamic Table Creation & Fill Up

    Hello,
    Can anyone please guide where I can find examples for dynamic table creation (programmaticaly), with dynamic number of columns and rows, used to place inside text components (or whatever) to fill them with data.
    All programmatic.
    Using JSF, ADF BC
    JDeveloper 10.1.3.1
    Thanks
    Message was edited by:
    RJundi

    Hi,
    Meybe this article helps: http://technology.amis.nl/blog/?p=2306
    Kuba

  • Dynamic Channel Assignment Question

    I have a WLC 4400, and I have discovered that some areas, the access points are on the same channel. For example the floor have four access points, and the access points are working in this channels:
    AP01=channel 01
    AP02=channel 11
    AP03=channel 11
    AP04=channel 11
    If Dynamic Channel Assignment is enable in the controller, Why the access points are on the same channel?
    The access points are near each other.
    WLC4400 System version 6.0
    Any suggestion?
    Is better manual configuration?

    Hi Nicolas I have this situation:
    AP Name.......................................... AP22
    MAC Address...................................... 00:1d:a1:zz:yy:xx
      Radio Type..................................... RADIO_TYPE_80211b/g
      Radar Information
          Recommended Best Channel..................... 1
      Nearby APs
        AP AP53 slot 0..................  -67 dBm on   1 ()
        AP AP12 slot 0..................  -57 dBm on   6 ()
    The AP22 is working in the channel 1. ButI have another AP, in the same channel 1, this is normal operation?
    When a Nerby AP is considered away? when the dbm is -70, -71, -72 or -75, -74, -73 ??
    Thanks

  • Does UCM support dynamic page creation on contributor mode.?

    Hi All,
    Does UCM support dynamic page creation on contributor mode.
    We want to create new pages and link it into the existing pages
    is that possible?
    Thanks
    ~Hari

    You can create new secondary pages in contributor mode - you would normally do this via a dynamic list fragment though technically you could also achieve it by switching region content and creating new data files. You can then use the linz wizard to link between pages.
    If you are talking about creating new primary pages and sections in your site then you would need to use something like Site Studio Manager fragment.
    Tim

  • Switching Dynamic Channels after HSDIO settings have been committed

    Hello.  I'm trying to find a way to switch between two dynamic channels in a waveform after the HSDIO waveform is initated. 
    Would someone point me to an example or reference where I could learn how this is done?
    For example: 
    I have a PXI-6561 in a 1062Q chasssis.  I am assigning channels 0-3 as dynamic and using HSDIO write to populate the 4 channels from a waveform.  
    I need channels 0 and 1 to be un-disrupted and repeating (all channels are the same lenght).  Channel 2 is data sent to an IC and channel 3 is used for queing updated data.   I'd like to HSDIO write to channel 3 and then, when the write process has completed, I would like to swap channels 3 and 2 before the waveform begins another cycle.  
    I have tried this by re-calling the Assign Dynamic Channels node.  This did not work because Assign Dynamic Channels does not work after the waveform has been initiated.  
    A very similar question was addressed on this forum at the below link.  This did not work for me because the waveform is already commited when I want to make the switch. 
    http://forums.ni.com/t5/Digital-I-O/HSDIO-Dynamic-​Generation-of-Digital-Signals-on-Separate-Non/td-p​...
    Also, I'm open to suggestions about a better way to accomplish this.
    Thank You,
    Sean

    Hi Sean,
    I have been looking in to your question and I have not been able to find a way to do this without a brief stop to reload the waveform. 
    The way data is encoded for HSDIO makes switching channels after the data has been committed  not possible unfortunately. You could try to use scripting and trigger the waveform to swap the location of the data, but this would have to be done in Windows and the waveform must be reloaded into onboard memory. The script would be small so reloading that is not a huge time sink. The worst of it is having to reload the entire waveform, but this cannot be worked around.
    Recommendations to improve performance would be to have a large onboard memory and load as much as you can into it initially to prevent reloading several times. If the first pattern takes 1Mbit of data per channel on one channel, you can load around 60 patterns with the data on different channels, for instance. Then you can create the script to address each pattern by its waveform name.
    It is unfortunately the way we have to work with the board at this time. However, this actually would be a great application for an FPGA on one of our FlexRIO modules. You could use this in order to do this task specifically. 
    Please let me know if you have any questions!
    Stephanie S.
    Application Engineer
    National Instruments

  • Persistent Channel 13 Dynamic Channel Assigment (DCA)

    Dear WiFi Experts,
    Why is AP still choosing channel 13 when Dynamic Channel Assigment is enabled and channels 1,6,11 are the only channels selected/checked in the DCA list?
    Can't the AP choose only 1, 6, and 11 and nothing more?
    WLC country code is set to SA (Saudi Arabia).
    WLC code 7.0.98

    HI ,
    It chooes the best channel.
    Just info:
    Here is the list of channels (and frequencies) of the ISM (industrial, scientific and medical band) (2.4 GHz) used in the WiFi technology:
    Channel 1: 2.412 MHz        
    Channel 2: 2.417 MHz        
    Channel 3: 2.422 Mhz        
    Channel 4: 2.427 Mhz        
    Channel 5: 2.432 Mhz        
    Channel 6: 2.437 Mhz        
    Channel 7: 2.442 Mhz        
    Channel 8: 2.447 Mhz        
    Channel 9: 2.452 Mhz        
    Channel 10: 2.457 MHz        
    Channel 11: 2.462 MHz        
    Channel 12: 2.467 MHz        
    Channel 13: 2.472 MHz        
    Channel 14: 2.484 MHz
    If you want then you can manually change Channle per AP:
    Here is the process:
    1. Login WLC GUI
    2. Go to Wireless > Access Points > 802.11a/802.11b then on far right side of AP from drop dpwn menu click on configure.
    Under RF channel assignment you can change the channle manually.
    Regards
    Dont forget to rate helpful posts

  • RE: dynamic widget creation

    This is a good tech note about this on the Forte website.
    -----Original Message-----
    From: Matthew Middleton [SMTP:[email protected]]
    Sent: Friday, 25 June 1999 11:11
    To: [email protected]
    Subject: dynamic widget creation
    I have done a few windows with dynamic widget creation. Sometimes it
    seems I have to have done self.Open before, to get things to appear
    properly, and sometimes not.
    What I would like is a summation of the issues involved here so I can
    write such code without resorting to trial and error.
    with advance appreciation,
    Matthew
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Tech Note 5156, which I have attached for your information.
    -----Original Message-----
    From: Foster, Todd [SMTP:[email protected]]
    Sent: Saturday, 26 June 1999 1:27
    To: 'Jason de Cean'
    Subject: RE: dynamic widget creation
    ? What technote ?
    -----Original Message-----
    From: Jason de Cean [SMTP:[email protected]]
    Sent: Thursday, June 24, 1999 9:19 PM
    To: 'Matthew Middleton'
    Cc: 'Forte Users'
    Subject: RE: dynamic widget creation
    This is a good tech note about this on the Forte website.
    -----Original Message-----
    From: Matthew Middleton [SMTP:[email protected]]
    Sent: Friday, 25 June 1999 11:11
    To: [email protected]
    Subject: dynamic widget creation
    I have done a few windows with dynamic widget creation. Sometimes
    it
    seems I have to have done self.Open before, to get things toappear
    properly, and sometimes not.
    What I would like is a summation of the issues involved here so Ican
    write such code without resorting to trial and error.
    with advance appreciation,
    Matthew
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive<URL:http://pinehurst.sageit.com/listarchive/>

  • Dynamic Channels

    I would like to know if there is a way to create a dynamic channel in DIAdem. I see the variable "ChnType" will tell if a channel is fixed or dynamic, but can I set a channel to be dynamic? I also need to know what DIAdem means by "dynamic" channel.
    What I understand dynamic to mean is as follows: for example, ChnA = ChnB + ChnC. If ChnB or ChnC change values after calculating ChnA, ChnA will not update its value if it is a fixed channel, but will if it is dynamic. Is this type of dynamic channel availble in DIAdem?
    Thank you!
    Julia

    Hi Julia,
    In DIAdem static channels are those which are declared in the Menu -> Settings->Memory management->Data area. That means static channels specify a number of channels which are created at launch time of DIAdem and which are always available.
    With DIAdem 8 we expand the data management in DIAdem so that you are able to create a channel only if you need one. To prepare a channel in this manner you can use the command ChnAlloc. The mathematical functions create the result channels themselves. The procedure to create a dynamical channel is to look first whether a static channel is already available and only if not create a new channel in the memory (this is done automatically from DIAdem).
    What you are looking for is a mathematical channel. That means a channel contains mathematical function which describes how to calculate a channel (e.g. ChnA = ChnB + ChnC * 17). But this kind of channel DIAdem doesn’t support (at the moment). To have something similar you can create a script. A script has more possibilities than a mathematical channel. You can include the whole process, starting with loading files, analysing the data, creating reports and ending with printing the results or creating PDF’s of the results etc.
    I hope this will help you.
    Greetings
    Walter

  • Dynamic Event Creation and Handling the events

    Hi All
    I am using WAS 6.4.
    I have two components say Component A and Component B in which Component A is a reusable component and is used by other components say for e.g the Component B.
    The following is the requirement.
    Component A should create buttons for other components dynamically.
    As an example, Component B specifies to Component A the buttons required say button B1 and button B2.
    Component B also contains methods M1 and M2 for the buttons created by the component A.
    Now I would like to associate these buttons created by component A with the methods created in Component B
    The number of buttons that are to be created may vary from component to component.
    If any one as any suggestion or solution, help me out.
    Thanks
    Regards
    NagaKishore

    Hi NagaKishore,
         I'm not exactly sure why you want to do this, but it is pretty easy if I switch it up a bit.  (Maybe you are trying to create a navigation page or something?) 
         Instead of your component B using component A, if you define a Web Dynpro interface in component A, then implement this interface in component B (or all component Bs), achieving your goal would not be too difficult.  It could define a generic method (or event) with a "button key" as an argument that would tell component B which button was pressed and allow it to behave as desired.  The Web Dynpro interface defined in A could also have an interface context that would allow the the button text to be passed along with (for the sake of simplicity) a "button key" that component that should be triggered when the button is pressed.  (Note this could be a varying size list as required.)
         The component B(s) need not be known until run-time.  They can be created using something like:
    wdThis.wdGet<Used Compontne Name>ComponentUsage().createComponent(<Component Name>,<Object Name (if in a different component)>)
         Once the component is created, the context can be accessed giving the list of buttons to create and the values.  The buttons can be created in the wdModifyView during the first pass of the creation of the view displaying the buttons (after the dynamic creation of the used components which can occur in the wdDoInit of the component controller).
         If the user presses a chosen button on component A, then the generic method (most likely an event) of component Bs interface is called and passed the "button key", component B then takes over.  Note this would also work if component B had a visualization component that must be displayed through an interface view that is defined on the web dynpro component interface that is implemented by B.
         Hope this helps or at least triggers discussion that will answer your question,
           --Greg

  • Dynamic URL creation in Adapter Module

    I have a situation in which I need to create a dynamic URL to send data using an HTTP POST ( using  HTTPS).
    I created an UDF to use Dynamic Configuration, this works fine for the UrlParam in the HTTP CC and the TServerLocation in the SOAP CC.
    My issue is that both variables have the same limitation of 200 chars max, and sometimes the URL is longer than 200 chars (I have to pass more than 20 parameters in the URL). The message mapping with the UDF fails whenever I try to put more than 200 chars in the Dynamic Configuration Variables. Therefore I cannot use Dynamic Configuration.
    I'm now thinking of creating an Adapter Module which creates an URL out of the XML message passed to the adapter, and use this value to overrule the URL defined in the Communication Channel. The URL field in the Communication Channel does not have a  200 chars limitation.
    Does anybody know how to do this? Is it possible to replace the value of the URL field in the Communication Channel with another  value in an Adapter Module?
    I have to pass the data as parameters in the URL, not as Header fields in the message.
    Thanks,
    Andre

    Hello Chris,
    The error is:
    RuntimeException during appliction Java mapping com/sap/xi/tf/_mm_paymentClusterCreate_ Thrown: com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-field mapping /ns0:mt_newPaymentClusterData/merchant_name; root message: Exception:[java.lang.IllegalArgumentException: Value is too long (471/200):
    It's even in the SAP Help:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce299c3a8e5430e10000000a42189b/frameset.htm
    The length of the attribute value is defined by the XI message protocol. Values can be a maximum of 200 characters long. If, for example, you assign longer values in the mapping or adapter modules then this can lead to processing errors at runtime or the values are shortened to 200 characters. This shortening can also lead to a processing error. The processing error that occurs depends on the components that access the attributes.

  • Dynamic URL creation

    Hi Experts,
    I have a scenario where I need to call a particular URL via SOAP adapter.
    Now the URL is not constant. A part of the URL should be dynamically selected based on the payload value.
    For ex:
    https://collab.test.com/<name>/<agency>/groups.asmx
    Here, based on incoming payload data i need to populate the <name> and <agency> field in the communication channel.
    Do I need to write any UDF for Dynamic Configuration. If yes can you please guide in this regard.
    Thanks,
    Souvik

    Hi Souvik,
    Yes you need to write a UDF for setting this in the Dynamic Configuration. Please take a look at the below link of how you can use ASMA properties (point 6) to do the same:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/327519a3af58d8e10000000a421937/content.htm
    Also take a look at this link:
    http://wiki.sdn.sap.com/wiki/display/profile/2007/06/22/SOAPAdapterdynamicURLconfiguration
    Here is the Sample code for it:
    //Get the dynamic configuration from the container
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    String url = "Your desired URL";   // the desired URL
    //Create the TServerLocation key in namespace http://sap.com/xi/XI/System/SOAP. This key will hold the dynamically created URL
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", "TServerLocation");
    //Put the url value from the input in the configuration under the specified key
    conf.put(key, url);
    //return the data for mapping to the output
    return data;

  • AFAB dynamic variant creation for Posting period.

    HI,
    Business Requirement :
    Business want to run AFAB transaction code every month automatically with schedule job.
    system should pick present month period in posting period field.
    i checked in variant creation  against posting period there is no dynamic " D " in selection variable column.
    how can i fix this.

    Hi Jani,
    Check with abaper if TVARV table can Help you in this case, or create a z program from AFAB. And add date field to it, and schedule job based on that,
    I think TVARV table will be a better approach.
    Another point to consider here would be that dep should be run once business is ready to do so, and has its own hick ups in business if corrections are required to be made after executing AFAB by job
    Regards
    Pankaj B.

  • Dynamic Datasource creation

    I am trying to create datasources dynamically. Using an example from a previous
    post,
    mbeanHome = lookupMBeanHome();
    JDBCDataSourceMBean dsMBean = (JDBCDataSourceMBean)mbeanHome.createAdminMBean(poolName,"JDBCDataSource",
    mbeanHome.getDomainName());
    dsMBean.setJNDIName(poolName);
    dsMBean.setPoolName(poolName);
    dsMBean.addTarget(tserverMBean);
    dsMBean.setPersistenceEnabled(false);
    How can I retrieve the proper TargetMBean reference to send to the addTarget method.
    Does anyone know where I can find an entire class example of dynamically creating
    datasources, or something similar.
    Thanks in advance,
    Fahd

    Hi Fahd,
    Here is a sample I posted here some time ago
    import java.sql.Connection;
    import java.sql.SQLException;
    import java.util.Iterator;
    import java.util.Set;
    import javax.naming.Context;
    import javax.sql.DataSource;
    import weblogic.jndi.Environment;
    import weblogic.management.configuration.JDBCDataSourceMBean;
    import weblogic.management.configuration.ServerMBean;
    import weblogic.management.MBeanHome;
    * This class demonstrates dymamic creation,
    * using and deletion of DataSource via
    * Weblogic management API.
    public class DynamicDataSource {
    private Context ctx = null;
    private JDBCDataSourceMBean dsMBean = null;
    private MBeanHome mbeanHome = null;
    private ServerMBean serverMBean = null;
    // DataSource attributes
    private String cpName = "yourPoolName";
    private String dsJNDIName = "dynamic-data-source";
    private String dsName = "dynamic-data-source";
    // Security credentials
    private String password = "admPasword";
    private String serverName = "yourServer";
    private String url = "t3://localhost:7701";
    private String userName = "system";
    * Creates and starts up a DataSource using
    * management API.
    public void createDataSource() throws SQLException {
    System.out.println("Creating DataSource...");
    try {
    // Get context
    Environment env = new Environment();
    env.setProviderUrl(url);
    env.setSecurityPrincipal(userName);
    env.setSecurityCredentials(password);
    ctx = env.getInitialContext();
    // Lookup for MBean home
    mbeanHome = (MBeanHome)ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
    serverMBean = (ServerMBean)mbeanHome.getAdminMBean(serverName,
    "Server");
    // Delete if DataSource MBean already exists in active domain
    Set dsMBeanSet = mbeanHome.getMBeansByType("JDBCDataSource",
    mbeanHome.getDomainName());
    Iterator iter = dsMBeanSet.iterator();
    while(iter.hasNext()) {
    JDBCDataSourceMBean dsmb = (JDBCDataSourceMBean) iter.next();
    if (dsmb.getJNDIName().equals(dsJNDIName)) {
    dsMBean = dsmb;
    deleteDataSource();
    break;
    // Create DataSource MBean
    dsMBean = (JDBCDataSourceMBean)mbeanHome.createAdminMBean(
    dsName, "JDBCDataSource",
    mbeanHome.getDomainName());
    // Set DataSource attributes
    dsMBean.setJNDIName(dsJNDIName);
    dsMBean.setPoolName(cpName);
    // Startup datasource
    dsMBean.addTarget(serverMBean);
    } catch (Exception ex) {
    throw new SQLException(ex.toString());
    * Symply gets and closes a connection from dynamic
    * DataSource. Will throw a SQLException if datasource
    * does not exists.
    public void createConnection() throws SQLException {
    System.out.println("Getting Connection...");
    try {
    DataSource ds = (DataSource)ctx.lookup (dsName);
    Connection conn = ds.getConnection();
    conn.close();
    } catch (Exception ex) {
    throw new SQLException(ex.toString());
    * Shuts down and deletes DataSource from configuratrion
    * using management API.
    public void deleteDataSource() throws SQLException {
    System.out.println("Deleting DataSource...");
    try {
    // Remove dynamically created datasource from the server
    dsMBean.removeTarget(serverMBean);
    // Remove dynamically created datasource from the configuration
    mbeanHome.deleteMBean(dsMBean);
    } catch (Exception ex) {
    throw new SQLException(ex.toString());
    public static void main(String args[]) {
    DynamicDataSource dds = new DynamicDataSource();
    try {
    dds.createDataSource();
    dds.createConnection();
    dds.deleteDataSource();
    } catch (SQLException ex) {
    ex.printStackTrace();
    "Fahd" <[email protected]> wrote in message
    news:[email protected]...
    >
    I am trying to create datasources dynamically. Using an example from aprevious
    post,
    mbeanHome = lookupMBeanHome();
    JDBCDataSourceMBean dsMBean =(JDBCDataSourceMBean)mbeanHome.createAdminMBean(poolName,"JDBCDataSource",
    mbeanHome.getDomainName());
    dsMBean.setJNDIName(poolName);
    dsMBean.setPoolName(poolName);
    dsMBean.addTarget(tserverMBean);
    dsMBean.setPersistenceEnabled(false);
    How can I retrieve the proper TargetMBean reference to send to theaddTarget method.
    >
    >
    Does anyone know where I can find an entire class example of dynamicallycreating
    datasources, or something similar.
    Thanks in advance,
    Fahd

  • MXML Dynamic Object Creation

    Hi ,
    Static Object Creation :
    Eg:
        <mx:Fade id="ViewStack_EffectStart" duration="500" alphaFrom="0.0" alphaTo="1.0"/>
        <mx:Fade id="ViewStack_EffectEnd" duration="500" alphaFrom="1.0" alphaTo="0.0"/>
    <comp:ErrorBox id="errorBox" active="{active}" showEffect="{ViewStack_EffectStart}" hideEffect="{ViewStack_EffectEnd}"/> .
    The above static objects is working fine, but the problem is that we have lot of similiar static object which creates a memory issue.If we create dynamic objects, will it avoid the issue.Is dynamic objects advisible?.
    Thanks in advance.Please reply ASAP.
    Thanks ,
    San.

    hmn.. I don't understand your questions fully.
    What about create the fade object in "Model" and reference the same Fade object for all dynamic objects?
    or r u asking to find out how to create fade in actionscript?
    var fade:Fade = new Fade();
    fade.target = this;
    fade.alphaFrom = 0;
    fade.alphaTo = 1;
    fade.play();
    hope this helps,
    BaBo,

Maybe you are looking for