How to insert documents first pagenumber on any page?

Does anyone know how to insert the pagenumber from the first page in a indesign-document, on a page of choosing? I can only find how to add a document last-page as a number.
Example:
A document with page 10-20.
On page 3, 4 or 13 I would like to have a footer that says "Document XYZ - Pages: 10-20".
Any ideas?

This is not intuitive,, but should work...
On the first page add a small text frame anywhere and insert a fame break character. Now thread that frame to the one where you want to have your start page number, wherever that happens to be in the document. In this new frame enter a Special Character > Markers > Previous Page Marker.
The down-side here is this is not a variable, so if you want to have more than one frame like this you need to set up each one the same way with its own linked frame on the first page. In sush a case I thnk it would be more practical to just enter the start page number manually, perhaps as a custom text variable that you can edit in one place if the start number needs to change.

Similar Messages

  • How to insert document into xmltype column through an http post request with perl

    Oracle 11.2.0.3
    Windows server 2008r2
    Apache tomcat 7.0
    Oracle APEX 4.2.1
    Oracle APEX Listener 2.0
    I would like to insert a XML document into the database through an APEX restful web service. The POST into the web service in done with PERL. The following code will insert an empty record in a table with column of XMLType type.
    Perl Code
    use strict;
    use warnings;
    use LWP::UserAgent;
    use HTTP:Headers;
    my $headers = HTTP::Headers->new();
    my $url = "http://host:port:apex/<application_workspace>/<restfull service module>/<uri template>/
    my $sendthis = ('<?xml version="1.0" enconding="utf-8"?>
    <students>
    <row>
           <name>Mark</name>
          <age>30</age>
    </row>
    <./students>';)
    $headers -> header('Content-Type' => 'text/xml; charset=utf-8');
    my $request = HTTP:Request->new('POST', $url, $headers, $sendthis);
    $request-> protocol('HTTP/1.1');
    my $browser = LWP::UserAgent->new();
    my $response = $browser->request($request);
    my $gotthis= $response->content();
    my $the_file_data = $response->content();
    APEX restful service
    Method: POST
    Source type: PL/SQL
    MIME Types allowed: blank
    require secure access: none
    source:
    {declare
    doc varchar2(32000);
    begin
    insert into table <column name>
    values(doc);
    commit;
    end;
    Table code
    { create table <tablename>
    (column name XMLType>);
    The above code will insert an empty column into the table.
    Any ideas why?

    It's a really bad idea to assemble XML using strings and string concatenation in SQL or PL/SQL. First there is a 4K limit in SQL, and 32K limit in PL/SQL, which means you end up constructing the XML in chunks, adding uneccessary complications. 2nd you cannot confirm the XML is valid or well formed using external tools.
    IMHO it makes much more sense to keep the XML content seperated from the SQL / PL/SQL code
    When the XML can be stored a File System accessable from the database, The files can be loaded into the database using mechansims like BFILE.
    In cases where the XML must be staged on a remote file system, the files can be loaded into the database using FTP or HTTP and in cases where this is not an option, SQLLDR.
    -Mark

  • How to insert a math symbol in a pages document

    I have a nonstandard math symbol to insert inot a pages document. Please explain how to do it.

    If it is really non-standard, like not in Unicode, then you would have to use an image.  For things in Unicode, try an app like Cymbol or search the app store for "equation".

  • How to insert an HTML link into a page

    Hello,
    We have a list of documents in a external document management system. We would like to present the list of documents to the user for retrieval from within any SRM HTML page.
    I was thinking of two different approaches:
    1) I would like to be able to insert an HTML link to a URL of documents for display to the end user.
    2) Alternatively, we might want to inject some javascript into the screen to handle the presentation of the links.
    We would like this functionality to work on any of the screens within SRM as global functionality.
    Any suggestions on how to customize SRM to handle this functionality request?
    (Will reward points very quickly)
    Thanks
    Edited by: Aaron Jack on Feb 15, 2008 7:02 PM
    Edited by: Aaron Jack on Feb 15, 2008 7:03 PM

    Hi,
    My project has a requirement to show URL in Bid Invitation screen. In turn, when user clicks that hyperlink, it will pop-up a web dynpro screen.
    Maybe this is the same with your need.
    In case this is the same, the trick is to define an additional field in bid invitation custom header with customized data element and customized domain.
    Then, defined conversion exit for the domain with javascript line such as "<html> bla bla </html>" to pop-up the web dynpro screen in modal dialog.
    The result will be as what I have above.
    Hopefully this can help you.

  • How to insert an username from the login page to the form page

    Hi friends,
    I created one database apex application in which it consist of three pages...
    1)login page----->1
    2)form page along with report page(in same page) i.e. i created a report region within a form region
    3)form page(this page appears when i click the edit option in my previous report page
    (i.e.) my 3rd form page depends upon my 2nd report page, as soon after i click the edit option of each and every row in my report which is in 2nd page it has to go to the corresponding 3rd form page for making an updations in each and every row...
    I have created my above listed applications....
    But the scenario for me is since the login page contains two fields, that is
    user name:
    password:
    so i will be giving my name in the user name and also respective PW for accessing to my 2nd and 3rd page in my application...
    Since my 2nd form page consist of following fields like
    *) user name---------->
    *) assigned to
    *) status
    *) start date
    *) priority
    so my requirement over here is soon after i logging into my application through the user name and PW into second page, while coming to the second form page
    my user name field in my 2nd form page has to get inserted automatically with the user name that i have entered in the login page...
    example: my user_name in login page is :harry
    after going into the second form page with the user name "harry"
    the field of my 2nd form page "username" has to get automatically generated with the name "harry"
    Whether it is possible friends to do this in my application....i doesn't have any idea of it...Kindly help me friends to solve my scenario...please explain each and every steps in detailed manner...
    Since the user_name: harry, is of I got from the admin side as a developer for the workspace......
    Thanks in advance
    Harry....

    Hi Karthik,
    I made the following changes that you said, but there is just a one change in it...
    You told these changes
    Source Used: always, replacing any existing values in session state.
    Source Type: Database column
    Source value or expression: (respective column name)
    and in Default: u need to give-----> &APP_USER.(exactly the same including the full stop)....
    Thanks for your help Patel....I just worked and inserting for me in table of the corresponding user name who login.....

  • How to insert a Flash SWF into my page

    I am using GL6 on an Intel MAC running 10.5.6.  I have a Flash file I created using Flash CS3 and want to have it appear within my GL page.  However when I try to insert the file into the site window, I get the error message: myfile.swf could not be updated. Do you want to continue anyway?
    How do I get the SWF file into the page?
    Thanks.

    You can try to use my flash action original made to avoid the IE Eolas problem
    It wont give you a preview (flash only show in browser)
    It was made in GL5 and shud works in all newer versions
    http://www.jart.dk/jgom/golive/golive-actions/swfobject.html
    If neither GL's nativ or my action works it may be somthing with your flash

  • How to sent document directly to email in pages?

    In word or openoffice one has the option (right button click, or in the menus) to directly sent the open document to a email recipient. How can i do the same in Pages?

    well, that's not entirely true. You can send a pdf to mail directly, at least in pages 2, part of iWork'06 and under Tiger.
    Choose print. in hte lowerr left corner of the screen will be a roll down menu for PDF. One of the selections in the roll down menu is to mail the pdf, which will generate a pdf file that you can email.
    I don't know if there is a limitation on the Pages version or the Operating System version, but try it and see if it will suit your needs.
    dwb was right though, pages will not email a Pages document to a recipient so they can open and edit it in Pages directly from within the program. Pages documents are not quite the same format as Word documents. You would have to save the document, compress the file and then email it.
    Gerry.

  • How to insert a section break without a page break on Pages 5? Is it possible?

    I would like to begin a page with a page-wide paragraph, then continue with multiple columns. Can I insert a section break and stay on the same page, making the second section three columns? I haven't found a way to do that, and it seems it's not that unusual a format? It was easy with Pages 4.

    You mean a Layout Break.
    This is one simplification in Pages 5.
    Just select the paragraphs and change the number of columns in the Format sidebar.
    The only problem is vertical and horizontal indents, there are none.
    Peter

  • Question regarding DocumentDB RU consumption when inserting documents & write performance

    Hi guys,
    I do have some questions regarding the DocumentDB Public Preview capacity and performance quotas:
    My use case is the following:
    I need to store about 200.000.000 documents per day with a maximum of about 5000 inserts per second. Each document has a size of about 200 Byte.
    According to to the documentation (http://azure.microsoft.com/en-us/documentation/articles/documentdb-manage/) i understand that i should be able to store about 500 documents per second with single inserts and about 1000 per second with a batch insert using
    a stored procedure. This would result in the need of at least 5 CUs just to handle the inserts.
    Since one CU consists of 2000 RUs i would expect the RU usage to be about 4 RUs per single document insert or 100 RUs for a single SP execution with 50 documents.
    When i look at the actual RU consumption i get values i don’t really understand:
    Batch insert of 50 documents: about 770 RUs
    Single insert: about 17 RUs
    Example document:
    {"id":"5ac00fa102634297ac7ae897207980ce","Type":0,"h":"13F40E809EF7E64A8B7A164E67657C1940464723","aid":4655,"pid":203506,"sf":202641580,"sfx":5662192,"t":"2014-10-22T02:10:34+02:00","qg":3}
    The consistency level is set to “Session”.
    I am using the SP from the example c# project for batch inserts and the following code snippet for single inserts:
    await client.CreateDocumentAsync(documentCollection.DocumentsLink, record);
    Is there any flaw in my assumption (ok…obviously) regarding the throughput calculation or could you give me some advice how to achieve the throughput stated in the documentation?
    With the current performance i would need to buy at least 40 CUs which wouldn’t be an option at all.
    I have another question regarding document retention:
    Since i would need to store a lot of data per day i also would need to delete as much data per day as i insert:
    The data is valid for at least 7 days (it actually should be 30 days, depending on my options with documentdb). 
    I guess there is nothing like a retention policy for documents (this document is valid for X day and will automatically be deleted after that period)?
    Since i guess deleting data on a single document basis is no option at all i would like to create a document collection per day and delete the collection after a specified retention period.
    Those historic collections would never change but would only receive queries. The only problem i see with creating collections per day is the missing throughput:
    As i understand the throughput is split equally according to the number of available collections which would result in “missing” throughput on the actual hot collection (hot meaning, the only collection i would actually insert documents).
    Is there any (better) way to handle this use case than buy enough CUs so that the actual hot collection would get the needed throughput?
    Example: 
    1 CU -> 2000 RUs
    7 collections -> 2000 / 7 = 286 RUs per collection (per CU)
    Needed throughput for hot collection (values from documentation): 20.000
    => 70 CUs (20.000 / 286)
    vs. 10 CUs when using one collection and batch inserts or 20 CUs when using one collection and single inserts.
    I know that DocumentDB is currently in preview and that it is not possible to handle this use case as is because of the limit of 10 GB per collection at the moment. I am just trying to do a POC to switch to DocumentDB when it is publicly available. 
    Could you give me any advice if this kind of use case can be handled or should be handled with documentdb? I currently use Table Storage for this case (currently with a maximum of about 2500 inserts per second) but would like to switch to documentdb since i
    had to optimize for writes per second with table storage and do have horrible query execution times with table storage because of full table scans.
    Once again my desired setup:
    200.000.000 inserts per day / Maximum of 5000 writes per second
    Collection 1.2 -> Hot Collection: All writes (max 5000 p/s) will go to this collection. Will also be queried.
    Collection 2.2 -> Historic data, will only be queried; no inserts
    Collection 3.2 -> Historic data, will only be queried; no inserts
    Collection 4.2 -> Historic data, will only be queried; no inserts
    Collection 5.2 -> Historic data, will only be queried; no inserts
    Collection 6.2 -> Historic data, will only be queried; no inserts
    Collection 7.2 -> Historic data, will only be queried; no inserts
    Collection 1.1 -> Old, so delete whole collection
    As a matter of fact the perfect setup would be to have only one (huge) collection with an automatic document retention…but i guess this won’t be an option at all?
    I hope you understand my problem and give me some advice if this is at all possible or will be possible in the future with documentdb.
    Best regards and thanks for your help

    Hi Aravind,
    first of all thanks for your reply regarding my questions.
    I sent you a mail a few days ago but since i did not receive a response i am not sure it got through.
    My main question regarding the actual usage of RUs when inserting documents is still my main concern since i can not insert nearly
    as many documents as expected per second and CU.
    According to to the documentation (http://azure.microsoft.com/en-us/documentation/articles/documentdb-manage/)
    i understand that i should be able to store about 500 documents per second with single inserts and about 1000 per second with a batch insert using a stored procedure (20 batches per second containing 50 documents each). 
    As described in my post the actual usage is multiple (actually 6-7) times higher than expected…even when running the C# examples
    provided at:
    https://code.msdn.microsoft.com/windowsazure/Azure-DocumentDB-NET-Code-6b3da8af/view/SourceCode
    I tried all ideas Steve posted (manual indexing & lazy indexing mode) but was not able to enhance RU consumption to a point
    that 500 inserts per second where nearly possible.
    Here again my findings regarding RU consumption for batch inserts:
    Automatic indexing on: 777
    RUs for 50 documents
    Automatic indexing off &
    mandatory path only: 655
    RUs for 50 documents
    Automatic indexing off & IndexingMode Lazy & mandatory path only:  645 RUs for
    50 documents
    Expected result: approximately 100
    RUs (2000 RUs => 20x Batch insert of 50 => 100 RUs per batch)
    Since DocumentDB is still Preview i understand that it is not yet capable to handle my use case regarding throughput, collection
    size, amount of collections and possible CUs and i am fine with that. 
    If i am able to (at least nearly) reach the stated performance of 500 inserts per second per CU i am totally fine for now. If not
    i have to move on and look for other options…which would also be “fine”. ;-)
    Is there actually any working example code that actually manages to do 500 single inserts per second with one CUs 2000 RUs or is
    this a totally theoretical value? Or is it just because of being Preview and the stated values are planned to work.
    Regarding your feedback:
    ...another thing to consider
    is if you can amortize the request rate over the average of 200 M requests/day = 2000 requests/second, then you'll need to provision 16 capacity units instead of 40 capacity units. You can do this by catching "RequestRateTooLargeExceptions" and retrying
    after the server specified retry interval…
    Sadly this is not possible for me because i have to query the data in near real time for my use case…so queuing is not
    an option.
    We don't support a way to distribute throughput differently across hot and cold
    collections. We are evaluating a few solutions to enable this scenario, so please do propose as a feature at http://feedback.azure.com/forums/263030-documentdb as this helps us prioritize
    feature work. Currently, the best way to achieve this is to create multiple collections for hot data, and shard across them, so that you get more proportionate throughput allocated to it. 
    I guess i could circumvent this by not clustering in “hot" and “cold" collections but “hot" and “cold"
    databases with one or multiple collections (if 10GB will remain the limit per collection) each if there was a way to (automatically?) scale the CUs via an API. Otherwise i would have to manually scale down the DBs holding historic data. I
    also added a feature requests as proposed by you.
    Sorry for the long post but i am planning the future architecture for one of our core systems and want to be sure if i am on
    the right track. 
    So if you would be able to answer just one question this would be:
    How to achieve the stated throughput of 500 single inserts per second with one CUs 2000 RUs in reality? ;-)
    Best regards and thanks again

  • How to insert script?

    I am trying to figure out how to insert a script into my iWeb page -- the source says to cut and paste the text below, but it doesn't work, it just pastes as text, not as a working script. help! Thanks
    <script type="text/javascript"
    src="http://www.hebcal.com/shabbat/?geo=zip;zip=59801;m=72;cfg=j">
    </script>
    <noscript>
    <!-- this link seen by people who have JavaScript turned off -->
    Shabbat
    Candle Lighting times for Missoula, MT 59801
    courtesy of hebcal.com.
    </noscript>

    swei0009:
    Welcome to the Apple Discussions. You'll have to do that post-publishing. After you've published to your .Mac account or to a folder if you're using another server you'll have to locate the html file for the page you want to enter the code and open it with a text editor and enter the text. I'm not sure where this would be entered in the page but possible just before the < / body> tag. You can go to Varkgirls iWeb FAQ site for more info. - http://www.varkgirl.com/Varkgirl/Home.html
    Do you Twango?

  • Script to get the first word on each page

    Is there a script that would make a list of the first word of each page (or, preferably, create a text box on each page and place the next page's word in that)? My document's all in one story with one text frame on each page, although there are several other frames (header, page number) applied through master pages.

    You wrote:  I changed the numbers to "8.0425in",  "4.5681in",  "8.1275in", "5.4319in" and it mostly worked - it placed the box at exactly 5 inches (X) and at 8.085 inches (Y) instead of 4.5681 inches. Any idea why?
    No. I cannot reproduce the error you describe. I assume you've checked your numbers very closely in the script--I don't normally indicate measurements as strings.
    you wrote: Something wasn't working with the styling - it kept freezing the program -
    What do you mean by "freezing the program"? Is there a specific error message?
    The paragraph style is named "firstword" and is all lowercase letters?
    firstword paragraph style is NOT in a paragraph style group, right?
    Is the first word on any page too long when formatted with the paragraph style "firstword" to fit in the text frame?

  • How to locate the first insertion point on every page?

    I need to paste some same anchored objects on every page for exporting RTF format.
    So I need to locate the first insertion point on every page.
    Then, I use the code below (make a simple example):
    for(i = 0; i < app.documents[0].pages.length; i ++){
         app.select(app.documents[0].pages[i].textFrames[0].insertionPoints[0])
         app.paste()
    But when a file has a very long table spread over several pages, the location operation will select the insertion point before the table --- the starting point of the table.
    For instance, a table start on page 3 and end on page 10
    app.documents[0].pages[4~10].textFrames[0].insertionPoints[0])  can't select the first insertion point from page 4 to page 10. (In terms of scripting, the insertion point exists before the very long table starting on page 3.)
    How can I solve the problem? Thanks in advance.

    I dont know exactly what you are trying to do but you can try this. If you have table which runs trough multiple pages, you can first divede this tabel, that cells on separate pages would represent stand alone table. Than you can fit textframe to this table. When addressing indention poin you will get right position.
    In your case when table start at 3rd and ends on 10th page you would get 8 tables in 8 textframes on its own page. If textframes are linked and table is smaller than textframe you will have problem when addressing first insertion point on 4th or any other page. That why you should fit textframe to table:
    var bl=app.activeDocument.pages[1].textFrames[0].insertionPoints[0].baseline
    var tf=app.activeDocument.pages[1].textFrames[0];
    var gb=[tf.geometricBounds[0],tf.geometricBounds[1],bl,tf.geometricBounds[3]];
    tf.geometricBounds=gb;
    Now when you set
    app.activeDocument.pages[1].textFrames[0].insertionPoints[0] you will get position before table or
    app.activeDocument.pages[1].textFrames[0].insertionPoints[-1] you will get position after table

  • How to insert blank page into pages document when using word processing mode?

    I've recently created a 50+ page document using Pages '09. I started the document using word processing mode. Now, when I view in thumbnail mode and try to insert a blank page somehwere in the middle of the document, it won't allow me to select where I want. It just selects all the pages, as thought they are one section. I believe this is because I am in word processing mode. My question is, can I convert the document to layout mode so that each page represents it's own section, without losing what work I've already done? And if so, how?
    The document is entirely text boxes and images, so I don't have any need for word processing space. I just need new pages to act as blank templates for the text boxes and images I create.
    Is it possible to keep all my work as is, and convert the document to layout mode vs. word processing mode?
    Thanks!

    It just selects all the pages, as thought they are one section.
    That's because they are one section. You must insert section breaks to separate them. There is no need to use page layout which does make each page a separate section. You have to manually add each page & use text boxes or other containers for the text & link the text boxes.

  • How do you insert another PDF document into an existing PDF page

    Here's some background.  I used to use Acrobat 5 (I know it's really old but it worked great for my needs, but it's time to upgrade).  Say I have an existing 1 page PDF document (an Invoice for example).  Sometimes in Excel I create additional supporting details/calculations/etc that I must place onto the Invoice.  In the past I would print my Excel document to PDF using PDF Broadgun (great tool!) - and I'd like to keep doing this.  Then I would go into Acrobat 5, open up my 1 page Invoice PDF document, then I'd use the Form tool, insert Icon, and select my "supporting" PDF document right onto the 1st page.  Then, as needed, I could resize it and place it anywhere on the existing Invoice/PDF 1 page document that I started with, and the resolution was great (i.e. no "grainy" appearances, etc).
    I've now upgraded to Acrobat XI Pro (well, technically I'm trialing to make sure it'll will meet my needs - so far so good, until I ran into this).  I have tried copying the Excel data directly into my PDF Invoice document, but it often times makes the object super large (way off the page left to right) and then I have to resize it (substantially reducing the size) in order to make it fit the page.  This resizing the causes the text to appear "grainy".
    So pretend that my original Invoice/PDF 1 page document took up the top 1/2 of the page.  Then in Excel I create some backup which is say 5-10 lines of calculations.  How can I get the Excel backup as an Image into my original 1 page document (and on 1 page)?  The only work around that I've found so far is to insert it as the last past, then highlight the new stuff from Excel, cut and copy it onto page 1 (these seems like several extra steps in my eyes, but it does work).
    I also want to avoid using screen snip-it, snagit, and various other tools for the following reasons:
    1.  I don't want to remove the grid lines within Excel (i.e. when you print from Excel the grid lines do not print by default)
    2.  I use PDF Broadgun to generate a PDF (i.e. electronic print) and then the data/document looks just like I'd want it to look if I had physically printed it
    Any thoughts?  Many thanks in advance for the help too.
    Other Details:  Windows 7 Pro, company/business use

    I don't see what the problem is with printing to PDF using the Adobe PDF printer as you did with the other tool. Then open your new Excel PDF and do the same process as before (assuming it worked for you). Just go to the Tools>Interactive and add a button field (I assume this is what you did before) and put the file there. At least give it a try as I think that is what you said you used to do.

  • How to insert page in Pages 5 document?

    In previous versions of Pages, inserting a new page into an existing document was a trivial operation. In Pages 5, it's a total mystery. I opened a template containing text and images and played around with it to familiarize myself with the Pages 5; and somewhere along the line, I clicked on the Insert menu and discovered that the first menu option was "Page". So to insert a new page, one simply selects Insert > Page, right? Wrong! I passed this tip on to another Pages user who was unable to find the "Page" command in the Insert menu. I then tried to figure out how this option had become available in my test document, but I failed miserably. No matter what I do, I cannot figure out how to insert a new page in an existing Pages 5 document. Can someone please tell me how to do this? Thanks!

    ⌘ is known as the Apple key, pretzel key or sometimes the propeller.
    In Unicode it is encoded at U+2318 ⌘ place of interest sign
    Outside of Apple circles it is called the Bowen knot:
    You used to be able to get it by typing control q in the Chicago font , but that doesn't work with Unicode fonts.
    Peter

Maybe you are looking for