Get current page of crossReferences in index

How to get the cu
rrent page or insertionPoint of crossReferences in index

In case of
pageReferences there is property called 'sourceText' to get the insertionPoint but in case of crossReferences there is no such property. Is there any other way to get insertionPoints for crossReferences?

Similar Messages

  • Get current page title sandbox solution

    Hi
    What is the best way to get current page title in sandbox visual web part code behind?
    I observed SPContext.Current.Item is not defined so I cannot use SPContext.Current.Item["Title"].
    I get title and sate creation page...
    Thanks

    Hi,
    I suggest you follow this blog to build a new sandboxed solution for a test to see if it will work in your environment:
    http://social.technet.microsoft.com/Forums/en-US/988c573f-1caa-42ea-b55a-740627bc351f/get-current-page-title-sandbox-solution?forum=sharepointdevelopm
    Feel free to reply with the test result.
    Best regards
    Patrick Liang
    TechNet Community Support

  • To get Current Page No. at Report 6i Runtime

    Hi to everybody,
    I wish to know how can i get the current pageno at runtime in report 6i ,
    i want to display data at end page of the report on a condition that it is the last page of the report. i can get the last page but not the current page no at runtime.

    You should probably ask this in the Reports forum at Reports

  • How to get Current Page(region)  Name/ID   in OA 11i

    We need to get the name or id of the current page, and based on the pagename, we retrieve configuration to launch specific web service.
    pageContext.getPageLayoutBean().getPageFunctionName() is no sufficient. Since one page function sometimes contain multiple pages (eg, each individual page maps to one train node, all the train nods maps to one page function).
    are there OA apis that I can use to get the Current Page name in controller?
    I tried pageContext.getParameter("CurrrentPage") , it works great for iExpense application. However, in iRrecuiment, the parameter "CurrentPage" was not set at all.
    Please advise.

    First let me explain what I want to achieve:
    I am writing one region (choice list displays the webservices based on the container region) along with the controller, and that region will be embed inside any OA application pages via OA personalization. On the runtime, I need to detect the current page (container region) name. Then, based on the configuration stored in my table, I need to query out the web services endpoint to call.
    Now let me answer your question:
    For example, OIEMAINPAGE.xml (OIEMainPageContainer) contains OIEReview, OIEDetail, OIEGeneral, etc, each inner region will be rendered as a page when you click the train node or link of other page. (from end user perspective)
    If I call pageContext.getPageLayoutBean().getPageFunctionName() on those inner regions, it will return OIEMAINPAGE, so I can not figure out which region are rendered (displayed) on runtime. (My region are embed inside OIEMAINPAGE pagelayout region )
    If I call pageContext.getParameter("CurrrentPage"), it will return (OIERview, OIEDetail etc), which are exactly what I want.
    However, I have to make sure my code works for other OA application, and I already noticed that some application does not set parameter CurrentPage, instead they may set parameter Page. So, I want to know if there is API provided by OA or fnd team to return current container region (page), very similar to Form Block name.
    In form, One Form function could have multiple Blocks, and they are not displayed at same time.
    In OA, one function could have multiple inner container region, and they are not displayed at same time.
    In form, One Form function could have mutlple Blocks, and they are not displayed at same time.
    In OA, one funciton could have mulple container region, and they are not displayed at same time.

  • Get current page or page of selected item

    Hello,
    I' d like get the current page in Indesign or (if this is not possible) the page of a selected object.
    How could I implement this?
    var page = app.selection[0].page;
    does not work.
    Thanks and kind regards,
    mannyk

    Another way getting that done is based upon what is your current
    selection.
                    var myPg=getPage(app.selection[0]);
                    alert (myPg.name);
    function getPage(theObj)
    if (theObj.constructor.name == "Page") return theObj;
    if (theObj.constructor.name == "Character" || theObj.constructor.name ==
    "Paragraph")
    return getPage(theObj.parentTextFrames[0]);
    if (theObj.constructor.name == "Application")
    // Frame is on an unexpected place...
    alert ("Can't able to find the page");
    exit(0);
    return getPage(theObj.parent);

  • Get current page details from within dynamic page

    Is there any API or any other way of getting the current page id that the dynamic page portlet is being called from?
    Thanks in advance.

    I've tried the following:
    theLink varchar2(1000) := 'http://'||owa_util.get_cgi_env('HTTP_HOST')||owa_util.get_cgi_env('SCRIPT_NAME')||owa_util.get_cgi_env('PATH_INFO')||'?'||OWA_UTIL.GET_CGI_ENV('QUERY_STRING');
    But that gets me the URL of the dynamic page portlet not the page the portlet is on?

  • IS-U print workbench - User exit - to get current page number

    Hi,
    I have a doubt in IS-U print workbench where in I need to get the current page number which is being processed inside the user exit of the application form.
    I have a user exit called Z_EXIT_150 and here I have a subroutine which is inside the LOOP DOC_ITEM …ENDLOOP.
    Inside the subroutine, I need to get the current script page number.
    There is an option of getting the current page as &PAGE& inside the Script but I need to know the page number inside the exit.
    Do you have any idea of getting the current page number?
    Thanks and Regards,
    Sakthi.

    Hi Sakthi,
    I have also had this problem while working in IS-U Print Workbench but was also unable to solve.  I tried looking into the output_text that is called when reaching an object that references SAPSCRIPT-FORMPAGES but I too could not find a way to save PAGE to a variable for later use.
    The only idea I can think of, although I have not tried, would be to place some sort of counter variable in the BUILD_DOCUMENTS and increment the counter each time there is a successful printout of a header logo or some other object that you expect to see printed on each new page - that way maybe you can determine later in the exit processing what page # you are currently in. 
    I hope this has helped some.  I would be really interested to hear if someone else has a solution of how to access items in the SAPSCRIPT structure from outside of the SAPscript code.
    Regards,
    Geoff

  • Get current page url

    I need to grab the current page url. What is the pl/sql api to do this?

    You find it in the page_url field of the portlet_runtime record in the wwpro_api_provider package.

  • Get Current page number of PDF file

    Hi,,
    I am using acrobat plugin(SDK) in VB.Net while am nevigating in the
    PDF file i want get the current viewing page number of that
    PDF file and Display in Lable/Text....
    In abouve screenshot am marked the SDK display page number that i want read by VB.NET and display in my application..

    ..... perhabs in connection with this;
    http://forums.adobe.com/message/4587057#4587057
    However, full Adobe Acrobat is needed for both (not Reader only).
    HTH, Reinhard

  • Get current page address and query string into Flex

    Hello!
    How can I get the current address in the address bar into
    Flex please? (As $_SERVER would in PHP for example)
    Thank you!

    "M*A*S*H 4077" <[email protected]> wrote in
    message
    news:gob8lp$ke1$[email protected]..
    > Aha, so there is no predefined Class in Flex for this?
    >
    > Thank you, Amy!
    That is the class. You might want to look at FABridge,
    though, because I
    think it is designed to help ease these things.

  • Getting current page/community

    Hi all,
    is there a way to query for the current community page the user is in, using Plumtree core APIs?
    thank a lot
    Mauro

    Hi Randy,
    I can explain that. The actual page ID is -239, but creating the navigation links would be less performant if we queried for the community home page id. Instead of doing that we just use pageid=0, the server knows to always return the home page of the community when pageid = 0.

  • Firefox is displaying yesterday's web pages; I need to refresh to get current pages. How fix?

    Every web site is displaying yesterday's pages--this applies to the entire site--hitting refresh correct this, but that's not a practical long-term fix. Anybody have any ideas?

    Again, and as you say, Tyler, this issue isn't whether this problem can be kept after as a bit of housekeeping, but whether it should arise at all. This doesn't happen with Explorer, and it shouldn't with F/F.; it's obviously a hole in the programming that can--and I hope will be--fixed. I'm looking forward to hearing from the F/F team that it has been.

  • How to programmatically set the value to current Page layout property?

    Hi,
    How do I set any text value to the current page layout [comment] property and save it.....here my current page is using a custom page layout called spPageLayout1
    To be very much generalized how I can set and save any value to current page property programmatically....on load event I need to set the value.
    It is a publishing page layout.

    Hi,
    According to your post, my understanding is that you want to set the value to current Page layout property.
    To get current page property, you can refer to:
    How to get current Pages details in SharePoint2010 publishing site
    Get Content Field Value in Article Page
    To get current page layout property, you can refer to:
    PublishingPage.Layout Property (Microsoft.SharePoint.Publishing)
    PageLayout.Title Property (Microsoft.SharePoint.Publishing)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Get referenced pages of every pageReference in Index

    Hi there!
    I'm working on a script that attempts to review all page references on each topic of an index in order to remove duplicates and build page ranges...
    So far I get the referenceType for each pageReference, but it only returns the 'referenceType' and not the current page as the Indesign 8 Object Model says:
    PageReferenceType.CURRENT_PAGE  (Read Only)
    Data Type: number , Value: 1668444263
    Adobe InDesign CS6 (8.0) Object Model
    The page on which the index entry is located.
    The followin script write in console each topic's name and its references (as 1668444263 if is of type CURRENT_PAGE), and I would like to get the real current page number...
    Any help really appreciated!!
    var index = app.documents[0].indexes[0];
    for (i = 0; i < index.topics.length ; i++)
        $.write("Topic: " + index.topics[i].name + "\n");
            for (t = 0; t < index.topics[i].pageReferences.length ; t++)
                var pRef = index.topics[i].pageReferences[t].pageReferenceType;
                $.write(pRef + "\n");

    Well... The script I'm trying to build kinda do the same of Kahrel's but in ID's own index, not the one generated. Mostly because I'm editing the index constantly for revision and at the same time editing the body text and it feels creepy to 'clean' those entries in that generated script and keep ID's index 'dirty'.
    The really weird thing I'm facing right now is that ID's 'book' option is not clear enough, and so far I've found that every document in a book has it's own index and somehow ID shares its topics and entries so that you can view the total index while working in any document of the book [although it takes its time to refresh…]. In a scripting point of view... you cannot get all entries across all book's documents, and that make entries processing a tough job... scriptingly speaking...
    For now I'm trying to assign key-labels so that the topics and their entries are easily retrieved and processed avoiding as many loops as possible…
    If u've found of know about any other way for working with indexes on books, please share and spare my head hitting the wall at nights…

  • How to get the current page URL

    HI All
    I am working in oracle apps 4.0
    I have one page called history in that i have one page item called Application url. My application id is 122 but its a copy of application 106
    How to get the current page url for the page item.
    Any steps should be help ful
    Thanks & Regards
    Srikkanth.M

    I'm not 100% clear on what the requirement is from the description, however it does sound like you are making things unnecessarily complicated.
    If you want permanent/ID-independent links then use application and page aliases.
    so here we used to display the url like this: <tt>{noformat}http://81.131.254.171:8080/apex/f?p=122{noformat}</tt>
    Do you mean that the URL is displayed like that? If so that doesn't seem particularly helpful. How is anyone supposed to know what it is?
    There are many ways to provide links in APEX&mdash;including lists and nav bars.
    Where the link is to another resource located on the same server (such as another page in the same app, or a different app in the workspace), relative addressing can be used, making it unecessary to include scheme, domain and port information in the URL. For example, if the page to be linked to has a page alias <tt>ABOUT</tt> in an application with alias <tt>UNITY</tt>, and the apps share an authentication scheme/cookie to permit shared sessions, then the link URL is simply
    f?p=UNITY:ABOUT:&APP_SESSION.

