CINXE.COM

Documents update - Community - Invenio

<!DOCTYPE html> <html lang="en-GB"> <head> <meta charset="utf-8"> <title>Documents update - Community - Invenio</title> <meta name="description" content="My question is that I would like to update my uploaded documents. But I cannot update them without changing the url. I want to upload to the same url. How is this possible?"> <meta name="generator" content="Discourse 3.5.0.beta1-dev - https://github.com/discourse/discourse version 4a7a9efbb95c1976f56c3bddc36a9236eade8fa4"> <link rel="icon" type="image/png" href="https://invenio-talk.web.cern.ch/uploads/default/optimized/1X/_129430568242d1b7f853bb13ebea28b3f6af4e7_2_32x32.png"> <link rel="apple-touch-icon" type="image/png" href="https://invenio-talk.web.cern.ch/uploads/default/optimized/1X/_129430568242d1b7f853bb13ebea28b3f6af4e7_2_180x180.png"> <meta name="theme-color" media="all" content="#0377cd"> <meta name="color-scheme" content="light"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, viewport-fit=cover"> <link rel="canonical" href="https://invenio-talk.web.cern.ch/t/documents-update/298" /> <link rel="search" type="application/opensearchdescription+xml" href="https://invenio-talk.web.cern.ch/opensearch.xml" title="Invenio Search"> <link href="/stylesheets/color_definitions_invenio-colors_3_3_78717404254d1ec7295464cdb414dbe578ccec05.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" class="light-scheme"/> <link href="/stylesheets/desktop_32d4b9f3691d5368f2eacb10ff7a08a4055d57ca.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="desktop" /> <link href="/stylesheets/checklist_32d4b9f3691d5368f2eacb10ff7a08a4055d57ca.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="checklist" /> <link href="/stylesheets/discourse-details_32d4b9f3691d5368f2eacb10ff7a08a4055d57ca.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-details" /> <link href="/stylesheets/discourse-lazy-videos_32d4b9f3691d5368f2eacb10ff7a08a4055d57ca.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-lazy-videos" /> <link href="/stylesheets/discourse-local-dates_32d4b9f3691d5368f2eacb10ff7a08a4055d57ca.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-local-dates" /> <link href="/stylesheets/discourse-narrative-bot_32d4b9f3691d5368f2eacb10ff7a08a4055d57ca.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-narrative-bot" /> <link href="/stylesheets/discourse-presence_32d4b9f3691d5368f2eacb10ff7a08a4055d57ca.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-presence" /> <link href="/stylesheets/discourse-solved_32d4b9f3691d5368f2eacb10ff7a08a4055d57ca.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-solved" /> <link href="/stylesheets/discourse-templates_32d4b9f3691d5368f2eacb10ff7a08a4055d57ca.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-templates" /> <link href="/stylesheets/discourse-voting_32d4b9f3691d5368f2eacb10ff7a08a4055d57ca.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-voting" /> <link href="/stylesheets/footnote_32d4b9f3691d5368f2eacb10ff7a08a4055d57ca.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="footnote" /> <link href="/stylesheets/poll_32d4b9f3691d5368f2eacb10ff7a08a4055d57ca.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="poll" /> <link href="/stylesheets/spoiler-alert_32d4b9f3691d5368f2eacb10ff7a08a4055d57ca.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="spoiler-alert" /> <link href="/stylesheets/discourse-voting_desktop_32d4b9f3691d5368f2eacb10ff7a08a4055d57ca.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-voting_desktop" /> <link href="/stylesheets/poll_desktop_32d4b9f3691d5368f2eacb10ff7a08a4055d57ca.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="poll_desktop" /> <link href="/stylesheets/desktop_theme_3_5df97cdc18ad8ad890b86b5c67d94411ef6ea99e.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="desktop_theme" data-theme-id="3" data-theme-name="shades of blue"/> <link rel="alternate nofollow" type="application/rss+xml" title="RSS feed of &#39;Documents update&#39;" href="https://invenio-talk.web.cern.ch/t/documents-update/298.rss" /> <meta property="og:site_name" content="Invenio" /> <meta property="og:type" content="website" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:image" content="https://invenio-talk.web.cern.ch/uploads/default/original/1X/365b3da954a64ad5402137fe610018898acec6a9.png" /> <meta property="og:image" content="https://invenio-talk.web.cern.ch/uploads/default/original/1X/365b3da954a64ad5402137fe610018898acec6a9.png" /> <meta property="og:url" content="https://invenio-talk.web.cern.ch/t/documents-update/298" /> <meta name="twitter:url" content="https://invenio-talk.web.cern.ch/t/documents-update/298" /> <meta property="og:title" content="Documents update" /> <meta name="twitter:title" content="Documents update" /> <meta property="og:description" content="My question is that I would like to update my uploaded documents. But I cannot update them without changing the url. I want to upload to the same url. How is this possible?" /> <meta name="twitter:description" content="My question is that I would like to update my uploaded documents. But I cannot update them without changing the url. I want to upload to the same url. How is this possible?" /> <meta property="og:article:section" content="Community" /> <meta property="og:article:section:color" content="12A89D" /> <meta property="article:published_time" content="2023-05-16T12:02:31+00:00" /> <meta property="og:ignore_canonical" content="true" /> </head> <body class="crawler browser-update"> <header> <a href="/"> Invenio </a> </header> <div id="main-outlet" class="wrap" role="main"> <div id="topic-title"> <h1> <a href="/t/documents-update/298">Documents update</a> </h1> <div class="topic-category" itemscope itemtype="http://schema.org/BreadcrumbList"> <span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> <a href="/c/community/11" class="badge-wrapper bullet" itemprop="item"> <span class='badge-category-bg' style='background-color: #12A89D'></span> <span class='badge-category clear-badge'> <span class='category-name' itemprop='name'>Community</span> </span> </a> <meta itemprop="position" content="1" /> </span> </div> </div> <div itemscope itemtype='http://schema.org/DiscussionForumPosting'> <meta itemprop='headline' content='Documents update'> <link itemprop='url' href='https://invenio-talk.web.cern.ch/t/documents-update/298'> <meta itemprop='datePublished' content='2023-05-16T12:02:30Z'> <meta itemprop='articleSection' content='Community'> <meta itemprop='keywords' content=''> <div itemprop='publisher' itemscope itemtype="http://schema.org/Organization"> <meta itemprop='name' content='Invenio'> <div itemprop='logo' itemscope itemtype="http://schema.org/ImageObject"> <meta itemprop='url' content='https://invenio-talk.web.cern.ch/uploads/default/original/1X/365b3da954a64ad5402137fe610018898acec6a9.png'> </div> </div> <div id='post_1' class='topic-body crawler-post'> <div class='crawler-post-meta'> <span class="creator" itemprop="author" itemscope itemtype="http://schema.org/Person"> <a itemprop="url" rel='nofollow' href='https://invenio-talk.web.cern.ch/u/holuaat'><span itemprop='name'>holuaat</span></a> </span> <link itemprop="mainEntityOfPage" href="https://invenio-talk.web.cern.ch/t/documents-update/298"> <span class="crawler-post-infos"> <time datetime='2023-05-16T12:02:31Z' class='post-time'> 16 May 2023 12:02 </time> <meta itemprop='dateModified' content='2023-05-16T12:02:31Z'> <span itemprop='position'>1</span> </span> </div> <div class='post' itemprop='text'> <p>My question is that I would like to update my uploaded documents. But I cannot update them without changing the url. I want to upload to the same url. How is this possible?</p> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/LikeAction"/> <meta itemprop="userInteractionCount" content="0" /> <span class='post-likes'></span> </div> </div> <div id='post_2' itemprop='comment' itemscope itemtype='http://schema.org/Comment' class='topic-body crawler-post'> <div class='crawler-post-meta'> <span class="creator" itemprop="author" itemscope itemtype="http://schema.org/Person"> <a itemprop="url" rel='nofollow' href='https://invenio-talk.web.cern.ch/u/nitarocc'><span itemprop='name'>nitarocc</span></a> </span> <span class="crawler-post-infos"> <time itemprop='datePublished' datetime='2023-05-16T12:06:19Z' class='post-time'> 16 May 2023 12:06 </time> <meta itemprop='dateModified' content='2023-05-16T12:06:19Z'> <span itemprop='position'>2</span> </span> </div> <div class='post' itemprop='text'> <p>Hello, sorry for the very late answer. For some reason, we missed your question.<br> When you edit an already published record, you can only change metadata for a given version of the record (same URL).<br> When you upload a new file, or replace, a new version of the record will be created. This behaviour cannot be avoided by the user.<br> Eventually, administrators can replace files manually, but this operation is only in case something is wrong with the file.</p> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/LikeAction"/> <meta itemprop="userInteractionCount" content="0" /> <span class='post-likes'></span> </div> </div> <div id='post_3' itemprop='comment' itemscope itemtype='http://schema.org/Comment' class='topic-body crawler-post'> <div class='crawler-post-meta'> <span class="creator" itemprop="author" itemscope itemtype="http://schema.org/Person"> <a itemprop="url" rel='nofollow' href='https://invenio-talk.web.cern.ch/u/holuaat'><span itemprop='name'>holuaat</span></a> </span> <span class="crawler-post-infos"> <time itemprop='datePublished' datetime='2023-07-20T10:30:25Z' class='post-time'> 20 July 2023 10:30 </time> <meta itemprop='dateModified' content='2023-07-20T10:30:25Z'> <span itemprop='position'>3</span> </span> </div> <div class='post' itemprop='text'> <p>Hello! I am writing a script that would upload corrected files to an existing Invenio URL. The files have not been published yet; they are currently in draft status. However, my code is not uploading them, and I am getting a BAD REQUEST error. Has anyone encountered this issue before?</p> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/LikeAction"/> <meta itemprop="userInteractionCount" content="0" /> <span class='post-likes'></span> </div> </div> <div id='post_4' itemprop='comment' itemscope itemtype='http://schema.org/Comment' class='topic-body crawler-post'> <div class='crawler-post-meta'> <span class="creator" itemprop="author" itemscope itemtype="http://schema.org/Person"> <a itemprop="url" rel='nofollow' href='https://invenio-talk.web.cern.ch/u/nitarocc'><span itemprop='name'>nitarocc</span></a> </span> <span class="crawler-post-infos"> <time itemprop='datePublished' datetime='2023-07-28T15:28:48Z' class='post-time'> 28 July 2023 15:28 </time> <meta itemprop='dateModified' content='2023-07-28T15:28:48Z'> <span itemprop='position'>4</span> </span> </div> <div class='post' itemprop='text'> <p>It is very hard to help you with such issue without a stack trace and seeing how you perform the requests.<br> Did you check the documentation on how to use the <a href="https://inveniordm.docs.cern.ch/reference/rest_api_index/">REST APIs</a>?</p> <p>I suggest you to <a href="https://inveniordm.docs.cern.ch/develop/getting-started/help/">join our chat</a> and ask directly there, there are many users who can help you.</p> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/LikeAction"/> <meta itemprop="userInteractionCount" content="0" /> <span class='post-likes'></span> </div> </div> </div> </div> <footer class="container wrap"> <nav class='crawler-nav'> <ul> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/' itemprop="url">Home </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/categories' itemprop="url">Categories </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/guidelines' itemprop="url">Guidelines </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/tos' itemprop="url">Terms of Service </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/privacy' itemprop="url">Privacy Policy </a> </span> </li> </ul> </nav> <p class='powered-by-link'>Powered by <a href="https://www.discourse.org">Discourse</a>, best viewed with JavaScript enabled</p> </footer> <div class="buorg"><div>Unfortunately, <a href="https://www.discourse.org/faq/#browser">your browser is unsupported</a>. Please <a href="https://browsehappy.com">switch to a supported browser</a> to view rich content, log in and reply.</div></div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10