ParserCallback iFrame question.

Hi,
Im using the HTMLEditorKit Parsercallback class. After creating connection with the URL given. I did this.
HTMLEditorKit htmlKit = new HTMLEditorKit();
HTMLDocument htmlDoc = (HTMLDocument) htmlKit.createDefaultDocument();
HTMLEditorKit.Parser parser =new ParserDelegator();
HTMLEditorKit.ParserCallback callback = htmlDoc.getReader(0);
parser.parse(br, callback, true);Does it gives back a well-formed HTML document? The parsercall back is supposed to do something to HTML document and gives me a new HTML document with all the tags properly indented ? Then how do iterate through to get the iframe tag. The HTML.Tag doesnt consist of the iframe element. Only frame and frameset. How do i get the parse to read the iframe element of the HTML doc. Do i handle it during the parsercallback's handlesimpletag()? or during the parsercallback's handlestart and end tags giving that the document is already well formatted either by using Jtidy or its a xhtml document by default.
Most of you will be asking this if you want a more understanding of what im actually trying to do. Im actually trying to parse through the HTML document get all the possible links. Im able to get it easily with the (HTML.Tag.A) but how do i parse iframes and get to the SRC attribute of the element. All i need is how to handle iframes.
Thank you and sorry for the long read.

Hi camickr,
Thank you for explaining it to me more. Hmmmm.. i will try to look into it more and do as what you say to understand the use of pasercallback. Currently im using HtmlIterator.
HTMLDocument.Iterator aIterator = doc.getIterator(HTML.Tag.A);
               while(aIterator.isValid())
                    SimpleAttributeSet sAttribute = (SimpleAttributeSet) aIterator.getAttributes();
                    //get the HREF attribute of the A element
                    String link = (String) sAttribute.getAttribute(HTML.Attribute.HREF);
                    if(link != null)
                         if(link.indexOf("some text") > -1)
                              extractedURL.add(link);
                    aIterator.next();
               }Basically im able to point to all "a" tags in the html and able to access its attributes. If im just able to point to the iframe element, im pretty sure im able to extract the SRC attribute of the iframe.