Maybe you are looking for

  • Can't Install Creative Cloud Desktop on Mac OS X 10.7.5

    If I try to install it on my default user, I get an error 13.  Specifically: "cookies dir: cannot make folder / cookies: permission denied (error 13)" If I try to install it on my Administrator user, I get an error A12E6 that says there's a problem w

  • Do the Templates and Themes for iBooks Author include the flip page animation?

    Well, this question is concern about something similar asked by romondodavis on 28-mar-2012  (https://discussions.apple.com/message/17981772#17981772) and also answered by K T. So my question refers to know if when buying the Templates and Themes for

  • Problems installing contacts to Nokia N8 using Nok...

    Hi everyone I cannot for the life of me get my contacts list which I backed up from my Nokai N82 onto my Nokia N8-00. The file is a straight forward .nbu file, which I have tried to upload through Nokia suite, directly to the phones harddrive, and SD

  • ORA-19690 while Duplicating  database

    Hi all, While duplication database sehd to Test1 is done successfully,but duplication database sehd to Test2 RMAN is giving below error: released channel: aux4 RMAN-00571: =========================================================== RMAN-00569: ======

  • Microsoft Applications not working.

    When I click on any iwork microsoft applications (word, excel, powerpoint) there is a question mark covering the icons and they will not open. Does anyone know how to fix this? Thank you, Nicole