How to update content inside document

Hi,
My requirement is to replace the new link with old link inside the document in the document library.
please guide me.

as and alternative approach it is also possible to transform link inside the document to the field (if we are talking about MS Word) and work with the fields also via Open XML. It is more straightforward than scanning whole document content. See example
here:
OpenXML: How to refresh a field when the document is opened.
Blog - http://sadomovalex.blogspot.com
Dynamic CAML queries via C# - http://camlex.codeplex.com

Similar Messages

  • How to update the posted documents with Business Area wise

    Dear experts
    Please suggest me how to update the posted documents with Business Area wise
    Ajeesh.s
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    Edited by: Thomas Zloch on Nov 2, 2011 2:26 PM

    Hi,
    Select all your folders in Disco Administrator,ALT+ENTER to go to properties, then change the database from the default database to the remote database.
    Hope that helps,
    Rod West

  • How to print content inside a scroller in Adobe Air

    Hi experts,
    I am currently working on an Adobe AIR application that shows the  user some graphical data. As this data is more in height to fit the  screen height, I've placed it inside a scroller.
    Now I want to take a print of this visual data, mostly some charts  and lists but I only see a single page containing only the part of the  screen that is currently visible to the user. I want to have the entire  content inside the scroller to appear on the page.
    I tried using both PrintJob and FlexPrintJob but couldn't find a way  around. Can anyone please help me by providing an insight, some source  code will be greatly appreciated.
    Looking forward to your replies,
    Thanks

    Alex,
    From http://www.darronschall.com/weblog/2005/11/the-secret-to-printing-in-flex.cfm,
    I adjusted my code to
            if (printJob.start())
                FlexGlobals.application.contentGroup.clipAndEnableScrolling = false;
                results.scroller.viewport.clipAndEnableScrolling = false;
                setTimeout(continuePrinting, 250)
            function continuePrinting():void
                printJob.addPage(results.scroller.viewport as Sprite);
                printJob.send();
                results.scroller.viewport.clipAndEnableScrolling = true;
                FlexGlobals.application.contentGroup.clipAndEnableScrolling = true;
    Now it does print a small portion of invisible portion, but the view of limited to a single page. I observed the contentHeight property of the viewport and it is 6097. But the printout is limited to a single page. I also tried giving a rectangle as the second parameter for the addPage method of printJob giving the height of viewPort.contentHeight but of no use.
    How are you suggesting to create a new view of viewport outside the scroller ? Can you please paste some code for reference for better understanding of your suggestion?
    Thanks

  • How to update content types enheriting from the System Page Content type

    After importing a design package I found out that my content types was missing some columns. I could add the missing columns to my "page" and "Article Page" site content type. When adding the exisiting columns I could choose to update
    everything that inherits from this type:
    This is working. However I still miss 2 columns in the "Page" Content type:
    1. Rollup Image
    2. Hide physical URLs from search
    If I roll back my dev environment I can see that these are inherited from the "System Page" content type which is not editable. The columns are in the "System Page" content type but They are gone in "Page" content type that
    should inherit the columns.
    So how do I update these?
    Thanks

    Hi Alex,
    Thank you for replying. I totally agree with you regarding not to modify the OOB content types. The content types I have created/modified is also my own "new" content types.
    However the designpackage import messed up the OOB content types somehow so I'm only trying to get back to the state before the import. The only thing I see is still missing is the two previously mentioned columns in the "page" content type.
    Do you have any other suggestions in how to get back to the "OOB State"?
    Thank you
    Update: this is my page content type. It's not set to read only so it should update the last two missing columns from its parent (system page content type) right?

  • How to update content of a file on server using a Java Applet?

    Hi,
    I'm new to Java, and I have a task now to overwrite a text file on a server using an applet. I have written a piece of code which compiles but doesn't work. Can you please take a look at the code or give me another way to do it?
    Thanks.
    Code:
    import java.applet.Applet;
    import java.io.*;
    import java.net.*;
    public class test2 extends Applet{
    public void init() {
    StringBuffer buf = new StringBuffer();
    try {
         String output = "this is some string";
         URL aUrl = new URL (getCodeBase().toString() + "test.txt");
         System.out.println(aUrl);
         URLConnection con = aUrl.openConnection();
         con.setDoOutput(true);
         PrintWriter out = new PrintWriter( new BufferedWriter( new OutputStreamWriter(con.getOutputStream())));
         out.println(output);
         out.close();
    catch (MalformedURLException mue) {
         System.out.println("improper url");
         mue.printStackTrace();
    catch (IOException e) {
         System.out.println("io exception");
         e.printStackTrace();
    }

    Ram.ViSolve wrote:
    869975 wrote:
    Thanks. I knew there would be a security issue, but I do not have sufficient knowledge to get around it. If you have a reference how to configure a server please post it here.You need to create Signed Applet. Because normally applets have some restriction to access the files in the client machine. Signed applets overrides the restriction.
    To know more, Read [url http://192.9.162.55/developer/onlineTraining/Programming/JDCBook/signed.html]Signed Applet
    No. Our OP wants to write to the server, not to the client! And to achieve this from an applet, you don't need it signed, iff the server is the machine from where the applet was downloaded in the first place. You only need to use a mechanism that allows you to write to servers, which HTTP is not. FTP, on the other hand, if setup properly can do it. So instead of trying to write using an HttpURLConnection (OP's attempt), you would use an FTP client library. FTP here is just an example and probably not the best way. Another option is to use some servlet or PHP or ASP on the server side and the applet will sumbmit the changes to that code on the server, which in turn will write to the file. The idea is that you need some 'partner code' on the server, be it the FTP server or the servlet/PHP/ASP code. None of this requires the applet to be signed.

  • To update contents in the JTextArea

    Hai all,
    How to update contents in the JTextArea on changing the selection from one row to another row in JTable?Help resolve the issue.Thanks in advance.

    Get the selectionModel for the JTable and add a ListSelectionListener to it. The listener is notified for changes in the row selctions in the table. You can use JTable methods inside the listeners valueChanged method to get the information you need to update your JTextArea.

  • Update content of tooltip

    Hi!
    How can update content of tooltip in component without mouse move? For example in text field I enter "1" and in tooltip show "1". If after I enter "2" in tooltip show "12" and so on.
    Thank you.

    Replace the method getToolTipText(...) I gave you in the other post by :
         public String getToolTipText(MouseEvent e) {
              return(getText());
    Denis

  • How To: TOC or LOF stored inside Document

    Running FM 7.0p579 and WinXP Pro/SP2.
    Issue Background:
    EDD is well modified from original Spec.
    Structured doc contains two Elements, Contents and Illuslist.
    Each contains a list of entries - all are Hotlinked, like a Generated List in a Book File.
    Each element, when selected in Structure View, highlights a large chuck of content (ie, all the entries in the associated list) in Doc View. For the Contents element, which occurs as first child in Structure, the selected content includes the top titles in the doc.
    In doc view, list content can be edited; however, after clicking into a line, one use of cursor arrow (eg, UP), takes insertion point to top of content chunk.
    New entries can be entered, but only using Soft Returns and tweaking settings in Para Designer.
    My Question(s):
    1) How are these lists created? First answer might involve the tocentry attribute that is on some elements; but it is not on all the elements to which these linked list entries go.
    2) How to update the lists using some "auto-generate" function? The files are stand-alone and not part of any Book File. As far as my users recall, the files never have been part of a Book.
    Can anyone provide insight here?
    Regards,
    Dave

    They are definitely not text insets. They are several lines in one Element. The line breaks are not Soft Returns, but are "full paragraph line breaks ("CrLf's"), with the Para symbol.
    The parent elements mentioned in first post are set up as Container/Empty in EDD and so do not allow typing text. But they DO allow copy/paste text and/or structure.
    Further testing since I started this thread has revealed: If I "rewrap" the two elements, all formatting gets stripped! The result looks very much like an Auto-Generated TOC that has not been set up for text formatting. That is, all the entries are slammed left, no leadered tab, and even the Across Cols gets stripped to where the entries are confined to the two-col page.
    All I am seeing has now led me to suspect these lists were indeed created using a Book File - even if the book only contained the one document - then the results in the auto-gen list were copy/pasted into the top of the content file. Then formatted "manually". In fact, the Para Tags in use have conspicuously Auto-Gen TOC-looking names, such as, Title(TOC1)TOC. The context label you see in this example is indeed the one called out in the EDD!
    I intend to test this stand-alone auto-gen theory tomorrow.
    Thanks for the response.
    Dave

  • How to update sales order number (KAUFN) characteristic in the profitability segment of the PA document created at the time of service entry sheet confirmation, as a result of shipment cost document

    Hi,
    We have a scenario wherein we create shipment cost documents against delivery. As a result of shipments fully transferred, a PO for freight vendor is automatically created and a service entry sheet confirmation happens. As a result of service entry sheet confirmation, we have Financial accounting, Controlling and profitability analysis documents created. We have a requirement wherein we need to have the characteristic “sales order number (KAUFN)” populated in the profitability analysis document created as a result of service entry sheet confirmation.
    Could someone please advice how could this be attained in COPA. Thanks for your help in advance.
    Regards,
    Sandeep

    Hi Ajay,
    Thank you for the quick update.
    The document is updated to COPA through OKB9 settings. The profitability segment is updated with fields like customer, product, company code, plant, sales area data, profit center, etc; however the sales order number is missing.
    Could you please elaborate further how could FI substitution be implemented to call for the FM COPA_PROFITABILITY_SEGMENT through user exit? Are you recommending the substitution through GGB1? What could be the possible validation to call for the user exit to be implemented?
    Regards,
    Sandeep Kulkarni

  • How to restrict update to a document in state release to the contribution g

    How to restrict update to a document in state release to the contribution group.
    Hi I’m working with UCM 10g and I want to know if it is possible to restrict the update over a document that is on state release for the group of users that made the check in of the document ?
    thanks

    Yes, it is, but IMHO in a rather complicated way:
    - you could change the security settings (security group, or more likely, accounts) during the life cycle, or
    - you could implement collaboration management, and change security settings via ACLs
    Alternatively, depending on what you mean by "updating" documents you could also:
    - check-out the document by a system account (if you want to prevent your users to check-in a new version)
    - modify the GUI so that Update (metadata) action is not available to users (in theory, they could still access it via a direct service call) by a custom component
    - introduce a Java event filter (enhancing the UPDATE service) where you will implement whatever logic you want
    I would probably opt for the last options as it seems to me to be the cleanest solution (but yes, it requires some coding).

  • Can't seem to change the Document Properties Advanced Reading Options in a Form that was created in Adobe LiveCycle. This option has been "greyed" out - anyone know how to update this to English so I can pass Accessibility Testing?

    Can't seem to change the Document Properties > Advanced > Reading Options in a Form that was created in Adobe LiveCycle. This option has been "greyed" out - anyone know how to update this to English so I can pass Accessibility Testing?

    LiveCycle forms use a very different approach to create a PDF form than Acrobat and that approach makes many features for processing PDFs non-functional.
    You might want to ask this question in one of the LiveCycle product forums.

  • How to update managed metadata column for all file in document library using powershell

    Hi,
    How to update managed metadata column for all file in document library using powershell?
    Any help on it.
    Thanks & REgards
    Poomani Sankaran

    Hi TanPart,
    I have changed the code which you have give in order to get the files from SharePoint 2010 Foundation  Document Library.But i am getting below error in powershell.
    Property 'ListItemCollectionPosition' cannot be found on this object; make sure it exists and is settable.
    Could you tell me which is the issues in it?
    See the code below.
    $web = Get-SPWeb http://ntmoss2010:9090/Site
    $list = $web.Lists["DocLib"]
    $query = New-Object Microsoft.SharePoint.SPQuery
    $query.ViewAttributes = "Scope='Recursive'";
    $query.RowLimit = 2000
    $caml = '<Where><Contains><FieldRef Name="Title" /><Value Type="Text">Process Documents/Delivery</Value></Contains></Where>' +
            '<OrderBy Override="TRUE"><FieldRef Name="ID"/></OrderBy>'
    $query.Query = $caml
    do
        $listItems = $list.GetItems($query)
        $spQuery.ListItemCollectionPosition = $listItems.ListItemCollectionPosition
        foreach($item in $listItems)
            #Cast to SPListItem to avoid ambiguous overload error
            $spItem = [Microsoft.SharePoint.SPListItem]$item;
            Write-Host $spItem.Title       
    while ($spQuery.ListItemCollectionPosition -ne $null)
    Thanks & Regards
    Poomani Sankaran

  • How to update profit center in posted document without profit center ?

    HI,
    I want to know,
    How to update profit center in posted document without profit center ?
    So that i can get my profit center accouting report proper.
    Thanks
    Nilesh

    There is a long story about profit center accounting. I assume you are using Classic PCA, this means you can see the PCA documents.  And the solutions is below:
         For P/L account, even you don't maintain cost element for it, if you maintain the profit center in the application (Frontend transaction), then PCA line items will be generated for this account.
        For B/S account,  if you maintain the default Profit Center with transaction 3KEH/3KEI, the PCA line items will generated for this account also.
      Hints, don't maintain default profit center for AR/AP accounts, these accounts to be treated in periodic processing.
      First, calculate the distribution/adjust by F.5D, then transfer it by 1KEK. for others account rather than AR/AP, use F.5E
    For you case, if this account is P/L account, but you don't maintain profit center in the transaction, you can maintain default profit center as B/S account in 3KEH and 3KEI, then transfer it subsequently by transaction 1KE8.
    Good Lucky!
    Flex Yang

  • Update Content with fade effect - How do I do this in 1.5?

    Hello,
    Just wondering what would be the equivalent code in spry 1.5
    to the following update content with effect code in 1.4?
    function fadeIt(ele,url){
    Spry.Effect.DoFade('apDiv1',{ duration: 500, from: 100, to:
    0, finish: function() {
    Spry.Utils.updateContent(ele, url, function() {
    Spry.Effect.DoFade('apDiv1',{ duration: 500, from: 0, to:
    100 });
    I am a little stumped how to achieve this now that the effect
    code must be BELOW the html region the effect code works on. Any
    help on this would be appreciaed.
    Regards,
    Kiwwwi.

    Hi,
    We have a special article that explains the changes from
    Spry1.4 to Spry 1.5 regarding the effects.
    You can find it
    here.
    Diana

  • FavoriteFolder, how to get the content inside this folder

    Hi
    I have to get with the Java api consumer the content inside the favorite folder. How can i get it?
    i write this code:
                   String searchQuery = search://{'guaglanto1'}?SearchKeywords=true&SearchExact=true&SearchCaseSensitive=true;
                   ResponseHolder rh = boBIPlatform.get(searchQuery, null);
                   InfoObjects myFav = rh.getInfoObjects();
                   if (myFav == null || source.getInfoObjectArray().length == 0){
                     result="No terms matching the following search query could be found: " + searchQuery;
                             return result;
                   result ="";          
                   for (InfoObject infoObject: myFav.getInfoObjectArray()){
                     result= result+ infoObject.getName() + " has CUID: " + infoObject.getCUID()+ " type "+ infoObject.getKind() + " has childreen "+ infoObject.getChildrenObjects();
    Where guaglanto1 is the title of the favoriteFolder.This code show the CUID,name,kind and children of the favoriteFolder.  Now i want to navigate this folder and get its content (i see from InfoViewApp there are 5 web intelligent report inside the favorite folder) but i don't know how can i get that.
    Anyone can help me to resolve this problem?
    thank you
    best regard
    Andrea

    once you get the SI_ID or SI_CUID of the favorites folder you need to write an additional query to pull all its children using:
    select * from ci_infoobjects where si_parentcuid='<si_cuid of favorites folder>'
    If the favorites folder contains folders with subfolders, this will be a recursive call. You can use query://{select....} or path://
    Look at the BIPlatform documentation in API reference and there is more information on how to use query:// or path://

Maybe you are looking for

  • Archive link toolbox

    Dear All, We are in ECC 6. We have implemented SAP content Server and Archivelink to attach some documents to BUS2012. All work properly but I would like to change the display of the attachment list : from ME23N transaction, click on attachment butto

  • How to recover game, removed by accidently?

    I Accidently remive my Clash of King gand from game center and i want it back. My game data is lost but my profile is still In gsme center. Is there is a way to get it back?

  • Should get 1Z0-051 or 1Z0-052

    Hi there, i'm thinking to get OCA, which exam should i go first? 1Z0-051 or 1Z0-052. Please advice. Thanks

  • Error -69, pls help..

    pls help me.. everytime i try to sync my iphone to update or upgrade to 4.3.1, it appears "The iphone cannot be synced. An unknown error occured (-69)." what do you mean by that? what should i do? it's been a month or two that i can't sync my iphone.

  • Won't update to latest iOS

    I'm trying to update my iPad and it says I have the latest update, but it's still iOS 5.1.1.  Can figure out how to get to update to iOS 7.