Change document to be opened on kBeforeOpenDocSignalResponderService

Hello,
I want to change the document being opened by InDesign within kBeforeOpenDocSignalResponderService.
This means the user opens a document stored on a fileserver (over a slow network), and I want to copy this file to a local drive and then open the local copy of the document.
I tried this code based on SDKSample "DocWatch", but it didn´t work:
void DocWchResponder::Respond(ISignalMgr* signalMgr)
     int signalID = signalMgr->GetServiceID().Get();
     if (signalID == kBeforeOpenDocSignalResponderService)
          InterfacePtr<IDocumentSignalData> docData(signalMgr, UseDefaultIID());
          ICommand* theCmd = docData->GetCommand();
          PMString localFileName("c:\\local.indd");
          IDFile localFile(localFileName);
          docData->Set(theCmd, localFile, UIDRef::gNull, kSuppressUI);
Any ideas what I should do to change the to be opened document ?
Thanks,
Detlef

SMB is a protocol that has had many flaws in the past. It is used quite often by malware to spread from server to server.
So yes, this might expose your LAN to certain attacks in the case your DMZ would become compromised and thus might be considered a security issue.
Also be aware you cannot open 'just one share' to make your clients able to print. If you expose SMB, for exmaple the default c$ share will also be available from within DMZ.
MCP/MCSA/MCTS/MCITP

