How to make the document dirty after updating the links?

Hi,
I am using the below code to update the link resources by providing new URI. The link resources are getting updated, but the document is not becoming dirty.
                InterfacePtr<ICommand> updateCmd(CmdUtils::CreateCommand(kLinkResourceStateUpdateCmdBoss));
                InterfacePtr<ILinkResourceStateUpdateCmdData> updateCmdData(updateCmd, UseDefaultIID());
                updateCmdData->SetResource(ref.GetUID());
                updateCmdData->SetDatabase(ref.GetDataBase());
                updateCmdData->SetNotify(true);
                updateCmdData->SetUpdateAction(ILinkResourceStateUpdateCmdData::kUpdateURI);
                updateCmdData->SetURI(newURI);
                updateCmd->SetUndoability(ICommand::kRegularUndo);
                CmdUtils::ProcessCommand(updateCmd);
How do I make the document dirty after updating the resources?
Thanks,

Thanks. It is working fine.
I called PreDirty(docPtr), before updating the links.

Similar Messages

  • I have the IPhone 4 , after updating the software to version 5.0 , i can't edit my contacts, is it only from my device or the updated software should be adjusted?

    I have the IPhone 4 , after updating the software to version 5.0 , i can't edit my contacts anymore(the button edit doesn't exist anymore), is it only from my device or the updated software should be adjusted?

    That's exactly right.  And since you have a MacBook Air (as I do), that means the synching should occur just fine (if you've set it up right in iTunes).  In other words, once you actually do the update, the iTunes on your MacBook Air will re-sync your photos back to your iPhone.
    Basically, the process is that your iPhone gets backed up, wiped clean, then the new iOS version gets installed, then the backup gets restored.  That will restore everything in the article above, which does not include your photos.  But the sync process that happens after the iOS installation would restore your photos from iPhoto given you've set it up that way in iTunes.
    When you have your iPhone plugged into iTunes, while looking at the iPhone's summary page, click "Photos" on the right side of iTunes to see how you have your sync set up.
    Regardless, it sounds like you'll be fine!  Your photos will wind up in iPhoto once you place them there.  They will be safe there.

  • How do I get the chat heads after updating the newest version of Facebook? Mine still shows the old meassging version

    After updating the newest version of Facebook, my messaging is still the same old way even though it says it was supposed to turn to chat heads. Anyone else experiencing this?

    you're welcome, you can get it sooner if you want to search google for directions, but i would just wait.

  • User Exit or BADI for catch the document number after saving the document

    Hi ,
    I am working on data conversion where Document number(BELNR),BKPF and BSEG  data should
    transfer to my Z table(Containes fileds of BKPF and BSEG) after SAVE the document related to
    Tcodes F-01 , F-22 , F-28 , F-43 , FB01 , FB02, FB60 ) . It need to go through by any user-exit or
    BADI.So Could you please suggest me any User exit or BADI ASAP.
    Waiting for reply.
    Thanks
    Lakshmi

    You should use BTE (Business transaction event). This concept is used especially for FI related enhancements...
    Study this document to know how to use BTE
    http://www.todoabap.com.ar/archives/FI%20Enhancement%20Technique%20-%20How-To-Guide%20on%20the%20Usage%20of%20Business%20Transaction%20Events%20(BTE).pdf
    Let me know if you face any specific issues..

  • I am having trouble to continue the terms & cond. after updating the new software for Iphone

    Does anybody know how to solve that?

    Did you ever resolve the iCloud problem.I am in the same position and its driving me mad!!! If you have a link to an solution I would appreciate it.

  • Unable to start the Weblogic 8.1 SP4 after updating the license

    Hi All,
    I am not able to start the Weblogic domain after updating the license using java -Xmx command. Actually i have three license files. 1)license.bea 2)license_isv.bea 3) license_scale_limited.bea. The file license_isv.bea is containing unlimited units. Actually we want 100 concurrent users to connect to weblogic. For that i updated the license. After updating the license i am getting the following error.
    Enter username to boot WebLogic server:weblogic
    Enter password to boot WebLogic server:
    The WebLogic Server did not start up properly.
    weblogic.common.internal.VersioningError: No WebLogic packages defined in CLASSPATH
    at weblogic.common.internal.VersionInfo.<init>(VersionInfo.java:46)
    at weblogic.common.internal.VersionInfo.initialize(VersionInfo.java:127)
    at weblogic.common.internal.VersionInfo.theOne(VersionInfo.java:98)
    at weblogic.version.getPLInfo(version.java:57)
    at weblogic.t3.srvr.T3Srvr.checkAccess(T3Srvr.java:523)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:716)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)
    at weblogic.Server.main(Server.java:32)
    Reason: No WebLogic packages defined in CLASSPATH
    Appreciate your help in this.
    Thanks,
    Vasanth.

    Initially i thought that it will be the CLASSPATH variable problem that is defined in startWeblogic.sh script. But we have around 8 domains. I am not able to start any of these domains. Even i tried to create a new domain also. Still i am getting the same error. Can anyone help me in this.
    Thanks,
    Vasanth.

  • I have a macbook pro core i7 mid 2012 And update to the latest version 10.8.4 system after updating the system I have the problem appeared to take off the device and stops at the apple logo for about 5 minutes and then enters the desktop How can I solve t

    I have a macbook pro core i7 mid 2012
    And update to the latest version 10.8.4 system after updating the system I have the problem appeared to take off the device and stops at the apple logo for about 5 minutes and then enters the desktop How can I solve this problem and thank you

    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console 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 Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter "BOOT_TIME" (without the quotes) in the search box. Note the timestamps of those log messages, which refer to the times when the system was booted. Now clear the search box and scroll back in the log to the last boot time when you had the problem. Select the messages logged after the boot, during the time something abnormal was happening. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    For example, if the problem is a slow startup taking three minutes, post the messages timestamped within three minutes after the boot time, not before. Please include the BOOT_TIME message at the beginning of the log extract.
    If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    Still in Console, look under System Diagnostic Reports for crash or panic logs, and post the entire contents of the most recent one, if any. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • I have an IPad 4.  After updating the system, when I try to look at picture on Facebook and make it larger, there is just a "circle" in the middle of the page instead of the picture.  Can anyone help me?

    I have an IPad 4.  After updating the system, when I try to look at picture on Facebook and make it larger, there is just a "circle" in the middle of the page instead of the picture.  Can anyone help me?

    Close all open apps by double-tapping the home button, then swiping up and off the screen with the app window (not the smaller icon).
    Reset your device: hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)

  • How do I remove the (-signed) which Adobe adds to the end of the document name after having signed it?

    Hi there,
    How do I remove the (-signed) which Adobe adds to the end of the document name after having signed it?
    It is not convenient to remove it every time I sign a document. So, is there a way to turn this off?
    Thank you

    I think you cannot, because for many people it is so important to keep the unsigned document, and most do not realise this until it is too late.

  • Hey,... My battery extremely drained after update the last iOS, My iphone must be charged less than 7 hour,.... How could it be?

    Hey,... My battery extremely drained after update the last iOS, My iphone must be charged less than 7 hour,.... How could it be?

    Hey,... My battery extremely drained after update the last iOS, My iphone must be charged less than 7 hour,.... How could it be?

  • HT3180 How do I restart the Apple TV after completing the 11/10/13 update?

    How do I restart Apple TV after updating it tonight, 11/10/13?

    Your Apple TV should restart itself after an update or you should be able to do this from settings. If you aren't able to do either of these....
    If your problem persists get yourself a micro USB cable (sold separately), you can restore your Apple TV from iTunes:
    Remove ALL cables from Apple TV. (if you don't you will not see Apple TV in the iTunes Source list)
    Connect the micro USB cable to the Apple TV and to your computer.
    Reconnect the power cable (only for Apple TV 3)
    Open iTunes.
    Select your Apple TV in the Devices list, and then click Restore.
    (You may already have a micro USB cable if you have a camera or other digital device)

  • How do I get back into my iPad after updating the iOS?

    how do I get back into my iPad after updating the iOS?

    What do you mean? Why can you not access the iPad?

  • HT1766 my iphone 4 is stuck in restore after updating the lasted version.  It was working fine before.How do I get it working again?

    my iphone 4 is stuck in restore after updating the lasted version.  It was working fine before.How do I get it working again?

    Hello, fschris. 
    Thank you for visiting Apple Support Communities.
    When experiencing issues updating or restoring an iPhone, here are the best articles to go through.  If you received a specific error number when restoring, see the section labeled Get more help in the second article below.
    If you can't update or restore your iOS device
    http://support.apple.com/kb/ht1808
    Resolve iOS update and restore errors in iTunes
    http://support.apple.com/kb/ts1275
    Cheers,
    Jason H.

  • How can i get rid of the iTunes logo after updating my iPhone 4 to the iOS 6

    How can I get rid of the iTunes logo after updating my iPhone to iOS 6

    Absolute garbage.
    This abysmal excuse "Always have been built in apps" is irrelevant. NOTHING should be tied to the OS of even
    a phone so tightly that you can't get rid of it. NONE of the apple crap apps do I use, but they use space on MY phone.
    I want the **** things gone.

  • How can I to resolve a write protected form after updating the form?

    The following error is displayed after updating a form “Any changes made to this form cannot be saved.”  These are the steps taken to update the form:
    1)      Move form to Workbench ES Resources.
    2)      Point Variables to new form
    3)      Invoke process
    The updated form is posted on Workspace.  LAN users can make changes and submit the form, but WAN users get the error above and cannot make any changes.
    Thanks,

    You need to know that "USB Key" technology may not be appropriate for a system disk.  Check out "wear leveling" on Wikipedia for a sobering discussion of the service life of solid-state drives.  Also read "solid-state drives" (Ibid.) for a detailed comparison with hard disk technology.
    --Gil

Maybe you are looking for