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

Similar Messages

  • BSP OTRs and MIME Objects do not appear

    Dear SDN Members:
    I have been facing a very peculiar issue. At first we had problems in our Z* BSP Application with SY-SUBRC values after a
    READ TABLE itab INTO wa WITH KEY field1 = var_field1.
    If there were no matching record(s) in Internal table, the SY-SUBRC value was still '0' (Zero) and not 4 etc..
    Now another problem has cropped up...
    At a point in the program (Layout section), there are some HTML lines and OTRs+MIME objects to be executed.
    The program executes those lines as visible in debugger, but does not display the same on Internet Explorer screen. The OTRs and .gif files do not appear in this case. A small preview of the code is pasted here below:
    We have recently upgraded our Quality/Testing server to CRM 4.0 from CRM 3.0 and are doing Application Testing.
    <td class="body" width="100" style="vertical-align:middle; text-align:center">
    <% if a_fcode_tknra = 'change' and application->c_rolle_user <> 'P' and ls_release-releaseid = '-'. %>
    <input type="image" style="background-color:#EEEEEE" src="/SAP/BC/BSP/SAP/ZSM_TKNRA_PLUS/IMAGES/s_b_chng.gif" name="onInputProcessing(change_au_detail__<%=ls_au_ext-auid%>)"
    alt="<%=otr(ZSM_SAMOS/ZSM_TKN_RA_RA_KE_P05_AENDERN)%>">
       <input type="image" style="background-color:#EEEEEE" src="/SAP/BC/BSP/SAP/ZSM_TKNRA_PLUS/IMAGES/s_b_dele.gif" name="onInputProcessing(delete_au_detail__<%=ls_au_ext-auid%>)"
    alt="<%=otr(zsm_samos/delete)%>" onClick="delete_and_confirm();">
    <% endif. %>
    <% if a_fcode_tknra = 'change' or a_fcode_tknra = 'display'. %>
       <input type="image" style="background-color:#EEEEEE" src="/SAP/BC/BSP/SAP/ZSM_TKNRA_PLUS/IMAGES/s_b_disp.gif" name="onInputProcessing(display_au_detail_<%=ls_au_ext-auid%>)"
    alt="<%=otr(ZSM_SAMOS/ZSM_TKN_RA_RA_KE_P05_ANZEIGEN)%>">
    <% endif. %>
    </td>
    Please help me understand how to go about solving this.
    Regards.
    Vivek.

    Thanks Raja for posting back. The issue is slightly more complex: there are other "src" usages, but they are working fine in other sections of the layout code. The MIME objects have all been stored at right places.
    This BSP Application has been in use since 2-3 years. Only while we posed for CRM 3.xx to 4.xx upgrade, we are facing these issues in Quality Testing.
    We have tried some 2-3 permutations and combinations for this part of code, but nothing works. Do you think the source path changes in different CRM versions? Or do OTRs face some compatibility issues? Do guide me with them.
    The READ table issue is a shocker for us as well!
    Ofcourse the work area is empty, as nothing's there to be read! Now we have placed a double check with "work area NOT INITIAL" to override this problem. In fact this is on SAP OSS as Priority 1 issue but no definite solution has been provided till date, except that they were talking of some Kernel patch (...??).
    Do let me know if you can think of some reason for this abnormal behavior, as right now everything is "out-of-the-box".
    Thanks.
    Vivek.

  • MIME Objects not loaded, Script files from UR not provided to client

    We observe diverse JavaScript Errors and missing MIME-Objects on our Clients when trying to start the Application.
    We disabled compression for ICF-Service and for the Controllers, disabled HTTP/1.1. - no success.
    We followed Hint 715598 and disabled GZIP-Compression for the whole System but the problems occur further.
    Has anybody expierienced same behaviours? Is the problem to fix on client side or at WebAs? And of course how to fix ?????
    We are on WebAS 6.40 SP 13.
    Client-Browser: IE 5.5 SP2 and IE 6.0 SP1
    Desparately,
    Sebastian

    It occurs at standard test applications like <i>SBSPEXT_HTMLB</i> and in my custom developed app. So its seeming to be a general problem.
    By now we opened an error message @ SAP.

  • Display icon using MIME Objects and BSP Tags on Pop up

    HI all,
    My requirement is to add the warning icon in my pop up along with the text..
    I accomplished this using the warning message
    DATA: lr_msg_service TYPE REF TO cl_bsp_wd_message_service, lr_msg_service ?= view_manager->get_message_service( ). lr_msg_service->add_message( iv_msg_type = 'W' iv_msg_id = '000' iv_msg_number = '007' ).
    But i wish to know the other way to accomplish this using the Mime Objects..
    Can any one pls lemme know how do i achieve this using the Mime Objects + BSP HTML Tag.
    Kindly help !!

    If it doesn't work with a custom theme then the theme makers didn't include that icon in its theme. You can contact the creators of those themes and inform them about that.
    You can re-enable the sliding info bar at the top of the browser.
    You can look at these prefs on the about:config page and reset them via the right-click context menu:<br />
    Info bar at the top: privacy.popups.showBrowserMessage<br />
    Status bar icon: browser.popups.showPopupBlocker<br />

  • Loading of MIME objects into HTML pages

    Hi Everyone
    I am trying to load two logos as mime objects into an HTML page.
    I am using
    call method web_page->load_mime_object
    After that I use
    call method web_page->show_url
    Whenever I call this last method with parameter in_place as a space (to call an external browser) my logos are not displayed.
    If I call the method with in_place as 'X' the logos appear.
    The mime objects reside in the SAP web repository (trans smw0).
    Any ideas how to pull the logos into the external page?
    Regards
    Johan

    Hi Satya
    Thanks very much for your reply. I do not use ITS for my purposes but it is something to be remembered for next time.
    I have actually solved the problem but only with a "second price" solution.
    In the HTML form I have pointed the source of my two images to a shared folder somewhere on our dev server. For our purpose this will always work.
    What I am thinking is that if SAP allows an external browser to be used it should also give the means of loading the images. Maybe I just don't know how.
    Now that I think about it more - I should go and try your suggestion in any case and see if it works. 
    I thank you again and if anyone comes with more ideas they will be as welcome.
    Regards
    Johan

  • How to migrate Themes, HTML templates, MIME objects to ECC6.0

    Hi Friends
    How to migrate Themes, HTML templates, MIME objects which are developed in SAP Web@Studio.
    or How to use program SIAC_UPLOAD ??
    regards
    siddharth

    Hello Murray,
    Your steps sound correct.  I would add that you generally need the following:
    1. publish the IAC, SYSTEM, and WEBGUI Internet Services (also from SE80)
    2. make sure the Integrated ITS is working.  Meaning you should activate the ITS in the profile parameter, this can be seen in transaction SITSPMON.  Some services in transaction SICF also need to be activated, like the default_host/sap/public/bc/its
    From your error message though it looks like the URL you have used is either incorrect or you have used the External Alias feature in SICF?  The URL for the ITS is usually http://host:port/sap/bc/gui/sap/its/service.  Second, the error is about a language resource file (.htrc), you have not specified if you created one or not.  To create one in the language you are logged in with just go to SE80, open your Internet Service and double click on the "Topic xx".  Don't forget to publish after creating and saving it.
    Edgar

  • I am using IFrame and displayed Html page

    Hi Friends
                        I am using IFrame and displayed Html page in flex4
                        In this page open to Firefox But not IE please help me.
                          Thanks
                           V.ChandraSekhar

    You have deleted your page, but you have not deleted your page?
    Which is it?
    If you never saved it it is gone. If you saved it in Lion (OSX 10.7) with Pages 09 v4.1, there should be versions available when you mouse overv the document name at the top of the window.
    Peter

  • Mime Objects and non-static template

    Hi All,
    When I bring up a non-static web template, icons stored as mime objects are not initially displayed.  When I do a drill down or any other operation these are then displayed. 
    I know that this is not an issue with static layouts.
    Does anyone know how to force it so that these are displayed when the template is first called up?
    Cheers,
    Robert Zovic
    Arinso International

    Sorry Max,
    I originally included this in this group, although it is a web template designed using the Web Application Design tool.
    The template itself has had it's property set to non static.  This is to overcome issues with the connection/resources remaining locked by the ICM.
    The icons have been uploaded through se80.  It's strange but on the initial callup of the template they don't appear.  On each subsequent access, they do.
    Robert

  • Issues with IFrame and calling an application outside the IFrame

    Hi
    I have an issue which is really turning my head 360 degrees in a "dead loop":)
    I have a WebDynpro application, one component and three views in a viewset.
    The first view will always be placed in column one and depending on some action the two other views should be loaded one by one. So in the main view the users will select three parameters from three dropdownboxes and then a call with the given parameters to an html file in KM - which then again is passing the parameters to a swf file which is presenting an Business Objects dashboard. The BO Dashboard is presented in an iFrame.
    The users selects an element in the Dashboard and is then again calling the webdynpro application with four parameters, the three first from the dropdownboxes, but also a new one which is used to call the third view. I am using NavigationTarget in the URL to load the application at the given position in the portal. And the logic is working, BUT the portal is presented in the IFram of the first View.
    So my question is - How to navigate from the IFrame and "back into the portal"????
    Regards
    Kay-Arne

    There was an issue with the serialization file created.
    Creating a new serilaization file via AAMEE and running it resolved the issue.
    Create a serialization file via AAMEE: http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/Ad obeApplicationManagerEnterpriseEditionDeploymentGuide_v_3_1.pdf
    And then run it via command line.
    Here are the steps:
    AdobeSerialization (serialization file created using AAMEE 3.1) is not a double clickable file. You need to run it via command line to serialize the products. the command line is -
    AdobeSerialization --tool=VolumeSerialize --stream --provfile=”Absolute_Path_of_prov.xml”
    where
    --tool=VolumeSerialize:  specifies that the tool needs to process the prov.xml file to serialize.
    --provfile” specifies the absolute file path to the prov.xml file,
    By default, the tool looks for the prov.xml file in the same directory as the executable file and so
    typically you do not need to specify this option. (Specify this option only if the prov.xml file is in some
    other location.)
    Make sure you invoke command prompt with Admin privileges. Return code of zero means success.
    Tiffany can you please confirm the same?
    -Pragya

  • Create MIME Object with String

    Hello,
    I have a string value containing a MIME message. What I want to do now is to parse the date out of this message. My idea was to create a MIME object type first and then using some getter methods to parse the DATE of the MIME header.
    So basically the question is how I create a MIME object out of the string. Any idea on this?
    Thank you very much.

    Hi again Florian,
    Maybe a glance at those pages could help you :
    http://jigsaw.w3.org/Doc/Programmer/api/index.html?org/w3c/www/mime/MimeParser.html
    http://docs.sun.com/source/816-6028-10/asd3j.htm#1047313
    http://james.apache.org/mime4j/apidocs/index.html?org/apache/james/mime4j/parser/MimeStreamParser.html
    Not sure those classes could be easily used and imported into XI/PI, but if you can avoid writing your own parser, that'd be great
    Chris

  • IWeb questions - Youtube and Videos.

    Hi,
    A few quick questions
    1) How do you put a link into a page so that visitors see the movie (let's say it's on Youtube) but are not directed to the actual page. Here is a link to a website that accesses one of my Youtube videos, yet it doesn't bring the visitor to Youtube.com. http://starsneverfade.com/callowayConcert.htm Here is another example of how someone access a video on my website without visiting my site. Both of these have my permission... but how was it done? http://www.davidgeist.com/rhapsodyinblue.html
    2) is it possible to put a Flash movie into Iweb? I have a few people grumbling that they cannot play Quicktime movies. I hear .flv movies are more compatible with Windows based computer... augh! Why doesn't everyone just buy a Mac and make my life easier?
    3) Is it possible to copy protect a video? What I'm asking is once I post a video is there a way to prevent people from downloading it?
    Thanks!
    Gary

    I have a large collection of sample pages with video: QuickTime, Flash Video, Windows Media, DivX, Real.
    http://web.mac.com/wyodor/iFrame/
    You use the object/embed code and paste it in a HTML Snippet.
    I usually use a separate custom HTML page to embed with the [iframe HTML element|http://htmlhelp.com/reference/html40/special/iframe.html] or [object HTML element|http://htmlhelp.com/reference/html40/special/object.html].
    I have a few people grumbling that they cannot play Quicktime movies. I hear .flv movies are more compatible with Windows based computer... augh! Why doesn't everyone just buy a Mac and make my life easier?
    It's not Win or Mac. It's what you want. Flash Video has advantages over QT. And DivX has advantages over Flash Video. And Vimeo has advantages over YouTube. The samples will show you.
    3) Is it possible to copy protect a video? What I'm asking is once I post a video is there a way to prevent people from downloading it?
    If I can watch it, I can download it.

  • I am in the process of expanding a database of chemistry journal articles.  These materials are ideally acquired in two formats when both are available-- PDF and HTML.  To oversimplify, PDFs are for the user to read, and derivatives of the HTML versions a

    I am in the process of expanding a database of chemistry journal articles.  These materials are ideally acquired in two formats when both are available-- PDF and HTML.  To oversimplify, PDFs are for the user to read, and derivatives of the HTML versions are for the computer to read.  Both formats are, of course, readily recognized and indexed by Spotlight.  Journal articles have two essential components with regards to a database:  the topical content of the article itself, and the cited references to other scientific literature.  While a PDF merely lists these references, the HTML version has, in addition, links to the cited items.  Each link URL contains the digital object identifier (doi) for the item it points to. A doi is a unique string that points to one and only one object, and can be quite useful if rendered in a manner that enables indexing by Spotlight.  Embedded URL's are, of course, ignored by Spotlight.  As a result, HTML-formatted articles must be processed so that URL's are openly displayed as readable text before Spotlight will recognize them.  Conversion to DOC format using MS Word, followed by conversion to RTF using Text Edit accomplishes this, but is quite labor intensive.
      In the last few months, I have added about 3,500 articles to this collection, which means that any procedure for rendering URL's must be automated and able to process large batches of documents with minimal user oversight.  This procedure needs to generate a separate file for each HTML document processed. Trials using Automator's "Get Specified Finder Items" and "Get Selected Finder Items", as well as "Ask For Finder Items"  (along with "Get URLs From Web Pages") give unsatisfactory results.  When provided with multiple input documents, these three commands generate output in which the URLs from multiple input items are merged into a single block, which yields a single file using "Create New Word Document" as the subsequent step.  A one-to-one, input file to output file result can be obtained by processing one file at a time, but this requires manual selection of each item and one-at-a-time processing. What I need is a command that accepts multiple input documents, but processes them one at a time, generating a separate output for each file processed.  Is there a way for Automator to do this?

    Hi,
    With the project all done, i'm preparing for the presentation. Managed to get my hands on a HD beamer for the night (Epason TW2000) and planning to do the presentation in HD.
    That of course managed to bring up some problems. I posted a thread which i'll repost here . Sorry for the repost, i normally do not intend to do this, but since this thread is actually about the same thing, i'd like to ask the same question to you. The end version is in AfterEffects, but that actually doesn't alter the question. It's about export:
    "I want to export my AE project of approx 30 min containing several HD files to a Blu Ray disc. The end goal is to project the video in HD quality using the Epson  EMP-TW2000 projector. This projector is HD compatible.
    To project the video I need to connect the beamer to a computer capable of playing a heavy HD file (1), OR burn the project to a BRD (2) and play it using a BRplayer.
    I prefer option 2, so my question is: which would be the preferred export preset?
    Project specs:
                        - 1920x1080 sq pix  (16:9)
                        - 25 fps
                        - my imported video files (Prem.Pro sequences) are also 25 fps and are Progressive (!)
    To export to a BRD compatible format, do i not encounter a big problem: my projectfiles are 25 fps and progressive, and I believe that the only Bluray preset dispaying 1920x1080 with 25 fps requests an INTERLACED video  (I viewed the presets found on this forum, this thread)... There is also a Progr. format, BUT then you need 30 fps (29,...).
    So, is there one dimension that can be changed without changing the content of the video, and if yes which one (either the interlacing or the fps).
    I'm not very familiar with the whole Blu-ray thing, I hope that someone can help me out."
    Please give it a look.
    Thanks,
    Jef

  • Maintain language-dependent MIME objects

    Hi all,
    I have created a web dynpro view where an IFRAME is embedded which displays a PDF document. The PDF is uploaded as a language-dependent MIME object (so it also appears in the 'MIMEs' folder in SE80). Everything works fine.
    But how to translate resp. uploading different language versions of the PDF? In the log. document properties I have set 'Translation-Relevant=Set'. In my understanding it should be possible to use one single PDF name in development, upload different language versions and depending on the logon language the right PDF language version should be displayed. But I cannot find anything in SE80 or SE63. Who can help?
    Thanks in advance,
    Michael.

    Hi,
    If it's a document why don't you use the document object instead? You can find it in CV04n set of transactions.
    Yann

  • RichEditableText: export().equals() and HTML export

    1. How can I find out that two richEditableText.export() are equal?
    At least the order of the attributes in the TextFlow element is random which means that exported strings cannot be compared directly. Take for example the trunk.mxml from http://bugs.adobe.com/jira/browse/SDK-21836 and compile+run it several times and you see the different order of attributes. Is there a utility method somewhere to compare two exports? (BTW releasing the source of TLF would ease these kind of bug hunting...)
    I know how to use richEditableText.textFlow.generation but this only indicates changes in the current component.
    2. Is supporting html import/export on the roadmap?
    (This question got burried in the information stream... http://forums.adobe.com/message/2042067#2042067)
    Gordon Smith: TLF's TextFilter class supports importers and exporters for HTML_FORMAT, but I haven't tried them and don't know how robust they are.
    I think the HTML export in TLF is not yet stable. The thing is that once
    it is stable there is pretty much no way to insert the import
    functionality into RichEditableText without rewriting most of the
    component. In my opinion, it should be either integrated into
    RichEditableText even at this early stage or RichEditableText should be
    refactored to allow extending it in an easier way.
    Thanks for any hints,
    Marc

    Hi Abhishek,
    Nice conversation I do not expect that TLF covers the full HTML standard. After all, browsers are too good when it comes to HTML rendering...
    with varying degrees of fidelity.
    I remember reading in the TLF forum, that HTML import/export was experimental. That's why I wrote that HTML is not ready for prime time. Also your comment shows that HTML is a poor choice from a Flex perspective. Unfortunately, it's unclear what varying degrees of fidelity really means as I'm not aware of any precise documentation or code.
    Concerning your idea about passing around a (mutable) instance of TextFlow, I'm not a great fan. The power of markup is besides others, that it is a comparable description of content and format. So I definitely prefer an equal function. If this function doesn't make it into the Flex 4 release, I  reluctantly add to each TLF markup a dirty flag which is based on TextFlow.generation.
    As mentioned before, I prefer TLF could export all content and formatting into HTML compliant format. There are many reasons why HTML is a huge benefit over any new, widely undocumented format (this is not specific to TLF or FXG). A few reasons that come to my mind:
    - Server side: Apache Lucene has a battle-proof extractor. With TLF or FXG, I had to write and configure my own.
    - Server side: Extract and modify links in content. This is obviously very easy with HTML as there are age-old libs available.
    - Flash Player: Compare two TLF markups. There might be also no actionscript lib for HTML available. But I'd happily start a project for HTML but not for a new format without underlining code and thorough doc.
    - HTTP communication: what's the mime type of TLF or FXG?
    - Every developer knows HTML, TLF/FXG must be learned. I regard this learning as a high barrier as TLF does not seem to be a big step forward compared to HTML.
    Note that I don't prefer HTML because it is an "open standard". It's because the whole world knows HTML and that brings a much higher engineering efficiency (and that's maybe due to the open standard). If not all information of TLF can be export HTML, it's a pity but just document it.
    Looking forward to your thoughts/comments,
    Marc
    abhishek.g wrote: Hi Marc,
    Thanks for your reply.
    TLF supports many different markup formats (TLF, FXG, Plain text, HTML) with varying degrees of fidelity. It would simply not do to compare HTML because there isn't a 1:1 correspondence between TLF and HTML capabilities. From that perspective, TLF format would be your best bet though I realize there is the problem of inconsistent attribute order.
    Perhaps your scenario is better addressed by having utilities to compare TextFlow instances rather than comparing corresponding markup (this needs additional thought).
    As for HTML import/export, it is obviously be beyond TLF's scope to implement the full HTML standard. The current implementation is loosely based on the HTML capabilities of flash.text.TextField (see htmlText property), which itself is a small subset of the standard, and deviates from it in some ways. When you say HTML support is not ready for prime time, are you referring to this limited scope, or have you encountered specific bugs in the implementation? If the former, I'd like to know what your expectations are. If the latter, please report them.
    Thanks
    Abhishek
    (Adobe Systems Inc.)
    This message was sent to: faindu
    To post a reply to the thread message, either reply to this email or visit the message page:
    http://forums.adobe.com/message/2059470#2059470
    --end--
    mail transfer stalled...

  • IFrame and Mouse Wheel conflict

    Hi
    A question, if someone can help it would be great !
    I made a fonction on the stage, I listen to the mouse wheel, that works perfectly ! but then I call an iFrame and put it in one symbole, at this moment each time I use the mouse wheel, when I am over this symbol it stop working, outside it is style working
    Any idea ?
    Code of the mousewheel function
    $(window).bind('DOMMouseScroll', function(event) { }
    thanks

    Hi, So the Shockwave Flash Object...ActiveX Control...Flash10e.ocx is installed in the manage add ons and it is enabled.
    Is that the only one listed that way, no other Shockwave Flash Object? If so then that is correct.
    The Flash files for Firefox (or other browsers): Flashplayer.xpt, uninstall_plugin.exe, NPSWF32.dll and NPSWF32_FlashUtil.exe are correct IF when you right click on the 2 NPSWF files and click on Properties and they are the version 10.0.45.2.
    The Flash files for IE: FlashAuthor.cfg, FlashUtil10e.exe, install.log and uninstall_activeX.exe are correct. The FIDbg10e.ocx is a debug version. The FlashPlayerTrust I don't see too often. My research tells me this was similar to the current Settings Manager but for older Flash Player versions. Anytime I see that or the FIDbg10e.ocx, or even older versions I recommend removing it. Sometimes a user will even have an older version of the debug .ocx.
    I don't know what Flash files are installed if say a user has only the debug version. But what I see here is a mix. The IE Flash files have the current version (the first three listed) and a debug .ocx. I would think that would certainly cause a conflict. The correct file should be Flash10e.ocx.
    If you were just concerned about your Flash Player working correctly or not, I would suggest removing the FIDbg10e.ocx and the FlashPlayerTrust.
    You might want to go to this Adobe Flash Player test site: http://www.adobe.com/software/flash/about/ I would be interested in knowing what that result is.
    Thanks,
    eidnolb

Maybe you are looking for