Similar Messages

  • Purchase order document row is not change (document stutas is OPEN)

    Hi all,
    I am created one purchase order that are not any base or targeted document ,not any approval   procedure and  purchase order document status is steel open . Then how  I a cannot change the document row.
    thanks
    arabinda pal

    Hi Deepa,
    I think if you want to restrict the further editing of a particular row, then you just need to follow the simple procedure.
    1. create the purchase order with your desired items & vendor & add this document
    2. Now reopen it & goto that row which you want to restrict. Right click on that row & select "Close Row".
    3. Select yes to confirmation message.
    4.Now update the document.
    Now you an check it out, in that document you will not be able to edit that row contents.
    I hope this solves your issue.
    Regards.
    ShriX.

  • Unable to change/reset colors with open document in Photoshop CC 2014

    I have the 2014.2.2 release of Photoshop CC 2014 and am suddenly unable to change or reset colors with an open document. I get a "Could not complete your request because of a program error" message. After closing the document (or before opening one) I can change colors okay. But not with a document open.

    OK, then resetting Photoshop's preferences is the next thing to try. But first, save a copy of the existing preferences - we may need them to figure out what is going wrong.
    See this page for ways to reset your prefs: Photoshop Help | Preferences

  • Before when I clicked on a hyperlink in a Pages document Pages immediately opened the link.  Now Pages ask if I want to "Edit or Open" the link.  Is this an option that I can turn or off or is this just a change with the latest update?  Thi

    Before when I clicked on a hyperlink in a Pages document Pages immediately opened the link.  Now Pages ask if I want to "Edit or Open" the link.  Is this an option that I can turn or off or is this just a change with the latest update?  This only started in the last six months or so.
    iWorks "09"  Pages ver 5.2

    Use Pages '09 which should still be in your Applications/iWork folder.
    Peter

  • Documents that I open are immediately "changed" by Indesign

    Since the newest update of Indesign (2014.1), all the documents that I open are immediately "changed" by Indesign for some reason, so I have to save those documents again.
    If I open a document just to take a look at it and I want to close it, I get the question to save my document.
    I have tested this with brand new documents, created in Indesign 2014.1, but the problem remains.
    This is occurs every time, with all documents, even after a restart and after trashing the prefs…
    Anyone with the same issue?

    Hey Kris,
    You might go to Edit> Preferences> Zoom
    Do this without opening any particular PDF so that it applies to the program itself and not just one document.
    Try this and then let me know.
    Regards,
    Anubha

  • If I'm copying text and/or vector elements from Indesign to Photoshop how come their pixel sizes change even though I opened the same sized document and my indesign file is a web file?

    If I'm copying text and/or vector elements from Indesign to Photoshop how come their pixel sizes change even though I opened the same sized document and my indesign file is a web file?

    >my indesign file is a web file
    Pardon?
    Or do you mean that, when you created a new document, you choose Web as intent maybe?

  • When I i open a picture from my Documents it automatically opens in Photoshop.  I want it to open in Lightroom. How do I change this preference?

    When I i open a picture from my Documents it automatically opens in Photoshop.  I want it to open in Lightroom. How do I change this preference?

    You cannot open an image with LR as you would with Photoshop , or Elements. (or a word document, etc)
    The Lightroom program can only open "Catalog" files  (*.LRCAT)   Opening a .LRCAT file will automatically open Lightroom.
    To edit images in LR you must first open the program, then IMPORT the image into the Catalog database (only ever once), then you select the preview thumbnail and go to the Develop module ( press "D")
    Your edits in the Develop module will show on the preview in the library grid.
    Your original image file is not altered, so will not look any different in File Explorer or Finder.
    To get an image file with your Develop edits applied, you must "Export" a derivative file in JPG or TIFF format.

  • HT6084 Since upgrading to OS X Mavericks I have not been able to work on any MS Word tracked changes documents (works fine if no tracked changes), as every time upon opening such a word file the word processor closes / crashes. What can be done in this ca

    Since upgrading to OS X Mavericks I have not been able to work on any MS Word tracked changes documents (works fine if no tracked changes or comments in the doc). Every time upon opening such a word file with tr.changes the word processor closes / crashes.
    What can be done in this case?

    I just discovered that by turning off in tracked changes balloons in Word preferences prevents the software from crashing, but from then on I need to use only the review pane.

  • Change documents - open object action

    Hello,
    We are using CRM 7.0. We want to add to the change history line each time when some user opens the Business Activity object. How is it possible to perform it?
    In the SAP documentation for change documents we didn't find any relevant information...
    Thanks in advance,
    Sergey Kozyrev

    Hi,
    Is it required in GUI or WEB UI?
    Regards
    Sidd

  • When I try and open Microsoft Word 2011 documents they start opening one after another at a rapid speed and I can't stop it. I reboot and same thing happens?

    When I try and open Microsoft Word 2011 documents on my  IMAC they start opening one after another at a rapid speed and I can't stop it. I reboot and same thing happens. The documents open in rapid succession on their own and don't stop until I force close or after maybe 100 or more open I start getting the following message for each document attemting to open "This document could not be registered. It will not be possible to create links from other documents to this document" and then in paretheses the name of the document. After I click okay another trys to open. Any suggestions?

    If you had multiple documents open and quit the app without closing all of the docs first, it will open them again when you launch the app. Open Word, and then close all the documents, you may be asked to save the document, if the document was already saved but you made changes to it before you quit the app, you may need to save the changes first, shorcut ( command and s keys). After you close all of the documents then quit the app and restart the computer. See if this works.

  • Problem while generating Update progam for a Change Document Object

    Hi,
    I'm trying to deal with Change Document concept in a R/3 4.6C environment and to establish new Change Document object for my (Z)-table. I haven't using any namespace and created object with name ZTEST. Following the online documentation I came to the point, where I have to generate include program. I made all the nessesary inputs (using Z prefix) but faced
    "Function module name is reserved for SAP"
    Creating everything similarily using some of our registered namespaces (/somenamespace/) I succeed to generate the Update program and to integrate it in my Z-programs as well.
    My question is: is it possible to use Change Document Object-names without predefined namespace - being a regular customer developer, but not an SAP developer - means, if I am allowed to manage programs in the customer namespace (Z,Y, X) only. If yes, how to do this?
    Further (I decided not to open a new thread) - generated Update program uses
    CALL FUNCTION 'xxxxx' IN UPDATE TASK
    for creation of Change Numbers for generated Change Document Object. This CALL doesn't work when I implemented it in my Z-program, but when changed  (IN UPDATE TASK was commented) - everything goes well and the system creates records in CDHDR/CDPOS tables for my object class and table.
    Why is that? According to the documentation I shoud only fill appropriate variables for the Change Document Object (class, tr.code, etc.) and call generated FM, nothing is pointed out about any possible problems? Am I doing something wrong?
    Well, to be precise, I think I have to give a sample:
    1. I have a sample Z-table with few fields (their data elements are marked as Change-Document relevant).
    2. Using own z-progam I created a new record for this z-table. Also fill all the nessesary variables included in the interface of generated FM for Change Document Object (for example - FM-mane CD_CALL_my_object).
    3. I call the CDO FM.
    4. Check what is happening (directly in both tables CDHDR/CDPOS or using FM CHANGEDOCUMENT_READ).
    Further, I perfom the steps from 1 to 4 updating the created in previous loop record in my Z-table.
    In both cases if the FM 'CD_CALL_my_object' is called IN UPDATE TASK nothing happens, but in case of direct call (without addition IN UPDATE TASK) the system behaves as expected. Well, obliously I can change the generated code for our production needs, but it doesn't seems to be the correct decision - in case of next possible modification of the Change Document Object definition, respectively in need of re-generation of the code.
    Any hints are wellcome.
    Thanks in advance.
    Ivaylo Mutafchiev
    Edited by: Ivaylo Mutafchiev on Jan 24, 2008 10:24 AM

    "IN UPDATE TASK" resolved by myself. The one should explicitly call 'COMMIT WORK' from Z-program after CALL FUNCTION '...' IN UPDATE TASK in order to get changes in the CDHDR/CDPOS commited. The key in this issue for me was to check the documentation of CALL FUNCTION :-).
    Regards,
    Ivo

  • Mavericks Pages 5 documents won't open

    I upgraded to Mavericks a few days ago. I have documents that were created in Pages ’09 that will no longer open. (Some will, and I don’t know what the difference is) When I try to open one, it either opens, no problem, or I get the message “The required index.xml file is missing”. This message is in a rectangle with an icon representative of Pages ’09 (the inkwell). Since it has this icon, I’m assuming that I was trying to open it in the ’09 version, which is what I intended to do. Since this didn’t work, I tried to “open with Pages.app (4.0.5)” and got the same message. I’m a little afraid to try to open it in Pages 5, since I’ve heard rumors that this could ruin the document. I’m at a loss, and, like everybody else, I have important documents that I need access to. After I upgraded I had both Pages ’09 and Pages 5 on my dock, instead of one of them being in the applications folder. I have looked briefly at pages 5 and determined that I prefer ’09. They are both still in my dock but I never open Pages 5. I’m using an iMac with 10.9.4. All my documents are in Pages ’09 and I want to open them in Pages ’09. What to do?

    Having two versions of Pages on your Mac is a royal pain. The correct version of Pages '09 for Mavericks is v4.3. Apple has a downloadable update here. I am current with both, including Pages v5.2.2. Your opening errors may be due to that Pages v4.0.5 running on Mavericks and needing a newer v4.3. Run Disk Utility from /Applications/Utilities after updating Pages ’09 per above, and verify/repair your permissions.
    I have dragged and dropped Pages '09 from /Applications/iWork '09, and Pages v5.2.2 from /Applications onto my Dock, so the icons are adjacent. You should drag and drop each of your Pages Dock icons out on to your Desktop about two inches and release them to remove them from the Dock. Don't worry, these are aliases to the real applications. Now drag/drop each of the Pages applications back onto the Dock as I have done. You will now know exactly where these icons point back to the individual application locations.
    In System Preferences > Security & Privacy (click the gold lock), under Allow apps downloaded from: mine is set to Mac App Store and identified developers. I am wondering if you have FileVault enabled for your boot drive? I have never seen your dialog as posted, so try my settings.
    With both applications installed on your Mac, you can only open Pages ’09 documents as follows, and double-click will always open them in Pages v5+.
    Launch Pages ’09, and open the document via the application File chooser
    Right-click on the ’09 document, and from the Open With sub-menu, select Pages (v4.n)
    Drag and drop the ’09 document onto the Pages ’09 Dock icon.
    Pages v5.2+ will open a Pages ’09 document without asking if you want too. As Pages v5.2+ is about 110 features/functionality less than Pages ’09 v4.3, it will also silently filter content from your ’09 documents as it opens them. This has been a catastrophe for those without backups.
    For forward organizational purposes, I would recommend that you create a custom tag name and color in Finder Preferences for explicit identification of your Pages ’09 documents. You can change this color and tag name in the open document title when you roll over the file name. Then you have both a visual clue to avoid opening these in Pages v5+, and the tag name allows you to use an Finder Window, or Spotlight search on that name to exclusive find Pages ’09 documents. Here is an example of a Finder tag: Pages search:

  • How do you set the default magnification for Acrobat.  All documents that I open enlarge to 174% and are too big.

    How do you set the default magnification for Acrobat.  All documents that I open enlarge to 174% and are too big.  I see how to change the size after the document is open by going to File/properties/initial view and saving this setting.  I want all documents to open at 100% when they are first opened.  Can I set this as a default view?

    Hey Kris,
    You might go to Edit> Preferences> Zoom
    Do this without opening any particular PDF so that it applies to the program itself and not just one document.
    Try this and then let me know.
    Regards,
    Anubha

  • Why does it say my event is already open with the same identifier so the second document cannot be opened?

    I have been working for 7 hours today on a major 3-month project. Everything was okay until I closed it and tried to open it. I received this error:
    "/Volumes/MediaSAN4/Workbench/HRL /Final Cut Events/Move-In is already open with the same identifier as /Volumes/MediaSAN4/Workbench/HRL /Final Cut Events/Move-In, so the second document cannot be opened.
    Move one of these documents out of your Final Cut Events folder.  To avoid this problem, copy events from within Final Cut Pro."
    not sure what it wants me to do.
    When i hit ok EVERY event is gone. all projects say missing event. Even the two I'm not working on. I'm so frustrated I've thought about starting the project over in 7 but I want to stick with it.
    I work for a university and have not been able to find help, even from my boss. The only thing I have found to fix it is to dismount the drive (mediasan4) and then remount it and it reconnects everything. But this can't be a good way to work. There are no duplicate events anywhere. there IS for some reason a duplicate mediasan4 drive in the project library, but not under the events library. I have been working in one and everytime I make an edit to my projects in there it makes the changes to the other one. I cannot find a way to delete it. We just reinstalled fcpx a few days ago.
    Any and all help is greatly appreciated!

    Oh yea sorry about that, but yes sir, I sure am. The SAN not the drive. I have tried renaming the event as well. Thanks for checking though.

  • Change document not found in article master ( t.code MM42)

    Hi,
    I am facing a strange  issue in MM42 !
    I see that the RP type in Logistic Dc view is not  same as the last value. Which means there is a change  made in this field. But the change document for this is not seen in MM42.
    Do you have any idea about which may have caused this?
    Thanks in advance
    Indrani

    Hi Indrani ,
    Another way of checking it ...
    Se16/SE16N   Table CDHDR .....
    Object = MATFULL and Object Value = Article Number ...  TR COde : MM42 ...
    Give an open date range...
    This will bring out all changes done to the article.
    then take the Object ID and Change DOC Numbers to CDPOS ... and now there you can filter for the field name DISMM or( RP Type field name)... If it has been changed ... it will be picked up..
    Regards
    Amitava

Maybe you are looking for