Dynamic links based on page's content

Hi folks,
I would like to implement a functionality into my application which would dynamically display "smart links" to other pages within application based on CONTENT of current page (or cursor position in field). I'm only at a starting point right now, but does anybody worked on something similar?
An easy example what I mean:
You have an application for book shop, and you're on page, where you're editing a specific book. And for example if user will be in field BOOK_TYPE, then a dynamicaly created smart link would display a links to other pages like: "Add a new book type ...", "Modify list of Book Types", ... in some "special left menu". Then when user changes a position, some other links will display.
Also whe user will be in page for maintaining "Book Types" one of a dynamic links could be "Add a book of this type ..." => which will point to Add new Book page, but Book Type will be prepopulated
Above I want to have as much generic as possible, and maintained in seperate application.
Any ideas are more than welcome.
Or any example where is something similar in use?
Many thanks,
Tomeo

Hi,
The reason you get 1-1 ,2-2 in debugging is because, the pages are added dynamically,depending on the length of your main window.Which doesnt get captured initially,but can be used in text element.
As far as totalling on every page and at the last page is concerned ,try teh following link:
link: [http://wiki.sdn.sap.com/wiki/display/ABAP/Togetsubtotalsoneachpagein+smartforms]

Similar Messages

  • How to create dynamic links in one page with div panels

    HI
    I am using Dreamweaver CS3 with developer toolbox.
    I have a PHP page where I have two separated tabbed div
    panels.
    I want to show dynamic summary of data from database in one
    panel.
    In the other panel I have a table with dynamic text.
    I want to click on a link in the first panel with the summary
    data and see the whole record in the other panel table.
    How do I tell the dynamic link to send the wuery and show the
    data in the detailed panel without having to reload the whole page.
    I hope I am clear enough....
    Idan Agmon

    I asked something similar to this last week and was told by
    others much more experienced that it couldn't be done. Hopefully
    your quest will yield something.

  • Dynamic text based on page number

    Hi Everyone,
    I'm trying to place a dynamic text on an hrform. The form is displaying wage types and when there are more than 2 pages, the values on the first page need to be summerized into a variable with the text subtotal in front of it. When we are on the last page, the text total with the total of all the wagetypes needs to be displayed. I tried to use the sfsy-page and sfsy-formpages variables to know on which page i am but the strange thing is that when i use in in program lines and i use debugger to look into the variable i get this:
    First page:
    sfsy-page = 1
    sfsy-formpages = 1
    Second page:
    sfsy-page = 2
    sfsy-formpages = 2
    But when i place it into a text element to test i get 1 of 2 on page one and 2 of 2 on page two. How is this possible?
    Also i want to display a subtotal of the displayed wagetypes per page. Anyone an idea how i can do that?
    Thank you!
    Lars

    Hi,
    The reason you get 1-1 ,2-2 in debugging is because, the pages are added dynamically,depending on the length of your main window.Which doesnt get captured initially,but can be used in text element.
    As far as totalling on every page and at the last page is concerned ,try teh following link:
    link: [http://wiki.sdn.sap.com/wiki/display/ABAP/Togetsubtotalsoneachpagein+smartforms]

  • Adding Page View Web Part with dynamic URL based on visited mysite user

    Problem:
    I want to add an iframe (using Page View Web Part for example) on all mysite users front page (person.aspx) with following address:
    http://webservice/calendar?user=name
    The property "name" represents a dynamic value based on which person the user is visiting. Hence if i open "Tom Hanks" mysite profile, the iframe will show content from http://webservice/calendar?user=Tom%Hanks
    (This is a custom made calendar from Domino)
    Any suggestions welcome.
    -Terje

    Hi,
    The Page Viewer Web Part is basically an HTML IFRAME. We can use a Content Editor Web Part with an IFRAME and a little JavaScript to meet your requirement.
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/d9a06d93-93d2-4340-a491-c7d0d5d4fdf3/how-to-dynamically-change-link-in-page-viewer-web-part-sharepoint-2010?forum=sharepointgeneralprevious
    More information:
    http://stackoverflow.com/questions/20981226/sharepoint-2013-get-current-user-javascript
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Integrating Wordpress into Muse need dynamic height based on content with cross domain

    Since Muse doesn't currently support Blogs and Wordpress integration I have decided to use an iFrame.
    My goal is to have the height of the iframe dynamically change based on the content in my Wordpress blog. I understand this is a common issue with frames that are hosted on different domains.
    I am running into having to over compensate with a bunch of deadspace to allow enough room. Alternatively I get the horrible looking scroll bar.
    I have tried using cross site scripting, JQuery and postMessage but am having trouble figuring out how to put the proper code into Muse and Wordpress for them to communicate back and forth.
    Please, any help on this matter would be greatly appreciated.

    Abhishek,
    Thanks for your reply, however, it is not working with Muse. I added the Javascript to the head section and adjusted iframe and it displays as a small square in the upper left hand corner, unable to view the whole page.
    Inserted into head section --
    <script type="text/javascript">
       function resizeIframe(obj)
      obj.style.height = 0;
      obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
       </script>
    inserted as an html object --
    <iframe name="MycoSmooth" src="http://www.mycosmooth.com" frameborder="0" scrolling="no" id="iframe" onload='javascript:resizeIframe(this);' />
    Below is the result:
    The purpose is to have an independent website run the blogging capabilities, since muse doesn't directly support blogging as of yet.
    Since the site is on a different domain, I am running into cross domain issues and it won't get the height of the page. The methods that apparently work use php and I am unsure how that would work in muse, if at all.

  • Is Acrobat Pro right for us. We have an Employee Handbook that needs editing. Some is current pdf, some from an older version. Want to get all into one handbook, have the table of contents automatically adjust and link to specific pages from the ToC.

    Is Acrobat Pro right for us. We have an Employee Handbook that needs editing. Some is current pdf, some from an older version. Want to get all into one handbook, have the table of contents automatically adjust and link to specific pages from the ToC.

    You can download the trial version (http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html) to convert the PDF back to WORD if you do not have the original. The conversion may not be perfect, but it is typically better than starting from scratch. You may be lucky and get a good result. You might check the settings (in the save screen) to try retain format versus retain text flow. The format version can be a pain to edit since it creates a bunch of text boxes. The flow version may require you to reformat in WORD, but you likely would want to do that anyway.

  • Dynamic Link Column Based on Value

    I'm using Apex version 4.1.
    This is driving me nuts, I can't get it to work. I'm trying to create a dynamic link on a column (in a SQL report) based on the value. Here's my query:
    SELECT STRUCTURE_ENTITY_ID AS "Market ID",
    Structure_entity as "Market Name",
    CASE WHEN NVL2((select 'A' from PC_PAYROLL_DISTRIBUTION PD
    WHERE PROCESSING_YEAR = SUBSTR('2011-08',1,4)
    AND PROCESSING_MONTH = TO_NUMBER(SUBSTR('2011-08',6,2))
    AND PD.OPS_MARKET = SE.STRUCTURE_ENTITY_ID
    AND ROWNUM = 1),'Ready','Not Ready') = 'Ready' THEN '' ||'' ELSE 'Not Ready' END AS Status
    FROM STRUCTURE_ENTITY SE
    So when the value in that CASE statement equals 'Ready' then I need it to show the word Ready (in the Status column) as a hyperlink, otherwise it needs to show 'Not Ready' in normal text that's not clickable.
    The URL string I have in there DOES pick up the correct values for my parameters, but it stilll appears in the report as the whole string, and it's not clickable. Any help would be greatly appreciated!
    Thanks,
    Greg

    I see an a instead of <a and no </a> in this code.
    Oh, I guess your {a is <a ... B-)  Still no end tag, though.
    Edited by: InoL on Oct 7, 2011 2:27 PM                                                                                                                                                                                                                                                                                                                       

  • WPC - Dynamic List - Link to the page of an wpc_article

    Dear all,
    Im working with dynamic Lists to show a list view of my wpc_articles.
    In the default settings the elements of the list have a link directly to an article. Therefor the property "contentLink" is used.
    I wanna change this link to the page where an article is placed. So Im wondering:
    Is there anyway to get the path of a page from the article instance e.g. a property like "parentString" or something like that?!
    Thanks in advance.
    Greetings,

    Thanks for the answer.
    Guess i have to put everything I need in the article element so i do not need to show the page.
    Another question occured to me while I was doing that:
    When I navigate from a Dynamic List to an Element, it should be possible to navigate back and forth with the buttons I created using the history api.
    Instead of the "<a href..." in the default dynamic list I created an onclick event. Right now im trying to navigate to the article with its guid and the method "EPCM.doNavigate(...)" but until know i haven't been able to get it done.
    Is it even possible to reach that goal and in case it is am I on the right track or is there a better approach available?!
    Thanks in advance...
    Greetings,

  • Dynamic Form - Barcode on master page, only contents on specific page to be populated on barcode

    We have a dynamic form that grows as required. We have one barcode on the master page. As form grows to next page only the contents on that page (ie page 2) must be on the barcode on page 2 and page 1 content only on page 1. But if the form goes back to normal then the contents must not be on the barcode anymore.
    Could anyone assist on this problem please?

    Hi Brad ,
    For your issue, you can view the Upgrade Status page in Site Settings to verify that upgrade has succeeded for a site collection.
    To view upgrade status in Site Settings 
    1.Verify that the user account that performs this procedure is a site collection administrator.
    2.On the Site Settings page for the site collection, in the Site Collection Administration section, click Site collection upgrade.
    3.On the Site Collection Upgrade page, click Review Site Collection Upgrade Status.
    4.The Upgrade Status page for the site collection is displayed.
    For more information, see
    Manage site collection upgrades to SharePoint 2013
    Also you can  go to _layouts/15/reghost.aspx (Site Settings -> Site Actions -> Reset to site definition) and reset the master page gallery to site definition version.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Dynamic form: Getting page 2 content to flow right after page 1 content

    I have created a two-page form--if the content expands on page 1, the 'overflow' goes to page 2, HOWEVER the page 2 fields always starts on a new page, (in this case page 3)...not what I want.
    How do I tell the page 2 content to flow right after the page 1 content?
    Thanks!
    Sandy

    You should have 1 page form instead of two. The trick is to get all your form objects in your page 2 wrapped by a flow subform in order for them to flow as the subform above it grow.

  • Can you create a javascript dynamic menu based on security data in oracleDB

    I am looking for a dynamic javascript menu that is generated based on the user role... basically i get the user role from ldap and then I have a Security table in oracle data base that has the permission info and i want to generate my dynamic menu based on the data in the database table.... the table has the following columns
    private String userId;
    private String security_level; // page level , field level
    private String permission; //CRUD
    private String permissionType; //ALLOW, DENY

    Hello Suzie,
    It is possible but you have "many" ways to do it, since what will happen is the javascript will be generated by an application.
    Are you developing a J2EE application? with or without JSF?
    The best way will be to Google to find a good Javascript menu library, and adapt the generation of it based on the content of your database.
    Regards
    Tugdual Grall

  • Dynamic link to different form and parameters

    Have a few problems i would like some help on.
    First i will describe what I’m planning to do.
    And I'm sorry if it's a little of the normal way of doing it, but I'm new to the Portal
    Have a list over different trip people shall have possibility to join,
    Some of those trips can are for the person only and others for the whole family.
    So my plan is to show a list of all the trips and then a status saying if
    they already has join it or not.
    Then the person can press the trip (link) and depending on some data,
    they would be transferred to 2 different forms. One for 1 person trip and another for a x person trip.
    Like:
    Trip     | Status | Personal/family
    Golf     | New     | Personal - if pressed open form1
    Boat     | New     | Personal - if pressed open form1
    Dinner     | New      | Family - if pressed open form2
    Soccer     | Accepted |Personal - if pressed open form1
    Tennis | Declined | Personal - if pressed open form1
    I made a report, showing all trip, but i can only make it use 1 link to form1, how do i make the link dynamic
    The next problem is when i open form1, i would like to do some stuff in PL/SQL (Before Page).
    But I have tried to get the parameters from the URL and I cannot get it to work.
    I use something like, but the l_names.count is 0
    ....portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1380125721&p_arg_names=_sessionid&p_arg_values=&p_arg_names=ENROLL_ID&p_arg_values=5677&p_arg_names=_enroll_id_cond&p_arg_values=%3D
    DECLARE
    l_names owa.vc_arr;
    l_values owa.vc_arr;
    l_lang varchar2(100) := PORTAL.wwctx_api.get_nls_language;
    l_enroll_id NUMBER;
    BEGIN
    PORTAL.wwpro_api_parameters.retrieve(l_names, l_values);
    FOR i in 1..l_names.count
    LOOP
    IF l_names(i) = 'enroll_id' THEN
         l_enroll_id:= l_values(i);
    END IF;
    END LOOP;
    END;
    What i also want to do is in some cases. Is create a row in a table and populate the form1 with it in the "before page", instead of using query from parameters.
    Like:
    Trip     | Status | Personal/family
    Golf     | New     | Personal - if pressed open form1 and insert data and populate the form with the inserted data
    Soccer     | Accepted |Personal - if pressed open form1 and do the standard query
    How do I do that?

    One way to do this would be to hold the urls for the pages you need to display in a table. You could then build the links as one of the columns of a report using some fancy SQL.<br>
    <br>
    Or you could make a simple function to return the correct link based on the relevant parameters:<br>
    <br>
    create or replace function get_url (p_criteria in varchar2) return varchar2<br>
    is<br>
    lv_url varchar2(500);<br>
    begin<br>
    if p_criteria = 'Personal' then<br>
    lv_url := 'http://host:port/pls/portal/etc...';<br>
    end if;<br>
    etc...<br>
    return '&LT;a href="' || lv_url || '"&GT;' || p_criteria || '&LT;/a&GT;';<br>
    end;<br>
    <br>
    Your report could then include the function as one of the columns in your report.<br>
    Not very elegant but it should do the job.
    Patrick.

  • Updating template based XSLT page

    I have the following setup: a template and a few HTML pages
    based on it plus a few XSLT(.xsl) pages based on that template.
    Whenever I change the template, the HTML pages are automatically
    updated, but not the XSLT ones, even tough they appear in the list
    from the "update pages" dialog. If I load the XSLT page and choose
    from the menu Modify>Templates>Update Current Page, the page
    gets updated. If I choose Modify>Templates>Update Pages, it
    doesn't work.
    This is happening only in Dreamweaver CS4, it was working in
    CS3.
    Recreating site cache doesn't solve the problem.
    Is there any option to enable so that all the pages based on
    a template (not only the HTML ones gets updated?
    Thanks,
    Adrian.

    Mat:
    Here's my stock answer for this question -
    Here are seven common mistakes that will result in changes not propagating from Template to child -
    1.  Rename the Templates folder
    2.  Move the Templates folder to some other folder level in the site other than root level
    3.  Move a template out of the Templates folder.
    4.  Make changes to an editable region of the Template (which will not propagate)
    5.  Assume that Template changes will be effected by just uploading the changed Template file to the server without also uploading the changed local files
    6.  Corrupt the site cache so that the link between Template and child page is broken
    7.  Improperly create your child pages by simply opening the Template, adding page specific content, and resaving the Template with an *.html extension rather thanits *.dwt extension. (you can tell if this is the case by looking at the code on a child page - if you see anything like <!-- TemplateBeginEditable... then this is what you have done).  If you *have done this*, then recreate the child pages (in DW) using FILE | New > Page from Template, select the Template and click CREATE.
    The 6th problem can be repaired by using SITE | Advanced > Recreate Site Cache, and the six others can be fixed by just not doing them.  Have you done any of those?
    Or, read this -
    http://www.adobe.com/go/dd83ba8b

  • Build a blank/other type of page which can show links to other pages

    Can someone please tell me how to build a blank/other type of page which can show links to other pages? I mainly want a page to show 3 links, once someone clicks on it, then it will go to a specified page. I tried using URL, but that did not work. Any advice is greatly appreciated. Thank you very much for your help in advance.
    -Grace

    Do a region (probably a HTML-based one is fine), enter in the HTML for your links, and that should be it. What didn't work about this?
    Your links probably should appear like this in your coding (use substitution variables):
    f?p=&APP_ID.:3:&APP_SESSION.
    In the above example, "&APP_ID." will resolve dynamically to the application ID that you are in, "3" is page 3 (change this to whatever page you want the link to be), and "&APP_SESSION." is the existing session number (if you don't include this, the user will receive a new session ID if the destination page is public or will be intercepted annoyingly to log in and get a new session ID which you probably don't want).
    Do not include the full http path. Just start with f?p... and everything is assumed to be relative to Apex on the current environment.
    Those are effectively the minimum requirements for a URL in Apex to go from one page to another in an app. You can add to that the additional URL parameters for Request value, Set items with values, clear cache, reset pagination, etc. if you need to. Check the Apex online help under "understanding URL syntax" for details on these.

  • Using the nav bar to link to another page.

    It is possible to use the nave bar to link to another page such as a blog?
    Example:
    Welcome About Me My Photos Blog (linked to external blog such as blogger)

    If you want the link to the external page to appear in the default navbar then do the following:
    1 - create a blank page and name it the way you want it in the navbar.
    2 - add an HTML Snippet to that page with the following code in it:
    <script type="text/javascript">
    parent.window.location = "URL TO THE EXTERNAL PAGE"; </script>
    What this does is automatically redirect the viewer to the external page when the link in the navbar is clicked on.
    My Demo Sites are setup this way. The Contents page for each site is redirected to a separate Contents site which contains the index of all the pages in the three demo sites. That way I only have to change the index on the Contents site instead of doing it for each site individually.
    If you want the other page to open in a new window you'll have to create a separate text based hyperlink and use the Inspector/Link pane to link the text to it and check the open in new window option. If you need to have that in the navbar you can create a texbased navbar, hide the default one and set your links as needed in the Inspector/Link pane. This is a demo page of a Text Based Navbar.
    OT
    Message was edited by: Old Toad

Maybe you are looking for

  • Exchange 2010 OWA usage in Exchange 2013

    Hi, I have Exchange 2010 with Sp3 Currently running in environment, Now we have plan to Migrate it to Exchange 2013.... Total number of mailbox is around 26000. Before Migration we want below things to keep in mind... 1. We want to Use existing excha

  • Unable to create a contact

    Hi Preston, I am trying to create a contact using createItemRequest method. I am unable to create a contact when i try to set the EmailAddressList's Primary Attribute for the contact. However if i comment the line for setting the Primary Attribute fo

  • Error 1050 with matlab script

    Hi , i'v built an vi which sampling saving and playing audio files , i've also added matlab script for data analysis. the script tested in matlab and in matlab works great , when im trying to use it in labview i'm getting an error while the matlab sc

  • SAP DB database username and password

    Hi! I'd like to connect to the SAP DB database by using the Database Manager application. The DB instance was installed with sapinst.exe and I've never got any username and password. What can I do? Thanks in advance! Kind regards, Igor Barbaric

  • IPhone stuck in Recovery, keeps failing on error (9)

    Suddenly my iPhone 4S rebooted and im forced to do a full Recovery update with iTunes. But every Time i try to update it fails with an error (9). The Firmware before was 6.0.1 and the Firmware i'm trying to recover to is 6.0.1. Tried different PC, Ma