Similar Messages

  • Dreamweaver CS5 IFrame Question

    I'm currently using Dreamweaver CS5 to build a business website.  For a brief overview, I'm using a 3 column layout, the left column is the nav bar, the middle has the product pictures and names.  The left cell is currently empty, but I'm trying to find a way to arrange it so that if someone clicks on a product, the right column displays the rest of the product info.  The best I can figure is an IFrame, but do I need JScript to make that work?  If so, what's a good command line for it.  So far I can't figure out how to set the source based on which link is clicked.

    Kinda miss the previous versions.  CS5 automatically fills in CSS and HTML at its own discression, which has been causing some irritating results off and on.  But as far as behaviors, there's no established server behaviors for that.  Would Javascript or .NET work better for not killing my browser compatibility?  I'm actually more of a software coder than web designer (hence my problems with HTML's limited code for behaviors), so I can probably write my own.  I'm thinking it might be easier to try a database set up and just have it linked so that whatever they click is loaded to the IFrame but I'm not sure how to go about that.

  • Iframe question

    Hello all! This is my first time posting here, and it is
    great to meet you all. I am a relatively new user of flash and I am
    trying to design a web site for my own personal use in Flash
    because I thought it would be neat if I had a site with lots of
    animations and stuff.
    Anyways, I am trying to figure out how to insert some type of
    frame in my flash site. I have links on the left side of my site,
    and I would like to make something like an iframe on the right
    where the different pages in my site could be displayed. How would
    I go about inserting something like that?

    Hi Fabe,
    thanks a lot for the additions
    Would you mind if I publish them on my site? (drop me a mail about how to credit those parts if you want, you find my e-m@il in my profile)
    Fabini wrote:
    That's it. Now who can take this to the next level? - Fabe
    I wonder what the next level is...
    But have a look at the following page to see parameters for different styles
    http://www.w3schools.com/css/tryit.asp?filename=trycss_border-style
    P.S. Cédric - I was curious why/how the first portion of your poem actually appeared in my test page when I copied & pasted your html code. I assumed it would give some sort of error message since it appears to reference a particular page on the web. Upon viewing my test page on the web, I saw the entire poem plus photo & link. Nicely done. Cheers.
    Yes it references to a particular page on the web and that's the good thing about iWeb: It retrieves information from the web where it's told to, so you can see how it really looks. But it works only as long as you're connected to the internet (at least that should be the case to me...). That's also why widgets you place into a snippet load.
    Also note that you can see the whole page directly in iWeb (no need to publish) if you choose to interact with it. Just double click on the snippet and you will be able to scroll and see the whole poem. This way you will have it like you have it when published...
    Regards,
    Cédric

  • Questions on Iframes and PAR structures

    Hi,
    I have a few questions on Iframes, JSP's and PAR structure for Portal Application Projects in NWDS.
    1. Can I change the source of an iframe from one jsp to another instead of one html to another.
    2. My Jsp's are in Portal-Inf/pagelet because whenever I add a new JSP I add a new Portal application object. So how do you refer to the relative path in the calling JSP. e.g <iframe name = "myframe" src ="<relative path>BlankPage.jsp" width="100%">. What would be the relative path. I tried pagelet\jspname.jsp but it does not work.
    3. In general how do you type the relative path for objects in a PAR project structure?

    Hi Prem,
    1.Yes,you can.
    2.You dont have to,you can copy and paste as many as Jsp's inside the pagelet.I use beans to customize the BHTML UI properties.So you can make your IFRAME source tag as variable.
    <iframe
         id="Nedbrowser"
         name="Nedbrowser"
         style="relative"
         width="<%=myBean.getFrameWidth()%>"
         height="<%=myBean.getFrameHeight()%>"
         frameborder="yes"
         marginheight="0"
         marginwidth="0"
         scrolling="yes" 
         src="<%=myBean.getUrl()%>">
    </iframe>
    Your approach of setting relative path wont work as it is.You have to do something more
    1. in JSP you have to use a import statement like
    <%@ page import="com.sapportals.portal.prt.resource.IResource" %>
    <% IResource rs = componentRequest.getResource(IResource.JSP , "pagelet/BalnkPage.jsp");  %>
    and in the IFRAME tag you can do something like this
    <iframe
         id="Nedbrowser"
         name="Nedbrowser"
         style="relative"
         width="300"
         height="400"
         frameborder="yes"
         marginheight="0"
         marginwidth="0"
         scrolling="yes" 
         src="">
    </iframe>
    <% Nedbrowser.setSrc(rs.getResourceInformation().getURL(componentRequest)); %>
    3.There are so many forum pages on this matter.Just go ahead and search for IResource in SDN.
    Goodluck
    regards
    Senthivel

  • Alternating iframe display per page load question

    Looking to have an iframe that displays different content each time the page is loaded to showcase sponsors; I'm not interested in a slide show type option; just one sponsor's logo & contact per each unique page load.
    Any thoughts?
    Thx,
    nf

    Hi,
    This feature has been moved in Exchange 2010 OWA. However this feature is available in OWA light version. Here are steps to change the settings in OWA light version.
    Log in to OWA, click the Use the light version of Outlook Web App
    check box on the login page.
    Select Options in the upper right hand corner of the screen.
    Select Messaging from the left navigation panel.
    In the section for "Message Options", change the "Number of items to display per page", select the desired number of messages.
    Exchange 2010: OWA versus OWA light.
    http://blogs.technet.com/b/ilvancri/archive/2010/04/07/exchange-2010-owa-versus-owa-light.aspx
    New Features in Exchange 2010 OWA.
    http://technet.microsoft.com/en-us/library/aa998629(v=exchg.141).aspx
    Best Regards.

  • IFRAME in portlet question - possible to call parent function from iframe?

    From the iframe I tried to call the parent function by doing this parent.myFunc(). I got a permission denied javascript message. Just curious if anyone has successfully done this. If so please share your thoughts and comments.

    Hi,
    You will get "Persmission denied" error due to cross site scripting. Either you need to change browser settings to allow cross site scripting or you need to make sure both the URLs fall under same parent domain like both URLs ending with "*.abc.com".
    Thanks

  • Question: iframe and html mime object

    Friends,
    I am having a very wierd issue.
    In our wda application, we have a view called TC_VIEW. The TC_VIEW has a iframe that is supposed to display a html file from the mimes repository.
    At runtime, I build the url to the mimes html page and then I set it in a context attribute which is bound to the iframes source property.
    When the application loads, the user clicks on a button and reaches the TC_VIEW. The reason I mentioned this is because at this point the users is logged in and can move around in the application. When the TC_VIEW loads in the browser the iframe is asking for a login to be able to view the html file in the mimes repository.
    I was thinking that because the user has already logged in, the iframe should not ask for another login.
    Has anybody faced this problem, any solutions?

    Hi Prashant,
    The content of the iframe runs in a different session. You either need to supply additional login information or use SSO or other means to have a user logged in automatically.
    Best regards,
    Thomas

  • HTML app-storage path iframe targeting question

    In my HTML/Javascript app, I'm displaying html content that
    lives in my app-storage area in an iframe. I assign the src to the
    iframe dynamically in javascript. This works on the mac, but when I
    view in Windows, the iframe is empty.
    Here is how I create the src path:
    var docs =
    air.File.applicationStorageDirectory.resolvePath("preview/index.html")
    var url = new air.URLRequest(docs.nativePath);
    $('previewFrame').src = url.url;
    This creates a path similar to the following:
    mac: /Users/{username}/Library/Preferences/{appID}/Local
    Store/preview/index.html
    pc: C:\Documents and Settings\{username}\Application
    Data\{appID}\Local Store\preview\index.html
    Here is the iframe setup:
    <iframe id="previewFrame" src="preview.html" sandboxRoot="
    http://localhost"
    documentRoot="file:/" allowcrossDomainxhr="true"></iframe>
    I tried changing the src path to use .url instead of .native
    path, like this
    var docs =
    air.File.applicationStorageDirectory.resolvePath("preview/index.html")
    var url = new air.URLRequest(docs.url);
    $('previewFrame').src = url.url;
    This creates the following path:
    app-storage:/preview/index.html
    But if I change my iframe documentRoot to "app-storage:/", or
    leave it as "file:/", I see nothing in the iframe, on either mac or
    PC.
    Can anyone point me to what I'm missing?
    Thanks!

    Hi gizmogwai
    Is there a way I can load the image and use the bridge to
    send it to the iframe?
    inside the iframe, I have <img src='...'> that needs to
    show the image, and the problem is that I can't find a way to point
    the src attribute to the image stored on the application storage
    directory.
    Can you give me an example of what you meant?

  • Usability question: Iframe or DIV overflow-scroll

    Hi,
    I have designed a site: www.banacreative.com that uses a DIV
    with
    overflow scroll for the text content area. From a design
    standpoint I
    don't like endlessly scrolling pages filled with lots of
    boring text, so
    I have chosen to put the long text in a scroll DIV keeping
    the design
    intact. I have gotten some feedback that having two scroll
    bars - one
    for the HTML page, and one for the DIV - is confusing. I'm
    therefore
    looking for comments on this. Is this something to be avoided
    in
    general, or is this an acceptable solution?
    TIA

    BruceCSI2 wrote:
    > I've created pages with both IFrames and scrolling divs.
    The bottom scrollbar
    > of the IFrame doesn't really scroll all that much so
    it's not really an issue,
    > and as on your site the bottom scrollbar of the div is
    actually grayed out so
    > it's not an issue at all. It would be nice to get rid of
    it,
    just use any other browser than IE to get rid of it
    > but it's
    > nonfunctional.
    >
    you're talking some IE-Windows-specific-behavior described as
    if it was something everybody saw...
    In my browser (Safari) I get two scroll bars (page, and
    scrolling area). The scroll bar of the
    scrolling area is in part hidden, as it goes beyond my
    browser window height.
    So I have to scroll the page anyways, to see the whole of the
    inner scrolling area. And that, is
    very annoying.
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    An Ingenious WebSite Builder:
    http://sitelander.com

  • I am told that my browser does not support iframes when trying to access a web site.

    This is Google's cache of http://sitetrail.com/askearth.com. It is a snapshot of the page as it appeared on Sep 19, 2010 10:44:02 GMT. The current page could have changed in the meantime. Learn more
    Full version These search terms are highlighted: history askearth com
    * Contact Us
    SiteTrail - Website News and Analysis
    * Business
    * Dev & Design
    * Entertainment
    * Mobile
    * Social Media
    * Tech
    Search in SiteTrail askearth.com (visit site) This data was last updated 6 months ago (update data).
    Site Profile Estimated Value: $5,582.16 USD Estimated Revenue: $7.60 USD per day $227.90 USD per month $2,772.81 USD per year Estimated Pageviews: 3,355 per day 100,648 per month 1,224,551 per year Alexa Rank: #447,581 Google Index: show google links Yahoo Index: show yahoo links Bing Index: show bing links History: show history Site Title: Interesting Questions - AskEarth Site Traffic
    Site Server Server IP Address: 140.174.79.37 Server IP Decimal: -1934733531 Server IP Location: Pordenone, Friuli-Venezia Giulia, Italy
    Your browser does not support iframes. Whois Information Welcome to the Network Solutions(R) Registrar WHOIS Server.
    The IP address from which you have visited the Network Solutions Registrar WHOIS database is contained within a list of IP addresses that may have failed to abide by Network Solutions' WHOIS policy. Failure to abide by this policy can adversely impact our systems and servers, preventing the processing of other WHOIS requests.
    To see the Network Solutions WHOIS Policy, click on or copy and paste the following URL into your browser:
    http://www.networksolutions.com/whois/index.jhtml
    If you feel that you have received this message in error, please email us using the online form at http://www.networksolutions.com/help/email.jsp with the following information:
    Whois Query: askearth.com YOUR IP address is 174.129.155.56 Date and Time of Query: Tue Feb 23 00:49:37 EST 2010 Reason Code: IE DNS Records Host Class Type IP TTL Target Other askearth.com IN A 140.174.79.37 7199 askearth.com IN NS 7200 ns53.worldnic.com askearth.com IN NS 7200 ns54.worldnic.com askearth.com IN SOA 7200 mname: NS53.WORLDNIC.com rname: namehost.WORLDNIC.com serial: 108121504 refresh: 10800 retry: 3600 expire: 604800 minimum-ttl: 3600 HTTP Headers HTTP/1.1 302 Found Date: Tue, 23 Feb 2010 05:59:34 GMT Server: Apache/2.2.11 (Unix) mod_fastcgi/2.4.2 PHP/4.4.9 with Suhosin-Patch mod_ssl/2.2.11 OpenSSL/0.9.7m mod_apreq2-20051231/2.6.0 mod_perl/2.0.3 Perl/v5.8.7 Location: http://askearth.com/go/home Content-Length: 417 Connection: close Content-Type: text/html; charset=iso-8859-1
    HTTP/1.1 200 OK Date: Tue, 23 Feb 2010 05:59:35 GMT Server: Apache/2.2.11 (Unix) mod_fastcgi/2.4.2 PHP/4.4.9 with Suhosin-Patch mod_ssl/2.2.11 OpenSSL/0.9.7m mod_apreq2-20051231/2.6.0 mod_perl/2.0.3 Perl/v5.8.7 Set-Cookie: id=11010246; EXPIRES=Sun, 01-Apr-29 00:00:00 GMT; PATH=/ Set-Cookie: pass=u0zit0yv; EXPIRES=Sun, 01-Apr-29 00:00:00 GMT; PATH=/ Set-Cookie: since=1266904775; PATH=/ Connection: close Content-Type: text/html Firefox Add-on SiteTrail Firefox Add-onPerform SiteTrail lookups via right-click menu straight from your web browser! Popular Lookups
    * google.com#1
    * facebook.com#2
    * youtube.com#3
    * yahoo.com#4
    * live.com#5
    * baidu.com#6
    * wikipedia.org#7
    * blogspot.com#8
    * msn.com#9
    Browse Lookups
    A B C D E F G H I
    J K L M N O P Q R S T U V W X Y Z Recent Lookups
    * askearth.com#447,581
    * evdenevenakliyatv.com#442,990
    * mytaskhelper.com#756,476
    * fikralari.net#639,299
    * typemytape.com#1,547,530
    * tmmod.info#1,078,434
    * torrentplus.org#233,938
    * communitycollegelistin...#430,008
    * cadbury.co.uk#104,852
    * myhobbyblogs.com#297,443
    Random Lookups
    * solidmastermind.com#931,183
    * homelegance.com#277,584
    * homepage-anleitung.de#1,091,134
    * icicigroupcompanies.co...#1,513,887
    * ptiboo.ch#744,058
    * fachportal-paedagogik....#312,102
    * lcpo.com#336,926
    * spitinet.gr#904,561
    * sportingpulse.com#37,069
    * v-pillsbuyutucuhap.com#543,342
    * sameskyboard.com#51,252
    * alparslanpazarlama.com...#1,444,281
    * ventausa.com#221,470
    * dentalmag.org#234,937
    * digitalfoci.com#1,214,872
    * blank-label.com#273,247
    * efun.ir#446,350
    * greatamericandays.com#579,258
    * it007.com#58,123
    * hairyclipz.com#760,892
    Navigation
    * Contact Us
    Categories
    * Business
    * Dev & Design
    * Entertainment
    * Mobile
    * Social Media
    * Tech
    Recent News
    * VP of Twitter Says Twitter is NOT A Social Network
    * Google Puts White Spaces To Use
    * YouTube Instant Experiment Gives Creator a Job At YouTube
    * YouTube Time Machine – A New Website To Waste Hours On
    * Google’s New Instant Search – Saving 11 Hours Every Second
    * Facebook Notes Gets New Tools
    Recent Lookups
    * askearth.com#447,581
    * evdennakliyateve.com#442,990
    * mytaskhelper.com#756,476
    * maximumwoman.com#639,299
    * typemytape.com#1,547,530
    * tmmod.info#1,078,434
    © 2010 SiteTrail. All Rights Reserved.

    I'm not clear on where you are seeing that text. When I view Google's cached page from the page found in this search
    https://www.google.com/search?q=site%3Asitetrail.com%2Faskearth.com
    It doesn't match yours exactly. There is an iframe with a Google map in it in the "Hosting Analysis" section, which in your pasted page seems to be the "Site Server" section.
    Which Google site did you search?

  • How do I link a google drive edge animate project to an iframe?

    I have a simple edge animate project as a test. It has the following files in the root:
    edge_includes folder containing 3 images and edge.5.0.1.min.js
    project.html
    project_edge.js
    I want to be able to have these files stored on google drive (or dropbox or alternative) and link to them through an iframe on my website. I've tried doing this by keeping the file structure the same on google drive and just referencing the shared link of the html file, but the project will not work.
    I've also tried replacing the src links of the edge.5.0.1.min.js file and the image files to their shared links on the google drive. This didn't work either.
    Is there any way to host the files externally and have them still reference each other properly so the html file can be linked into an iframe on a different site?
    Many thanks in advance
    Barry

    Just to add the relevant requested information:
    I am using the latest version of Edge animate (2014.1)
    Google chrome (and IE desktop not metro as backup)
    If anyone wants to see the file then I'm happy to link to it, but I don't think the question really warrants it.
    Thanks again.

  • How do you embed a Bookeo widget in iWeb? Use iFrames?

    I am trying to embed a Bookeo widget (Bookeo is a website that maintains bookings for business, such as tours) using iWeb.
    1. First step, the instructions from Bookeo say to insert the following HTML code where you want the code to appear. 
    <script type="text/javascript" src="http://bookeo.com/widget.js?a=231MUKEPR13769HL64DC"></script>
    I used the HTML Snippet but all I got was the spinning wheel.
    2. Second step, Bookeo suggested that Bookeo widget is inside another iframe, and since iframes are not resizable  I needed to reset the height attribute to 1500 px.  Bookeo suggested the following code.
    <iframe id="widget2-frame" src=".//Payment_files/widget2_markup.html" frameborder="0" style="width: 100%; height: 1500px;" scrolling="no" marginheight="0" marginwidth="0" allowtransparency="true">&lt;/frame&gt;</iframe>
    I still got the spinning wheel, and even after I saved and published the above code it still didn't work.  The published web pages comes up with an error message, and the iWeb page still has the spinning wheel
    3. Third step, after a bit of Apple Communities searching I tired the following code.
    <div style="width: 725px; height: 900px;">
    <script type="text/javascript" src="http://bookeo.com/widget.js?a=231MUKEPR13769HL64DC"></script>
    </div>
    This 'worked' on the published webpage, but I still get spinning wheel on the iWeb page (even after I've saved and published the page.
    My question is whether anybody knows a more elegant solution or is my third step the best way to proceed, even though I still get a spinning wheel on the iWeb page?
    Thanks, Paul

    Hi Wyodor,
    Thanks for responding.  I think that what your suggesting is that when you inserted the script it worked for you.
    I just tried the demostration example you used of the massage bookings to see if I could get the same result as you. 
    I inserted the folowing code into the HTML Snippet in iWeb on new test page on my website
    <script type="text/javascript" src="http://bookeo.com/widget.js?a=296X6L43U12C057243FB"></script>
    I then published it, but on the published webpage I only go the very top right hand corner of the Bookeo form, whereas I can see that on your example http://home.wyodor.net/demoos/bookeo/BookeoiWeb.html all the Bookeo form is there.
    Not sure why the difference between our two outcomes, but I'm only new to iWeb so maybe I've missed something.  Could it be that I'm placing the HTML snippet to the right of a left hand column of information and that's causing only a portion of the widget/bookeo webpage to be visible? 
    Thanks
    Paul

  • Drop down boxes do not show up. My tabs are not visible. I could barely see the box to type in this question. Something is off. I deleted and reinstalled program it is still just floating words. I work on a Mac with ox 10.6.8

    The browser boxes, tabs, and links do not show up with the needed outlines, colors, and shapes. This box I am typing in was barely visible. Above this box is a set of two verticle parallel bars. When I moused over it, I saw it was for inserting a link, but if I had not been curious I would not have known what those lines were for. When I look at this page on PC I have a colored blue backdrop. It is not visible on the Mac. The search box does not have the image of the magnifying class and the arrow does not show up where it should be. The words Post Question just appear below the statement we have made some educated guesses about your browser. I thought maybe it had been a theme that was applied, but I do not see how it could have come on when I trashed the old version of the firefox.

    A;though the CSS is very well documented, there are those that ignore those signs. Look at the following
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: left;
        cursor: pointer;
        width: auto;
        float: left;
    The rest have been given a width of 15em, so this value may be a good start.
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
        border: 1px solid #CCC;
       width: auto;
        background-attachment: fixed;
    Just keep the border property and remove the other two.
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
              display: inline;
              f\loat: left;
              background: #FFF;
    The following is the original for the above
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
            display: inline;
            f\loat: left;
            background: #FFF;
    Cheers,
    Gramps

  • I can't figure out how to add my soundcloud iframe code.etc in my site in cc 2014?

    Im having trouble adding codes to my animated site.i have everything ready,i just need to add forms and players from others sites and what not,but i cant figure out how to make a div a iframe, and no one is making videos on this problem or asking about it..so im stuckk ?

    Oops, your question duplicated. I replied here: https://support.mozilla.org/questions/1038640

  • Follow-up question about forms and SharePoint Online

    I asked a question about life after InfoPath earlier, and got a good answer:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/fb23b3d9-8a09-4267-aab5-09929f6a3082/life-after-infopath-seeking-advice
    After looking at all of the limitations of SharePoint Online, I'm wondering how developers are dealing with the limitations. Lets say you are asked to develop something that has complex logic, including fetching data from external web services, dynamically
    displaying parts of a process to people depending on role, and ending up with a printable document. In our on-premises environment, InfoPath is well suited to this task, with some code behind for some things. Or, if not using InfoPath, we would use application
    pages and workflow.
    Neither of those are available in SharePoint Online, so what would you do?

    Some things, such as the conditional display of content, can be done via JavaScript. More advanced items, such as integrating external web services would likely require a SharePoint "app". A SharePoint app is essentially a link to a separate site
    that is running an asp.net web app (or PHP, or whatever). This asp.net site can do anything it needs with any web services, or conditional formatting, or anything. Because it's registered as a SharePoint app, it can also call back into the SharePoint site
    and work with data. So, a SharePoint App could present the user with a robust form that simply sends the data back to a SharePoint list. The SharePoint app can also be surfaced on the SharePoint site itself in an iframe, so the user won't know that the form
    is hosted by another server.
    By the way, the ideas behind the app model permeate the entire SharePoint environment: instead of having the SharePoint server itself run all kinds of custom business logic, that workload is handled by other servers, so the SharePoint servers can be focused
    on running the core bits of SharePoint. InfoPath puts a large load on the servers, so it's out.  XSLT list views also put a load on the server, so they're also out. SSRS is an amazingly fantastic tool, but is not supported in the cloud (and there's no
    alternative). Timer jobs, event handlers, workflow, and many other things have been re-architected to take the load off the SharePoint servers.
    Mike G.

Maybe you are looking for