Can i create pdx programmatically in c# ?

Can i create pdx programmatically in c# ? If yes, then is it must to use adobe sdk for it ?

I did this using an unpublished API - it took some experimentation but worked great at the end. I used a page template in release 2 of Portal. the idea was that when a user added a project we would programatically create a page for that project. In that manner their portal would end up with several hundred pages, one for each project, that were created and look similar as they added project information for their company. Here is an example from the code using Oracle's API, wwpob_api_page.create_page - if you open up the specification for this package in a pl/sql browser such as TOAD you will see some comments that help explain how to use it:
          p_page_id := WWPOB_API_PAGE.create_page
(p_id => null
,p_parent_id => 1
,p_type_id => WWPOB_API_PAGE.PAGETYPE_PORTLETS
,p_type_siteid => 0
,p_type_value => 1
,p_name => p_page_url_info
,p_title => v_page_title
,p_category_id => null
,p_site_id => p_page_group_id
,p_plsql_executemode => null
,p_username => v_user_name
,p_description => v_page_description
,p_image => null
,p_titleimage => null
,p_rolloverimage => null
,p_styleid => v_style_id
,p_style_siteid => 0
,p_exposure => WWPOB_API_PAGE.DONTEXPOSE_AS_PORTLET
,p_ispublic => WWPOB_API_PAGE.PAGE_PRIVATE
,p_inheritpriv => WWPOB_API_PAGE.OWN_PRIV
,p_isready => 1
,p_cachemode => WWPOB_API_PAGE.CACHE_MODE_PING
,p_cacheexpires => null
,p_template_id => p_template_id
,p_template_siteid => p_page_group_id
,p_allow_style => WWPOB_API_PAGE.NO_PAGE_STYLE
,p_allow_acl => WWPOB_API_PAGE.ALLOW_PAGE_ACL
,p_istemplate => WWPOB_API_PAGE.PAGE_TEMPLATE_NO
,p_dav_id => null
,p_init_jspfile => null
,p_displaybanner => WWPOB_API_PAGE.SHOW_BANNER
,p_region_type => WWPOB_API_REGION.region_type_portlet
,p_create_region => true
,p_navpage_id => null
,p_navpage_siteid => null
,p_uitemplate => null
,p_template_ispublic => WWPOB_API_PAGE.PAGE_TEMPLATE_PRIVATE
,p_use_def_template => false
,p_copy_from_template => true
Good luck - Art

Similar Messages

  • Can I create page programmatically ?

    Hi
    I want to create pages by code using pdk PL/SQL or PDK Java.
    Is it possible ? How can I do this (API, etc.) ?
    Thanks in advance
    Alain.

    I did this using an unpublished API - it took some experimentation but worked great at the end. I used a page template in release 2 of Portal. the idea was that when a user added a project we would programatically create a page for that project. In that manner their portal would end up with several hundred pages, one for each project, that were created and look similar as they added project information for their company. Here is an example from the code using Oracle's API, wwpob_api_page.create_page - if you open up the specification for this package in a pl/sql browser such as TOAD you will see some comments that help explain how to use it:
              p_page_id := WWPOB_API_PAGE.create_page
    (p_id => null
    ,p_parent_id => 1
    ,p_type_id => WWPOB_API_PAGE.PAGETYPE_PORTLETS
    ,p_type_siteid => 0
    ,p_type_value => 1
    ,p_name => p_page_url_info
    ,p_title => v_page_title
    ,p_category_id => null
    ,p_site_id => p_page_group_id
    ,p_plsql_executemode => null
    ,p_username => v_user_name
    ,p_description => v_page_description
    ,p_image => null
    ,p_titleimage => null
    ,p_rolloverimage => null
    ,p_styleid => v_style_id
    ,p_style_siteid => 0
    ,p_exposure => WWPOB_API_PAGE.DONTEXPOSE_AS_PORTLET
    ,p_ispublic => WWPOB_API_PAGE.PAGE_PRIVATE
    ,p_inheritpriv => WWPOB_API_PAGE.OWN_PRIV
    ,p_isready => 1
    ,p_cachemode => WWPOB_API_PAGE.CACHE_MODE_PING
    ,p_cacheexpires => null
    ,p_template_id => p_template_id
    ,p_template_siteid => p_page_group_id
    ,p_allow_style => WWPOB_API_PAGE.NO_PAGE_STYLE
    ,p_allow_acl => WWPOB_API_PAGE.ALLOW_PAGE_ACL
    ,p_istemplate => WWPOB_API_PAGE.PAGE_TEMPLATE_NO
    ,p_dav_id => null
    ,p_init_jspfile => null
    ,p_displaybanner => WWPOB_API_PAGE.SHOW_BANNER
    ,p_region_type => WWPOB_API_REGION.region_type_portlet
    ,p_create_region => true
    ,p_navpage_id => null
    ,p_navpage_siteid => null
    ,p_uitemplate => null
    ,p_template_ispublic => WWPOB_API_PAGE.PAGE_TEMPLATE_PRIVATE
    ,p_use_def_template => false
    ,p_copy_from_template => true
    Good luck - Art

  • How can i create a new user in OID DIT tree programmatically  ?

    Dear All,
    How can i create a new user object in the OID DIT tree programmatically ?
    any help will be appreciated.
    Regards,
    Mohammed Amin

    Dear Eng. Jaime.. 
    Thank you so much  for replay...
    Can yon  explain 
    Do you want to create a contact in Jabber?
    Do you want to enable Jabber for a user?
    And what you meant last question..

  • How can I create a master PDX that pulls from multiple other PDXs?

    I process aviation maintenance manuals, with the individual manuals having their own PDX. How can I create a master PDX that pulls from the individual PDXs?
    I have access to myriad versions of Windows and Acrobat so there's that...

    I’ve got 100s of manuals each with their own PDX. I’ve been asked to create a master PDX that in effect combines all of the individual PDXs into a single (cross-manufacturer, cross-fleet, cross-manual-type) searchable PDX that can be easily updated.

  • Can i create a home window without using a NIB file

    I hate interface builder, it is a really counter-intuitive piece of junk. Please don't try to convince me otherwise I prefer to do it all in code. Right now i have my whole product running dynamically, creating all the interface objects programmatically as my positioning is all calculated on the fly.
    However I still have one NIB file (MainWindow.NIB) that creates the home window and somehow links to my AppDelegate class, which is the startup class for my app. I see that my main.c routine calls UIApplicationMain() which somehow loads the main nib (hidden magic here), and then eventually my AppDelegate() method which is of calss UIWindow() gets called with an initialize() call followed by applicationDidFinishLaunching() call and off we go.
    Can I create the window dynamically by not using NIBs? Now that we have ipad and iphone to contend with, I would want to create a window that is either 320 x 480 or 768 x 1024 depending on what machine I am on. I would like to get rid of the NIB because I don't understand the wiring stuff and I tried to make a NIB myself but now get a cryptic error message, and anyway the NIB has a fixed size and my app wants to be dynamic now that we have two screen sizes.
    The second part of the question is how do you know what kind of machine you are on? I don't see a Gestalt() routine like in the old mac days so you can tell what machine it is.

    There are always less-informed people who think that a STATIC development tool is somehow more powerful than a flexible dynamic interface computed as one goes. The idea of a static screen form that you control dates back the 80's; modern interfaces are DYNAMIC and interface builder cannot construct those; sure it can perhaps help you lay out things, but if the user turns on certain features then new controls are visible. We have built products with over 500 controls in them and as only perhaps 25 are needed at any one time the software rearranges the screen in the most optimal form at all times. The more advanced the product the more one chafes at a static design tool.

  • Can we create a developersite in O365 SP Online programiatically ? what is the template code for it ?

    Hi
    I am trying to create sites programmatically in O365 SharePoint Online. So, just want to know that can we create a DeveloperSite ?? what is the template code for it viz. Team site- STS#0, etc
    If possible provide me the MSDN link where I can refer for available site templates for O365 SP Online sites creation.
    Thank you 

    http://community.office365.com/en-us/f/154/t/61145.aspx
    Are you meaning to create sites on SharePoint Online by invoking web services in your own program? SharePoint Online indeed provide some web services for custom programming, however, the web methods for creating a new site seems not included in them. Here
    are some resources for the development of SharePoint Online for your reference:
    SharePoint Online for developers
    http://msdn.microsoft.com/en-us/sharepoint/gg153540.aspx
    Code example for SharePoint Online: Accessing Web Services
    http://code.msdn.microsoft.com/office/SharePoint-Online-0bdeb2ca
    As to create a site collection, the parameter "Template" is the name of the template you want to use, as to find the name of the custom site template, you can use the powershell command "Get-SPOWebTemplate",
    it will list all the templates with the names.
    Note, The Template and LocaleId parameters must be a valid combination as returned from the Get-SPOWebTemplate cmdlet.
    Also check
    http://stackoverflow.com/questions/21268629/creating-new-site-collection-in-office-365-from-an-app
    If this helped you resolve your issue, please mark it Answered

  • Creating Class Programmatically without Pop-ups

    Dear All,
    How can I create a class, with a method in it containing only two lines of code programmatically? I am writing a program that will generate the described class. Furthermore, the program whouldn't cause any pop-ups on creation (for example asking for confirmation). The class will have prefix Z in its name.
    Thank you for your help,
    Philon

    Hi,
    The goal is to create a unit test. The tested program refactors code from a method in a class. In order to test the refactoring program, we must generate a class and a method on the fly, refactor it, test if the refactor tool functions, then delete the class. We can't just create a class non-programmatically since it will ask for a transport request when the refactor tool modifies the code of the class. We need to create on-the-fly a class in local objects so that no transport request will be asked for. Furthermore, for the unit test to be fully automated, the creation of the class to be refactored must not cause pop-ups requiring manual action.
    Thanks,
    Philon

  • FM for Create ASN programmatically in SNC (Supplier Network Collaboration)

    Hello,
    I am working in SNC (Supplier Network Collaboration) with version SAP SCM 7.0. I wanted to create ASN programmatically.
    Can anyone tell me the ways possible to create ASN programmatically using purchasing information?
    Thanks & Regards,
    Nitin

    HI Jens,
    In our forum, we discussed topic about BizTalk & SAP Integration before, hope it helps you.BizTalk
    & SAP Integration
    Best regards,
    Angie
    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 Builds Programmatically LV8.0.1

    Salut.
    From LV8.0.1 help :
    QUOTE
    Creating Builds Programmatically
    You can use the BuildTargetBuildSpecification VI located in the vi.lib\AppBuilder directory to build source distributions programmatically from build specifications. If you have the Application Builder installed, you can use the VI to build stand-alone applications, shared libraries, Windows installers, and zip files programmatically. The VI is not available on the Functions palette.
    Note The LabVIEW Professional Development System includes the Application Builder. If you use the LabVIEW Base Package or Full Development System, you can purchase the Application Builder separately by visiting the National Instruments Web site.
    The BuildTargetBuildSpecification VI creates a build from a build specification that you specify in the Name of build specification input. If you do not specify a build specification, the VI creates builds from all build specifications in the specified LabVIEW project. You must specify the path and filename of the project to use in the Path to project input.
    If you want the VI to create a build from a build specification located in a target that is not My Computer, specify a target in the Name of target input.
    After you run the VI, you can view the path to the completed build files in the Generated files output.
    END QUOTE
    1-
    QUOTE After you run the VI, you can view the path to the completed build files in the Generated files output.END QUOTE
    Does someone know how to also get the created installer files? (i only get the exe output files)
    2- How can i start the build status feedback window when using the BuildTargetBuildSpecification.vi?

    Hi jacemdom,
    I hope you're doing well.  I have tested building an Installer specification on my end, and I am seeing the same results.  The correctly passes in the appropriate build specification reference, but no files are actually generated as you have noticed.  I am currently looking for more documentation for you on the BuildTargetBuildSpecification as it is a relatively new feature.  Regarding the status window with this VI, it looks like that feature is currently unsupported.  I will verify this an update you with what I find.  Have a great day!
    Thaison V
    Applications Engineer
    National Instruments

  • How to create button programmatically and assign trigger for it and add code

    is that possible ?
    How can I create item a button for example programmatically (at run time)
    and create trigger (when-button-pressed) programmatically and write a code
    in the trigger body as well programmatically.
    thankx

    Hello David
    I used the way list and go button which is more safer than creating buttons because
    you can populate the list on fly.
         | dropdown list     \/
              | go button |
    PROCEDURE populate_user_function_list IS
         rg_list_id RECORDGROUP;
         ret_code     NUMBER;
    BEGIN
         rg_list_id := FIND_GROUP('RG_LIST');
         IF NOT ID_NULL(rg_list_id) THEN
              DELETE_GROUP(rg_list_id);
         END IF;
         rg_list_id := CREATE_GROUP_FROM_QUERY('RG_LIST','SELECT FUNCTION_ID, FUNCTION_ID FROM SMS_ROLE_FUNCTION WHERE SMS_ROLE_FUNCTION.DB_ROLE ='||''''||:GLOBAL.USER_ROLE||''''||' ORDER BY SEQUENCE_NO');
         ret_code := POPULATE_GROUP(rg_list_id);
         --Populate record group.
              IF ret_code <> 0 THEN
              bell;
              MESSAGE('Record Group could not be populated');
              RAISE FORM_TRIGGER_FAILURE;
              END IF;
         POPULATE_LIST('DYNAMIC_BLK.USER_FUNCTION','RG_LIST');
         DELETE_GROUP(rg_list_id);
    END;
    --this is the button to go the user selection
    begin
         if :DYNAMIC_BLK.USER_FUNCTION is not null then
              --go to selected form
              call_form(:DYNAMIC_BLK.USER_FUNCTION,NO_HIDE,DO_REPLACE,NO_QUERY_ONLY,NO_SHARE_LIBRARY_DATA);     
         else
              bell;
              message('Please select a function');
         end if;
    end;

  • Creating Items Programmatically?

    Hi,
    What's the easiest way to create items programmatically? Our goal is to push new items (and later business partners & sales orders) into SAP without wasting valuable staff time on this kind of tedious stuff.
    I'm assuming it's not the obvious answer of simply INSERT'ing into the relevant tables (OITM etc)
    Do we need to buy the SDK to do what I'm asking?
    If someone can give me a pointer in the right direction, I'd really appreciate it!
    Many thanks,
    William.

    Hi there,
    I don't really undersand your question. If it is for data take on purposes, you can use DTW. You can use SDK if you need to stuff "automatically". You can write a Windows service that runs in the background, using SDK or an Add-on that will execute in the normal ways.
    Hope this helps.
    Kind regards

  • Can we create multiple session in BDC using Call session?

    Hi Experts,
    Can we create  multiple sessions in BDC using Call Session?
    Scenario:
    Program has to upload 1 million records,so can we programmatically create multiple sessions such that after every 50thousand records we create a different session.
    For moment due to large number of records BDC DYNPRO and BDC Field are unable to hold the large number of records,due to which we get a Out of memory error.
    Thanks in advance.
    Shilpa

    Hi
    If ITAB is your table with the data to be transfered:
    Open the first session:
    CALL FUNCTION 'BDC_OPEN_GROUP'.........
    IF SY-SUBRC = 0.
      FL_OPEN = 'X'.
    ENDIF.
    LOOP AT ITAB.
    IF FL_OPEN = SPACE.
    Create new session
    CALL FUNCTION 'BDC_OPEN_GROUP'.........
    IF SY-SUBRC = 0.
       FL_OPEN = 'X'.
    ENDIF.
    ENDIF.
    Here elaborate your data and fill BDCDATA
    Insert the transaction:
    CALL FUNCTION 'BDC_INSERT'
    IF SY-SUBRC = 0.
      COUNT = COUNT + 1.
      IF COUNT = COUNT_MAX.
        COUNT = 0.
    Close the session
        IF FL_OPEN = 'X'.
          CALL BDC_CLOSE_GROUP
          IF SY-SUBRC = 0.
            FL_OPEN = SPACE.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDLOOP.
    Max

  • How to create Request programmatically to trigger Approval Process

    My scenario is dificult... I need to start Approval Process when the user want to assign AD Resource to other user without Request service. So I want to create Request programmatically from Event Handler to start Approval Process for Provision Resource request type.
    Is this right Way?

    If you talk of request, you will have to use RequestService. You can use code to work with the RequestService to create the request and the approval for you.
    -Bikash

  • Creating Presentations Programmatically

    Hi,
    I would like to know how to create presentations programmatically using PresentationBuilder, PresentationCustomizerContext and Presentation objects.
    Thanks in advance
    Ajesh A

    Hi,
    You can see an example of that in BI Beans samples - open the Java client project. You can donwload the BI Beans samples from here:
    http://www.oracle.com/technology/products/bib/index.html
    You can also generate a BI Beans default Java client class in JDeveloper and look at the generated code. To generate a Java client class, follow these steps:
    1. In JDeveloper create a new workspace
    2. Create a new project
    3. Create a new BIDesigner and specify the connection details
    4. Right click on BI Designer, and in the New Gallerychoose Business Intelligence Beans -> Client Tier for OLAP -> Java client class to generate a default Java client application.
    Hope this helps
    BI Beans PM

  • Create items programmatically !

    Hello ...
    I made ViewObject programmatically, and I try to make dynamic JSP page for this ViewObject, So I don't have fixed ViewObject with specified attributes to build my JSP page items using these attributes.
    I'm using JDeveloper 11.1 with ADF technology, OS Windows XP, WebLogic Serve 10.3, JDK 1.6
    1- Can I create web page item (af:inputText for example) at runtime using managed beans and how ?
    2- Can I create JSP web page at run time ?

    Thanks Chan,
    I made the steps like your code, but I got Null pointer exception at "getChildren.add()" method.
    this is the error message :
    ]] Root cause of ServletException.
    javax.el.ELException: java.lang.NullPointerException
         at javax.el.BeanELResolver.setValue(BeanELResolver.java:345)
         at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:283)
         at com.sun.faces.el.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:101)
         at com.sun.el.parser.AstValue.setValue(AstValue.java:140)
         at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
         Truncated. see log file for complete stacktrace
    java.lang.NullPointerException
         at view.backing.Untitled1.addComponents(Untitled1.java:88)
         at view.backing.Untitled1.setPanelBorderLayout1(Untitled1.java:43)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         Truncated. see log file for complete stacktrace

Maybe you are looking for

  • Come on Adobe?

    I expected more from you, or at least did years ago with your video editting products. Thought you were the best, and then I ran into 'flash'. I'm really surprised that a group such as Adobe could charge SO MUCH for ADOBE FLASH for developers when on

  • WebDynpro - iview - different backend systems ?!?

    Hi all, confusion again ... I have the following situation. I developed a simple Web Dynpro application calling a bapi and deployed it to my Portal (host netweaver). During design time/rfc-model creation i used 2 JCO Connections: wd_modeldata_dest an

  • Language used in InfoView & WebI

    Hi, where can I set the language that is used in InfoView? Each user has a "Preferences" link in the upper right; however, I would like to either globally set the language for all users or a certain language for certain users... Do these language-set

  • Apple Store said my display doesn't work but offered no solutions.

    Just got back from the Apple Store. They confirmed my iPad is fine but the display doesn't work. It's black. Their only option was to pay $300 for a new iPad. Mine is only 88 days out of warranty and I took it in the store once already for the displa

  • Created HTTP system, which iView to choose?

    Hello: I have created a webDynpro app that requires authentication (using the authentication default property). It now shows me the normal SAP logon and it works fine. Now I have deployed it into the portal and in order to avoid getting two logon scr