Extended Fiori app opens in new window

Hi,
When I add my extended Fiori app to the launchpad, it opens in a new window. Is it possible that if I open it, it opens like all the other standard Fiori apps?
When it opens in a new window, I can't navigate to other fiori apps, or go back to the home screen.
Thanks,
R.W.

Hi Robbe,
Please share your target mapping definition. You should use semantic objects.
Take a look this post. Re: Uploading a extended Fiori project.
Regards, Masa
SAP Customer Experience group - CEG

Similar Messages

  • Fiori tile opens in new window

    Hello,
    I have setup my Fiori environment but when I click on an app lets say Leave Approval, the app launches in a new browser window and does not open in the same window.
    The reason I need the app to open in the same window is so when I click the home button within the app, it will navigate back to the homepage.
    I found the parameter using Chromes developer tools:
    <a class="sapUshellTileBaseWrapperLink" href="/sap/bc/ui5_ui5/sap/ui5_hcm_lr_apv/index.html?backToHome=true" target="_blank" tabindex="2">
    Ive tested this by deleting the target="_blank" parameter and clicking on a tile and the Leave Approval page launches in the same window and if I click the home button the page navigates back to the homepage.
    So what I need is a way to delete the target="_blank" parameter from the backend or wherever it is set.
    Can anyone help me with this?
    Kind Regards
    Jared

    Hi Masa,
    Ok the roles have been added. Out of the list of roles from the link you sent me. The only ones I need are :
    SAP_HCM_TCR_T_X1
    SAP_HCM_BCR_MANAGER_X1
    What about the other roles?
    Component
    Technical Name
    Semantic Object
    LeaveRequest
    Business Role
    SAP_HCM_BCR_MANAGER_X1
    Business Catalog
    SAP_HCM_BC_MANAGER_X1
    Business Catalog Group
    SAP_HCM_BCG_MANAGER_X1
    Technical Role
    SAP_HCM_TCR_T_X1
    Technical Catalog
    SAP_HCM_TC_T_X1
    LPD_CUST Role
    UIX01HCM
    LPD_CUST Instance
    TRANSACTIONAL
    I see the default semantic objects in the tile definition.
    I have also tried the steps in the troubleshooting guide you sent but still no luck with opening the app.
    Below you see a screenshot of my current Fiori setup. The apps on top come from implementing UIHCM003 and the 2nd row from implementing the UIX01HCM add-ons.
    The top row is working fine but the bottom row im getting the error.
    The notes for all the applications have been installed.
    The roles that were added for each app, dont they have templates that need to be added under the authorisations tab? Or do I just leave the roles as is?

  • Is there anyway to get an App Tab to stay when I close the program then reopen it?...they always disappear when I open a new window etc.

    Is there anyway to get an App Tab to stay when I close the program then reopen it?...they always disappear when I open a new window etc.
    And I thought the whole point of an App Tab was to always have those tabs there no matter what window is open all the time period.
    It's a minor complaint but I would really appreciate the option to permanently have them there.

    I thought that app tabs would be more persistent, like pinning programs to the taskbar in Windows, but this is not the case.
    Instead, once you close a Firefox window, all its tabs and app tabs are lost.
    Essentially, this means that the close button in the upper-left corner of a Firefox window is now a "kill all open tabs and loose all App Tabs without warning++ " button. That is not cool.
    I realize that "Firefox > Quit Firefox" behaves as intended, but many people use the more obvious red close button instead of the menu to close windows on a Mac. And it is easy to forget that the red button is now also an app-tab-death button. I've lost my app tabs many times to this issue. It is an unforgiving user interface decision which hampers the usability of app tabs. Why should I go through the extra clicks of setting up app tabs if I can loose them so easily?
    Ideally, App Tabs could be saved separately from the currently open windows (perhaps create an option to save then to a special Tab Group that opens on startup?). App tabs would be exceedingly useful to me if they weren't so easy to loose.
    On that note, saving Tab Groups would also be a useful functionality.
    ++ You will get a "closing multiple tabs" warning if you have only one window open, and that one window has multiple non-app tabs open, and you have enabled the warning in Preferences. But this too unreliable to help prevent the loss of app tabs.

  • Opening App in own new Window - Opinions please

    Dear Community!
    I would like to invite you to share your opinions on this idea - foremost in terms of user experience, but also technical implementation:
    Like anybody I always have a number of browser-tabs open, but as an apex user (not developer) I probably have only one apex-app running. So my ideea was, to give the user a stronger experience of working with an Application rather than a website, and therefore open the app in a new window.
    Once in a new window all apex functionalities, navigation etc. work as usual. Only the user can concentrate more on the content and is not distracted by all the other browserstuff around. (After all it's not just "some web site"... ) Also he has full independent controll over the window.
    I have build this in a test scenario and invite you to try everything out.
    With a cookie-controlled checkbox the user can determine, wether he wants it in the first place or not. (Then once allow popups for this site.)
    Now it gets weird:
    I want deeplinking to be possible, so the functionality for the opening process in contained in the page template.
    Also I want, when the user accidentally or willingly returns to the initial browser, and the new window comes out of sight, there should be a button to bring that window back to the front.
    For that, javascript has to store the window object on the page, that opened the new one, so it should stay active. But since to user "doesn't want to use" that "old" window in the browser tab, I have created an overlay region, to cover that entire page up - on the condition, that a new window is beeing opened. Just be feeling this is probably a pretty weird solution, but its working so far (see example above).
    Javascript on every page::
    var newwindow;
    $(function(){
      // when app-page is opened the first time, open new window. after that P0OPEN will be empty:
      if ($v('P0OPEN') === 'Y') {
        var href = 'f?p=&APP_ID.:&APP_PAGE_ID.:&APP_SESSION.::::P0OPEN:',
            winw= window.innerWidth, winh = window.innerHeight;
        // cosmetics for positioning etc.
        var options = 'scrollbars=yes, width='+(winw*.8)+', height='+(winh*.8)+', top='+(winh*.1)+', left='+(winw*.1)
        newwindow = window.open(href, '_blank', options);
        // the button to bring the new window back to the front:
        $('#P0BTNFOCUSW').click(function(){
           if (newwindow && !newwindow.closed) {
               setTimeout(function(){ newwindow.focus(); },100) ;
           } else {
               // if window was closed, start new session:
               window.redirect('&LOGOUT_URL.');
    Maybe its better to have an extra page just for that purpose, but how can I combine that with deeplinking AND the necessity to store the javascript-window-object?
    Another problem unsolved is, that when the user logs out in the new window, that should certailnly disapear. Also, in that case: the window open in the initial tab should change too, that is: redirect to the login screen.
    And probably there are a few more things to be considered...
    So I will be very glad to hear all your oppinions and suggestions of any kind.
    Thanks and greetings,
    Tobi
    (omg!! how can you get the formating for code??) (ok, thanks...)

    Well, nothing wrong with trying and experimenting of course! It'd be interesting to have things react a bit more as a desktop app, but there is not really enough power to do so and that is mostly because of security reasons. Just like the popupblocker. Personally I'd rather not have to tell anyone to fiddle with a (any!) popupblocker. I think you can have a good looking 'app' without it though, and design (or, UI) helps a lot in that regard. I don't mean to place Google on a pedestal here, but I like the simplicity of the browser splashscreen for example. "Here are your app links. Want to open one? Cool, right away!". Want multiple? No issue, hold ctrl and click away. That's just plain basic browser usage and it leaves me the option. They could've also placed the target=blank tag in their anchors, but they didn't. And that's fine.
    I wouldn't necessarily make it more complex than that though - like with auto-popup screens after a login, screening of a window from interaction, dealing with deeplinks.
    I've seen some nice "app"-approaches for apex. I think the coolest are where there is a master app, with icons which open up the other applications. The authentication cookie is shared, the authentication scheme is subscription based. You can deeplink apps but if you don't have a deeplink you go to the splashscreen.
    If you deeplinked then you meant to go there, and not first the splash which pops up something else. If you want to go there then there is a button in each app which will open up the splash app (and if you add target blank in there, in a new window).
    I'd say there is a lot of room for innovation, and anything web is possible. But be careful with those things like popupblockers
    And It's just one opinion of course. I'm sure there are wildly differing ones out there. (Who don't react) You could always try some more UX-UI oriented forums for some feedback in this regard!

  • When I open a new window (App etc) the windows already open disappear. How can I fix this ?, When I open a new window (App etc) the windows already open disappear. How can I fix this ?

    When I open a new window (App etc) the windows already open disappear. How can I fix this ?

    Back up all data.
    Please triple-click anywhere in the line below on this page to select it:
    defaults delete com.apple.dock single-app && killall Dock
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    Wait for a new line ending in a dollar sign ($) to appear below what you entered. You can then quit Terminal. Test.

  • HTML-DB OAE Javascript to close current window and open a new window

    Hi everybody,
    We work with 1.6.
    What we want is to close the current window and open a new window with the URL mentionned in the window.open('http://www.cf.qc/pls/portal/PORTAL.....,'newwindow').
    The new window opening fires only once although we call it many times.
    Our javascript is:
    function closeTest()
    { alert('closeTest');
    if('&REQUEST.'=='QUITTER2'){     
    w = window.self;
    w.opener = w;
    w.close();
    window.open('http://www.cf.qc/pls/portal/PORTAL.home','newwindow','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
    We call it on our application attributes :
    OnLoad="closeTest()"
    Thanks. Bye.

    Try this on for size:
    I have included two functions.
    windowRebuild() - opens a new window, maximizes it based on the screen size, removes all toolbars, and then closes the old window.
    myLocation(appName, pageName) - builds a url referencing an HTMLDB application, specfic to what server you are currently on. Very useful when you have an application on 3 different servers(dev, test, prod servers), you wouldn't want the server name hardcoded if you plan to export the app to another server.
    Also, you need to be careful when using &APP_ID. I am not completely certain how that is resolved at runtime, but I've found it only works when the javascript is in the HTML Header of a page and not stored in the template of the page.
    <script language="JavaScript1.1" type="text/javascript">
      This functions is for internal application use.
      Examples of myLocation:
      url = myLocation('&APP_ID.', 'APP_PUBLIC_PAGE');
      url = myLocation('MY_APP_ALIAS', 'MY_PAGE_ALIAS');
      url = myLocation('184', '10');
    function myLocation(myApp, myPage){
      var myHost = location.host;
      var newURL;
      newURL = 'http://'+myHost+'/pls/htmldb/f?p='+myApp.toString()+':'+myPage.toString();
      return newURL;
    /*  Function windowRebuild()
    *   This function will open a new window and close the old window.
    *   This function will also maximize the new window and remove all toolbars.
    function windowRebuild(){
       if(window.name != 'myAppWin'){
        var url = myLocation('&APP_ID.', 'PAGE_ALIAS');
        var myWin = window.open(url,'myAppWin','toolbar=0,scrollbars=1,menubar=0,status=1,resizable=1,location=0');
        window.opener = 'x';
        window.close();
       if(window.name == 'myAppWin'){
        window.moveTo(0,0);
        window.resizeTo(screen.availWidth,screen.availHeight);
    </script>Let me know if that works or you need some more explanation.
    Chris

  • Firefox opens the old browsing window (previous session) every time i try and open a new window, how do I change this back?

    Every time I go to open a new window, the old one will come up instead. For a while it was working fine, then I kept needing the old window and would use the 'restore previous session' feature to access this. However, even after I didn't need it anymore (and without me selecting the feature, it would still open the previous session.

    Tools > Options > General > Startup: "When Firefox Starts": "Show my home page" "Show a blank page"
    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the files sessionstore.js [2] and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.<br />
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    See also:
    * [1] http://kb.mozillazine.org/Session_Restore
    * [2] http://kb.mozillazine.org/sessionstore.js

  • I am not able to see toolbars, when I open a new window that window is not visible, if I open from bookmarks and there is music playing I hear it but canNOT SEE the websites.

    I am not able to see toolbars, when I open a new window that window is not visible, if I open from bookmarks and there is music playing I hear it but canNOT SEE the websites. I was able to get window open from the help "window" and open sites from there just not from new: window tab or bookmarks those stay invisible? I tried the help suggestions, safemode,etc.

    Hi CMorenoOT,
    This prompt is usually displayed when your Apple ID needs to be configured for the iTunes Store. You'll want to run through the additional steps to setup your country, and payment information.
    iTunes: How to set up an Apple ID within iTunes
    http://support.apple.com/kb/HT2731
    Tip: If you are trying to create an account using an existing Apple ID, like your iCloud email address, you will receive a prompt telling you that your email address is already an Apple ID. Simply tap Continue, and then tap Use Existing Account on the following screen.
    - Next, you'll be required to enter your billing information. To choose a different Credit Card type, tap one of the available options, and then tap Done. You will not be charged until you make a purchase.
    - Once you've filled out all of the fields for your billing information, tap Next.
    For more information:
    Using an existing Apple ID with the iTunes Store and Mac App Store
    http://support.apple.com/kb/HT2589
    Thanks,
    Matt M.

  • How to open a new window from the login window?

    hi,
    can someone tell me how to open a new window from an existing window, here by window i mean frame. The case is i hv two java files - oracle.java and FDoptions.java. The first frame is in the Login.java. The oracle.java file has a button "Login", when it is clicked, i want to open the next frame which is in the file FDoptions.java. Can some one help me with this? I m giving the code below -
    oracle.java
    import java.awt.BorderLayout;
    import java.awt.FlowLayout;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import javax.swing.AbstractAction;
    import javax.swing.BorderFactory;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JPasswordField;
    import javax.swing.JTextField;
    * The application's main frame.
    public class oracle {
        private JFrame frame;
        private JPanel logInPanel;
        private JButton clearButton;
        private JButton logInButton;
        private JButton newuserButton;
        private JButton forgotpasswordButton;
        private JTextField userNameTextField;
        private JPasswordField passwordTextField;
        public oracle() {
            initComponents();
        private final void initComponents() {
            JLabel userNameLabel = new JLabel("User name: ");
            JLabel passwordLabel = new JLabel("Password: ");
            userNameTextField = new JTextField();
            passwordTextField = new JPasswordField();
            JPanel userInputPanel = new JPanel(new GridLayout(2, 2, 5, 5));
            userInputPanel.setBorder(BorderFactory.createEmptyBorder(10, 20, 10, 20));
            userInputPanel.add(userNameLabel);
            userInputPanel.add(userNameTextField);
            userInputPanel.add(passwordLabel);
            userInputPanel.add(passwordTextField);
            logInButton = new JButton(new LogInAction());
            clearButton = new JButton(new ClearAction());
            newuserButton = new JButton(new NewUserAction());
            forgotpasswordButton = new JButton(new ForgotPassword());
            JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
            JPanel buttonPanel1 = new JPanel(new FlowLayout(FlowLayout.RIGHT));
            buttonPanel.add(logInButton);
            buttonPanel.add(clearButton);
            buttonPanel1.add(newuserButton);
            buttonPanel1.add(forgotpasswordButton);
            logInPanel = new JPanel(new BorderLayout());
            logInPanel.add(userInputPanel, BorderLayout.NORTH);
            logInPanel.add(buttonPanel, BorderLayout.CENTER);
            logInPanel.add(buttonPanel1,BorderLayout.SOUTH);
            frame = new JFrame("FD Tracker");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(500, 500);
            frame.setContentPane(logInPanel);
            frame.pack();
            frame.setVisible(true);
        private void performLogIn() {
            // Log in the user
            System.out.println("Username: " + userNameTextField.getText());
            char[] password = passwordTextField.getPassword();
            System.out.print("Password: ");
            for(char c : password) {
                System.out.print(c);
            System.out.println();
        private void performClear() {
            // Clear the panel
            System.out.println("Clearing the panel");
            userNameTextField.setText("");
            passwordTextField.setText("");
        private final class LogInAction extends AbstractAction {
            public LogInAction() {
                super("Log in");
            @Override
            public void actionPerformed(ActionEvent e) {
                performLogIn();
        private final class ClearAction extends AbstractAction {
            public ClearAction() {
                super("Clear");
            @Override
            public void actionPerformed(ActionEvent e) {
                performClear();
        private final class NewUserAction extends AbstractAction{
             public NewUserAction(){
                 super("New User");
             @Override
             public void actionPerformed(ActionEvent e){
                 JFrame newuser = new JFrame("NewUser");
        private final class ForgotPassword extends AbstractAction{
            public ForgotPassword(){
                super("Forgot Password");
            @Override
            public void actionPerformed(ActionEvent e){
                JFrame forgotpassword = new JFrame("Forgot Password");
        public static void main(String args[]) {
            new oracle();
         FDoptions.java
    import java.awt.FlowLayout;
    import java.awt.BorderLayout;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import javax.swing.AbstractAction;
    import javax.swing.BorderFactory;
    import javax.swing.JPanel;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    public class Fdoptions{
        private JFrame fdoptions;
        private JPanel fdoptpanel;
        private JButton enterfdbutton;
        private JButton viewfdbutton;
        public Fdoptions() {
            initComponents();
        private final void initComponents(){
            fdoptpanel = new JPanel(new BorderLayout());
            fdoptpanel.setBorder(BorderFactory.createEmptyBorder(80,50,80,50));
            enterfdbutton = new JButton(new EnterFDAction());
            viewfdbutton = new JButton(new ViewFDAction());
           JPanel enterbuttonpanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
           JPanel viewbuttonpanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
            enterbuttonpanel.add(enterfdbutton);
            viewbuttonpanel.add(viewfdbutton);
            fdoptpanel.add(enterbuttonpanel,BorderLayout.NORTH);
            fdoptpanel.add(viewbuttonpanel,BorderLayout.SOUTH);
            fdoptions = new JFrame("FD Options");
            fdoptions.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            fdoptions.setSize(1000,1000);
            fdoptions.setContentPane(fdoptpanel);
            fdoptions.pack();
            fdoptions.setVisible(true);
        private void performEnter(){
        private void performView(){
        private final class EnterFDAction extends AbstractAction{
            public EnterFDAction(){
                super("Enter new FD");
            public void actionPerformed(ActionEvent e){
                performEnter();
        private final class ViewFDAction extends AbstractAction{
            public ViewFDAction(){
                super("View an existing FD");
            public void actionPerformed(ActionEvent e){
                performView();
        public static void main(String args[]){
            new Fdoptions();
    }

    nice day,
    these lines..., despite the fact that this example is about something else, shows you two ways
    1/ modal JDialog
    2/ two JFrame
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    * Parent Modal Dialog. When in modal mode, this dialog
    * will block inputs to the "parent Window" but will
    * allow events to other components
    * @see javax.swing.JDialog
    public class PMDialog extends JDialog {
        private static final long serialVersionUID = 1L;
        protected boolean modal = false;
        private WindowAdapter parentWindowListener;
        private Window owner;
        private JFrame blockedFrame = new JFrame("No blocked frame");
        private JFrame noBlockedFrame = new JFrame("Blocked Frame");
        public PMDialog() {
            noBlockedFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            noBlockedFrame.getContentPane().add(new JButton(new AbstractAction("Test button") {
                private static final long serialVersionUID = 1L;
                @Override
                public void actionPerformed(ActionEvent evt) {
                    System.out.println("Non blocked button pushed");
                    blockedFrame.setVisible(true);
                    noBlockedFrame.setVisible(false);
            noBlockedFrame.setSize(200, 200);
            noBlockedFrame.setVisible(true);
            blockedFrame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
            blockedFrame.getContentPane().add(new JButton(new AbstractAction("Test Button") {
                private static final long serialVersionUID = 1L;
                @Override
                public void actionPerformed(ActionEvent evt) {
                    final PMDialog pmd = new PMDialog(blockedFrame, "Partial Modal Dialog", true);
                    pmd.setSize(200, 100);
                    pmd.setLocationRelativeTo(blockedFrame);
                    pmd.getContentPane().add(new JButton(new AbstractAction("Test button") {
                        private static final long serialVersionUID = 1L;
                        @Override
                        public void actionPerformed(ActionEvent evt) {
                            System.out.println("Blocked button pushed");
                            pmd.setVisible(false);
                            blockedFrame.setVisible(false);
                            noBlockedFrame.setVisible(true);
                    pmd.setVisible(true);
                    System.out.println("Returned from Dialog");
            blockedFrame.setSize(200, 200);
            blockedFrame.setLocation(300, 0);
            blockedFrame.setVisible(false);
        public PMDialog(Dialog parent, String title, boolean isModal) {
            super(parent, title, false);
            initDialog(parent, title, isModal);
        public PMDialog(Frame parent, String title, boolean isModal) {
            super(parent, title, false);
            initDialog(parent, title, isModal);
        private void initDialog(Window parent, String title, boolean isModal) {
            owner = parent;
            modal = isModal;
            parentWindowListener = new WindowAdapter() {
                @Override
                public void windowActivated(WindowEvent e) {
                    if (isVisible()) {
                        System.out.println("Dialog.getFocusBack()");
                        getFocusBack();
        private void getFocusBack() {
            Toolkit.getDefaultToolkit().beep();
            super.setVisible(false);
            super.pack();
            super.setLocationRelativeTo(owner);
            super.setVisible(true);
            //super.toFront();
        @Override
        public void dispose() {
            owner.setEnabled(true);
            owner.setFocusableWindowState(true);
            super.dispose();
        @Override
        @SuppressWarnings("deprecation")
        public void hide() {
            owner.setEnabled(true);
            owner.setFocusableWindowState(true);
            super.hide();
        @Override
        public void setVisible(boolean visible) {
            boolean blockParent = (visible && modal);
            owner.setEnabled(!blockParent);
            owner.setFocusableWindowState(!blockParent);
            super.setVisible(visible);
            if (blockParent) {
                System.out.println("Adding listener to parent ...");
                owner.addWindowListener(parentWindowListener);
                try {
                    if (SwingUtilities.isEventDispatchThread()) {
                        System.out.println("EventDispatchThread");
                        EventQueue theQueue = getToolkit().getSystemEventQueue();
                        while (isVisible()) {
                            AWTEvent event = theQueue.getNextEvent();
                            Object src = event.getSource();
                            if (event instanceof ActiveEvent) {
                                ((ActiveEvent) event).dispatch();
                            } else if (src instanceof Component) {
                                ((Component) src).dispatchEvent(event);
                    } else {
                        System.out.println("OUTSIDE EventDispatchThread");
                        synchronized (getTreeLock()) {
                            while (isVisible()) {
                                try {
                                    getTreeLock().wait();
                                } catch (InterruptedException e) {
                                    break;
                } catch (Exception ex) {
                    ex.printStackTrace();
                    System.out.println("Error from EDT ... : " + ex);
            } else {
                System.out.println("Removing listener from parent ...");
                owner.removeWindowListener(parentWindowListener);
                owner.setEnabled(true);
                owner.setFocusableWindowState(true);
        @Override
        public void setModal(boolean modal) {
            this.modal = modal;
        public static void main(String args[]) {
            new PMDialog();
    }

  • How do I open a new window in Adobe Acrobat using the plugin sdk

    I would like to create a new menu item that when clicked it will open a new window (e.g. winform). What I'd like to do is pull data from a server and interact with the user in that window.  Basically show the user a list of PDF files to pull from the server.  Once the user is done selecting which file to pull to have the file pulled from the server into the local drive and have it opened in Adobe Acrobat.  The problem I'm having is that I don't know how to invoke a winform or something like it to place my lists of files and UI controls. I've looked at the samples in the SDK and don't see anything that deals with this particular issue.  I'm a newbie so I'm sure I'm missing something here.  I tried creating a new WinForm in a sample example and ran into errors and the form is not functioning.  Any help is much appreciated.

    Thank you Dan_Korn,
    This suggestion is very helpful.  I like the idea of creating the new functionality in the language/environment of my choice and simply call it from the plugin.  The only issue I have is that when I start the other gui app from within the plugin I don't know how to communicate with it.  I would like to do these things with it:
    1. For the spawned off app to be able to tell Adobe Acrobat to open a file in a certain location.
    2. For the spawned off app to exit if Adobe Acrobat is closed.
    3. Also if the spawned off app closes for the handles to it to be desposed of and cleaned up to avoid leaks.
    Any ideas on the easiest approach to the above behaviors?
    Here's  my code so far in the plugin:
    void StartApp1()
              STARTUPINFO info={sizeof(info)};
              PROCESS_INFORMATION processInfo;
              if (CreateProcess(NULL , "myexe.exe", NULL, NULL, TRUE, 0, NULL, NULL, &info, &processInfo))
                        ::WaitForSingleObject(processInfo.hProcess, 0);
                        CloseHandle(processInfo.hProcess);
                        CloseHandle(processInfo.hThread);
              else {
                             AVAlertNote("Couldn't luanch the exe");

  • Problem in opening a new window

    Hi,
    I have a search region and a results table based on search parameters entered in search region.
    In results table, I have a button in each row, on click of which I need to open a new window.
    To this new window, I need to pass one of the attributes in results table and 2 search parameters.
    To open a new window, I used _blank in target frame. Now I cannot use destination URI as I need to send 2 search parameters which are not part of VO.
    So I used partialAction, and in processFormRequest I’m getting search parameters and passing to new page.
    But even though I used target frame, new page opens in same window.
    This is because of partial action. If I use destination uri without passing search params it opens in new window.
    Please let me know of any solution.
    Thanks

    Hi Harshad,
    Create an item of type link and set it client Action property.
    In the controller Process Form Requrest handle its event like :--
    if ("newPageNavigationEvent".equals(pageContext.getParameter(EVENT_PARAM)))
    String empNum1= "13798"; // Your value to be send to another page
    HashMap pageParams = new HashMap(1);
    pageParams.put("partyNumber",empNum1 ); // partyNumber is a dummy Name it could be anything
    pageContext.setForwardURL("OA.jsp?page=/exl/oracle/apps/per/eexit/webui/TestPG", // Give here the path of page you want to open
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    pageParams,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
    OAWebBeanConstants.IGNORE_MESSAGES);
    In the New page controller Process request capture the value and depending upon the value do whatever you want. Like..
    String employeeNumber = pageContext.getParameter("partyNumber"); //Name of the parameter of last page
    if (employeeNumber !=null) // Depending upon the value do your logic
    else
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Word hyperlinks converted to PDF-open in new window???

    I currently use Word 2007 to build indexes with hyperlinks and convert to PDF using Adobe Professional 9. I know how to set my Adobe preferences so that hyperlinks open in a new window, but I want to set this on the document level for each index I create. I also know how to set each link within the final pdf to open in a new window (if I go through each and every link preference).  I must create the hyperlinks in Word as there are many instances that my indexes change prior to distribution of the discs and I don't like having to duplicate, triplicate, etc. my linking process in Adobe as some of my indexes contain 300+ links. I only know of JavaScript but not enough to use with confidence...  I want the hyperlinks to open in new windows (as that has always been my instructions to the end user) without the end user having to fumble around with their systems and settings. It has just been brought to my attention that my discs do not have that function set. Meaning, that what I view and test on my system is not the same as the end user. The hyperlinks open in the same window (dang it!!). I did see a JavaScript solution but keep getting an error (on line 2). Here is the JavaScript I found in the forum: app.openInPlace = false;   //Opens cross-document links in separate windows.
    So, I have muliple questions...
    Is this sript the best way to accomplish the document level open in a new window function?
    Is this script written correctly? (I did cut and paste this script within the brackets)
    If I use the JavaScript and save, does that save in the Adobe application system or just on the document level?  And then how do I delete if it doesn't work properly?
    What other functions can you suggest I try?
    Any suggestions would be helpful!

    Where did you place that script, exactly?
    It should work, there's probably just an error in how you added the text of the script. Try removing the comment so that there's only one line of code:
    app.openInPlace = true;
    Note that this changes the user preference, which is generally frowned upon, so you should endeavor to set it back to what it was in the first place when the document is closed. This would involve storing the value of this property when the document opens, change it if necessary, and restore it when the document closes. It also won't work for those users who have JavaScript disabled.
    Unfortunately, link annotations are difficult to alter in an automated way given what's available in Acrobat. It would be possible with an Acrobat plug-in to make document-wide changes to all of the links, but I'm not aware of any that do this. You might want to search around.

  • "open in new window"- from favorites panel - bridge

    Hi Bridge, I love your way of working
    However 2 things make my hair rise
    - I can't "open in new window" from a favorited location. only in the "content" panel... which is rather "weird"
    - I have to "reveal in finder" to be able to zip/rar files.
    Please fix this, I know i am not the only one who would love this.

    - I can't "open in new window" from a favorited location. only in the "content" panel... which is rather "weird"
    To be honest, I never thought about that option, I always use the shortcut cmd + N for a new window and point to a folder in either folder panel or favorites panel. There is always something to learn
    Having the same option in Favorites as in Folder panel would be very logical indeed!
    - I have to "reveal in finder" to be able to zip/rar files.
    I think you are bound to do so always because Bridge is in fact a browser and in itself not capable of editing files. The export panel did some tasks with resizing but has been discontinued in CC.
    Only if Adobe made an application to unzip or open other packages the possibility for using the tools menu and reach the start up script for such app would be the shortest road possible to my knowledge. But also AFAIK Adobe does not offer such application.
    And using MacOsX 10.8.4 my downloaded zip files are unzipping themselves automatically...
    Please fix this, I know i am not the only one who would love this.
    This won't work because this is a user to user forum, use the feature request option here:
    http://feedback.photoshop.com/photoshop_family/

  • Open a new window, draw boxes in the window, and communicate between the two windows

    I'm going to research this, but figured I'd jump start here in case someone can give me a quick link or point me in the right direction on how to do this while I'm looking.  This is an area of Flex I haven't hit on yet.
    Basically I need to have my flex app (AIR Application) open a new window, allow the user to draw a box on that new window, and then pass the info of the box (X and Y, Width and Height) back to the main window.
    I've never done any of that and am going to try to find out how, but if someone could point me here before I find it online, that would help a great deal, kind of in a time crunch.... thanks.

    You can open the new window as a TitleWindow popup. You can pass info back to the main app using mx.core.Application.application.
    In main app:
    public var windowInfo:Object;
    In popup:
    import mx.core.Application.application;
    private var app:Object = mx.core.Application.application;
    app.windowInfo.x = this.x;
    app.windowInfo.y = this.y;
    app.windowInfo.otherOne = this.otherProp;
    Looking ahead, it is best to pass information between the main app and components using custom components. Below systemManager, popups and the main app are in different display lists, so add event listeners for custom events to systemManager. My Flex Cookbook post on custom events shows this:
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postI d=11246
    http://livedocs.adobe.com/flex/3/html/help.html?content=layouts_12.html
    If this post answers your question or helps, please mark it as such.

  • Safari has recently been displaying adverts everytime i open a new window

    Everytime i open a new window in Safari ads are popping up and new windows open automatically. How do i remove this. This those not happen when i use a different browser.

    There is no need to download anything to solve this problem. You may have installed a variant of the "VSearch" ad-injection malware.
    Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination  command-C:
    /Library/LaunchDaemons
    In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    A folder named "LaunchDaemons" may open. Look inside it for a file with a name of the form
              com.something.daemon.plist
    Here something is a variable word, which can be different in each case. It could be "cloud," "dot," "highway," "submarine," "trusteddownloads," or pretty much anything else.
    There may also be a file named
               com.something.helper.plist
    in the same folder.
    Leave the LaunchDaemons folder open, and open the following folder in the same way:
    /Library/LaunchAgents
    In this folder, there may be a file named
              com.something.agent.plist
    where the word something is exactly the same as before.
    If you feel confident that you've identified these three files, back up all data, then drag the three files you found to the Trash. You may be prompted for your administrator login password. Close the windows and restart the computer.
    Don't delete the "LaunchAgents" or "LaunchDaemons" folder or anything else inside either one.
    The malware is now permanently inactivated, as long as you never reinstall it. You can stop here if you like, or you can remove two remaining components for the sake of completeness.
    Open this folder:
    /Library/Application Support
    If it has a subfolder named just
               something
    (where something is the same word as before), drag that subfolder to the Trash and close the window.
    Don't delete the "Application Support" folder or anything else inside it.
    Finally, in this folder:
    /System/Library/Frameworks
    there may an item named exactly
                v.framework
    It's actually another folder, though it has a different icon. Drag it to the Trash and close the window.
    Don't delete the "Frameworks" folder or anything else inside it.
    If you didn't find the files or you're not sure about the identification, post what you found.
    If in doubt, or if you have no backups, change nothing at all.
    The trouble may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Then, still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

Maybe you are looking for

  • Flex Builder 3 - Export Release Build Feature

    Just bought the Flex Builder 3 prof version and imported my project from Flex Builder 2 to 3. All compiled OK and I see all .html wrappers and swf (debug and release versions) in the bin folder. However when I run the "Export Release Build Feature" o

  • How can you set the max row for a 'open cursor' in a stored proc?

    I would like to know how can you set the maximum amount of row returned in a resultset coming from a stored proc? You can do it via JDBC with cStatement.setMaxRows(10); but it works only for select that you do via JDBC... I would like the same functi

  • Item Description Change

    Hi All, Is it possible to change description of items at the transaction level in sales documents? Suppose there is a same item which needs to be sold with differenet names. Regards, Asap

  • XSL Include

    When using XSL Include, is it possible to include HTML files as well? I would like to have a common footer on all of my xsl stylesheets and was hoping xsl-include would do the trick. It will bring in the text, but it strips all the <> tags and leaves

  • Some help with selecting objects

    Hi all, Is it possible to use a vector path (like a shape) to select multiple objects behind it (like a grid of dots)? Thanks, Chris