Adding HTML content in text frame

I'm a little bit frustrated when adding some copy to edge. In order to add a simple hyperlink for example in my paragraph of text, I need to use the replace text field where I can add the <a href..>
and change it over before it's viewed.
Is there any plans on making this easier? Or is there better workaround?
Thank you.

EW wrote:
That is correct.> In old versions of Planning if you knew how to write html you could add stuff into the instructions that could be a hyperlink and could be edited for fonts size and color etc.
>
This is no longer available based on the base code changing and no longer allowing it. Other might have suggestions on how to make so that works again but way I know handle this is through "menus". In menus you can add hyperlinks to other stuff.
Well I thought it changed back in later versions 11.1.1.3.04 (I know not much use if you are on earlier versions) :- 9475065 – Users cannot use HTML commands in data form and task list instructions.
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • Adding HTML content in Planning Webform Instruction box

    Hi,
    I am working on Planning 9.3.1, we are migrating the application from planning 3.5.
    One point i noticed todays is "Adding Instruction to Webform".
    In my Old system- i can add HTML content to set the instruction more user friendly or even i can add url inside the instruction box by href fucntion of html.
    In System 9.3.1- when i just copied that html from old webform Instruction box to new system webform Instruction box, it is not displaying in correct format.
    Any idea and any thought , how can manage to add html inside the Instruction box.
    Ex: <p><b><Font color=blue>Tax Percentage Input:</Font></b><br><br> <b>This form is used to enter applicable Federal and State taxes </b>
    The above text display on click of "View" as the font ,bold etc defined above in my planning 3.5 webform but same content is not working in 9.3.1
    Is that feature has gone in system 9 onwords...
    Regards,
    KK
    Edited by: user8919739 on Dec 13, 2010 12:05 PM

    EW wrote:
    That is correct.> In old versions of Planning if you knew how to write html you could add stuff into the instructions that could be a hyperlink and could be edited for fonts size and color etc.
    >
    This is no longer available based on the base code changing and no longer allowing it. Other might have suggestions on how to make so that works again but way I know handle this is through "menus". In menus you can add hyperlinks to other stuff.
    Well I thought it changed back in later versions 11.1.1.3.04 (I know not much use if you are on earlier versions) :- 9475065 – Users cannot use HTML commands in data form and task list instructions.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Problem replacing content in text frame

    I am bumping my head against this. Its something I thought I know. I have a labeled text frame when I alert(mySpineTxt.getElements()); it tells me [object TextFrame] that sounds good to me then I use this
    if(mySpineTxt.getElements().length != 0){
        with(mySpineTxt.parentStory.words.itemByRange(0,0)){
                mySpineTxt.contents=(String(myResp))
    and it tells me that mySpineTxt does not support parentStory. I think it should.
    Please add any corrections that I am missing.

    #targetengine "session"
    //Creates a simple event listener.
    main();
    function main(){
        var myEventListener = app.addEventListener("beforePrint", dateChanges, false);
        var myEventListener = app.addEventListener("beforeSave", dateChanges, false);
        //var myEventKill = app.addEventListener("beforeClose", killDate, false);
    function dateChanges(){
         var myDocument = app.activeDocument;
    var myPageItems = myDocument.pageItems.item("myDateLabel");
    if(myPageItems==myPageItems){
    if(myPageItems.getElements().length != 0){
        //alert ("I want to change your date")
        var myDateText=myPageItems
    var myDate=new Date();
        myDate=String(myDate);
        myDate=myDate.slice(0,15);
        myDate=myDate.slice(4,15);
        alert(myDateText);
        with(myDateText.parentStory.words.itemByRange(2,4)){
                        contents=(    ""+myDate)
    }//ending bracket for dateChanges function
    function killDate(){
    app.removeEventListener("beforePrint", dateChanges, false);}
    this is an event listner that changes the date. This works when I use myDateText.parentStory when I plug it in to the other script i am using same stuff. it doesn't work its object is also listed as a page item.

  • Writing HTML data in TEXT File

    I am writing HTML content in TEXT file ...I read it in a string and then write using PrintStream...
    But it writes all content on one line ..I want to write it as it was in source HTML file...

    Perchance, the OP is referring to the lack of carriage returns in his outputted data, and querying where they have absconded to? An analysis of his posts to date reveals that he has read the contents of a File into a String variable, and wants to write the (presumably modified) String back to a file (uncertain as to whether this is the same file or a different one) In the process of outputting to said file, carriage returns previously contained in the original input file are not present in the output. I would hazard a guess that the OP does not want said carriage returns in the String to disappear.
    Is my analysis of the situation correct?
    An example of the code that you have written to date would be of extreme usefulness to us in aiding you in your noble quest.
    Without such a resource, I must rely on my intuition instead.
    Possible places that the carriage returns are being "dropped"
    1 - On reading in. Are you discarding carriage returns while building up your variable?
    2 - On manipulating. Are you processing this line by line, or reading it all into one large variable?
    3 - On output - are you using "print" or "println" in the output?
    I look forward to further correspondence with you sir
    kind regards,
    evnafets

  • Html content in lightbox is visible only on the first click

    I have added html content into a lightbox.
    When I click the trigger the first time, content is visible.
    If I exit (by clicking outside) the lightbox and click the trigger a second time.
    The embedded HTML is gone.
    See attached images.
    Url: Live page

    What steps did you take in order to add the HTML content to the lightbox? I'm trying to replicate the problem and I cannot figure it out. Did you do it within Muse?

  • Chapter Title Text Frame Questions

    I have a book with some side heads, and I made a master page with a simple grey background.  It works great when the chapter title is short:
    (the grid pattern is a screen capture artifact--on my screen is a solid grey)
    I put an empty paragraph in there to scroll down the next body paragraph, and while it's not an elegant solution, it does work.
    However, some chapter titles are longer and push things down:
    And that pushes down the body text.  So, I tried adding a chapter title text frame to the master page:
    This works great visually, and also gives the chapter title more room since the upper text frame doesn't have side heads:
    However, now the book files listing seems not to be recognizing the chapter title, and instead is just picking up body text from the document:
    The first text frame has "autoconnect" turned off, and I named that "A" and the main body text frame "B".
    Any suggestions as to how to get the book files listing to recognize the chapter title? 
    Thanks!
    John
    www.controlgeek.net

    John,
    I have not tried this, but you could try creating a master page for the first page in the chapter. Put two frames on the master page BOTH with the flow set to A. Position the first frame where you want the title to be and position the second frame where you want the text to begin. Set the paragraph tag for the title to have no space following. Set the paragraph tag for the FIRST paragraph of the text to Keep X rows together. With X set large enough, FrameMaker would not have room to put the first paragraph in the upper frame, so it will push it to the next frame. If this works, you can even go back to your original side head format for the title. You just have to make sure the top frame is large enough to hold all titles, so that a title does not leak to the second frame.
    Van

  • [AS] Access Text Frame Labels in CS5

    Hello Everyone,
    I am updating a CS2 InDesign AppleScript to CS5 and finding an issue accessing the text frame labels. In CS2 the script below would set the variable x to the contents of the text frame "bob", unfortunately, this script not longer works in CS5.
    tell application "Adobe InDesign CS2"
            set x to contents of text frame "bob" of active document
    end tell
    The documentation tells users how to insert text, but not access it. If anyone has an idea of how to do this in CS5 I would appreciate it.

    Got it!
    tell application "Adobe InDesign CS5"
         tell active document
              set x to contents of item 1 of all page items whose label is "bob"
         end tell
    end tell

  • [JS][CS3] Change the content type of a text frame

    Hi,
    a bit basic maybe but I'm stuck on this from an hour...
    I need a textFrame to become a graphic object.
    The textFrame has no content.
    How can I change the contentType on that object?
    Thanks anticipately.

    This looked like an interesting challenge, so I'm taking a shot at it. I created a new document and added three text frames (unpopulated) to the first page. I tagged them "Image", "Caption" and "credit". I then exported as a snippet, deleted the document and opened another new one. Then I placed the snippet (so far, everything has been manual -- no scripts) and indeed, the snippet placed and the frames were added to the document's structure and were properly tagged -- the three tags were automatically created by the action of placing the snippet.
    So, let's duplicate this in a script. Even though I know exactly where the snippet is, I'm going ask the user to find it. That way, I eliminate the issue of getting the path to the snippet wrong:
    var myDoc = app.documents.add();
    var myPage = myDoc.pages[0];
    var myPlacePoint = [myPage.marginPreferences.left, myPage.marginPreferences.top];
    var mySnippetFile = File.openDialog("Choose the snippet");
    if (mySnippetFile == null) { exit() }
    var mySnippet = myPage.place(mySnippetFile, myPlacePoint);
    And that worked. The snippet is on the page exactly where I wanted it. So, now we need to find the text frame that has the "image" tag. First, we must explore just what mySnippet consists of.
    OK, it's an array of three stories. That's a tad weird. Why isn't it an array of three text frames? I wonder what would happen if two of the frames in the snippet were threaded -- but let's address that later after we solve the immediate issue. The point is that we know that the snippet consists of three separate text frames that aren't threaded. So:
    for (var j = mySnippet.length - 1; j >= 0; j--) {
         var myTag = mySnippet[j].associatedXMLElement.markupTag.name;
         alert(myTag);
    And this gives me the three tags (and reminds us that when you tag a text frame you're also tagging the story that holds it. So:
    var myDoc = app.documents.add();
    var myPage = myDoc.pages[0];
    var myPlacePoint = [myPage.marginPreferences.left, myPage.marginPreferences.top];
    var mySnippetFile = File.openDialog("Choose the snippet");
    if (mySnippetFile == null) { exit() }
    var mySnippet = myPage.place(mySnippetFile, myPlacePoint);
    for (var j = mySnippet.length - 1; j >= 0; j--) {
         var myTag = mySnippet[j].associatedXMLElement.markupTag.name;
         if (myTag === "Image") {
              var myFrame = mySnippet[j].textContainers[0];
              myFrame.contentType = ContentType.graphicType;
              break;
    And that does the job.
    Thomas,
    You were very close but you forgot that the text frames that make up a story are addressed as textContainers from CS3 onwards. Your code would have worked in CS2.
    Dave

  • Unsupported Content-Type: text/html in JAX-WS

    Hi All,
    I was trying to add new WS client proxy using jdeveloper but it gives me some error:
    Exception in thread "main" com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: text/html Supported ones are: [text/xml]
    at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:303)
    at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:135)
    at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:287)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:277)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:124)
    at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)
    at com.sun.xml.ws.client.Stub.process(Stub.java:272)
    at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:153)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
    at $Proxy28.lovQueryPage(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
    at $Proxy29.lovQueryPage(Unknown Source)
    at com.siebel.asi.LS_spcClinical_spcList_spcOf_spcValue_spcServiceClient.main(LS_spcClinical_spcList_spcOf_spcValue_spcServiceClient.java:51)
    Strange thing is that, it works properly when a new client proxy is created in a new Application but it fails when I try to add second proxy to the application where first proxy is already added. Any pointers?
    Thanks,
    Nikunj

    How Can I make this work in the single project. Is there some alternate way to do so ?

  • "Content-type: text/html; charset=utf-8 cache-control: no-cache..." display

    "Content-type: text/html; charset=utf-8 cache-control: no-cache, no-store, max-age=0, must-revalidate pragma: no-cache X-Frame-Options: DENY "
    is being displayed at the top of one of our pages now. I can see that line in the body section of the page using Firebug, but can't find what is creating it there.
    Does anyone have any tips on how I would go about finding something like this?
    The page was using a custom theme but that stopped working when we upgraded to 4.1. So, I copied the Simple Green template to start modifying.
    Mentioning that in case it's relevant...
    Thanks!

    LauraC wrote:
    "Content-type: text/html; charset=utf-8 cache-control: no-cache, no-store, max-age=0, must-revalidate pragma: no-cache X-Frame-Options: DENY "Looks like an HTTP header...
    is being displayed at the top of one of our pages now. I can see that line in the body section of the page using Firebug, but can't find what is creating it there.
    Does anyone have any tips on how I would go about finding something like this?If it's included within the <tt>body</tt> element in the original page source then it's produced by something in APEX and the position in the source will give a clue as to where. You should also run the page in Debug mode and look at the trace to see if there's any clues there.
    If it's visible in the generated page source but not the original then it's produced by something dynamic in the page. Possibly some JS lingering from the previous theme?

  • Error: HTML content does not allow it to be displayed in a frame.

    Hi,
    We migrated our site from MOSS 2010 to 2013.system prevents html pages on other domains from hosting our site in a frame
    because system assumes that external links have security threat.Please find the below error details.I got from different source that there is a workaround like: adding
    <meta http-equiv="X-Frame-Options" content="ALLOW"> to the html file but it didn't work.Can you please guide me if I am missing anything .I am using IE-9.I think the line
    <meta http-equiv="X-Frame-Options" content="ALLOW">
    will help to resolve but I am missing something here.
    <o:p></o:p>
    Knowledge is power.

    Hi,
    Please try FormDigest control in your master page as
    <asp:ContentPlaceHolderID="PlaceHolderFormDigest"runat="server">
                    <SharePoint:FormDigestID="Formdigest1"runat="server"/>
    </asp:ContentPlaceHolder>
    Thanks! Best Regards, Prasham Sabadra http://prashamsabadra.blogspot.in

  • Table of contents and the order of multiple text frames flowing across pages

    I have a multi-page document,
    on each page, there are 2 text frames:
    - A text frame for containing a PAGE TITLE
    and
    - A text frame, flowing from one page to another containing: a MAIN TITLE, a SECTION TITLE, and flowing body copy (on page 1); and another MAIN TITLE, a SECTION TITLE, and flowing body copy; (on page 2)
    When I generate a TOC, using the Page, Main and Section Titles styles, the expected outcome would be:
    Page Title             1
       Main Title           1
    Section Title          1
    Page Title             2
       Main Title           2
    Section Title          2
    But because the Main title and Section titles are all within one flowing text frame and the content flows across multiple pages, and each of the Page Titles are within 2 separate text frames, the actual TOC generated is:
    Page Title             1
       Main Title          1
    Section Title         1
       Main Title           2
    Section Title          2
    Page Title             2
    ...where the TOC lists all the TOC items from the flowing text frame in one grouping first, then the individual free standing text frame title.
    QUESTION: Is the only way to automatically rectify this is to combine all the text into one flowing text frame? or is there another workaround?
    Have played with the left/right, top/bottom alignment of the individual text frames; also experimented with the object layering, to no avail..
    Thanks for any insights.

    I ended up using a product called InFlow from EmSoftware.  The solution offers a plugin to InDesign that builds pages on the fly when there is overset text.  The setup is pretty minimual and it seems easy to use.  The only drawback that the plugin MAY have is that it does not remove the pages it built if the pages are not needed from record to record.  I could not test this myself since my test data did not test more then one record, but when I turned my proof set off, the pages that were built were still on screen.  It does seem to work well for what we are looking to do, so if anyone is looking for something that will build pages on the fly in situations where the "Dynamic Story Handling" is not available, I would suggest looking into this.

  • Sharepoint error - Search Issue - The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1).

    i see this error everywhere - In ULS logs, on site. On the site > Site settings > search keywords; I see this - 
    The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>IIS 7.0 Detailed Error - 500.19 - Internal Server Error</title> <style type="text/css"> <!-- body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;} code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} .config_source code{font-size:.8em;color:#000000;} pre{margin:0;font-size:1.4em;word-wrap:break-word;} ul,ol{margin:10px 0 10px 40px;} ul.first,ol.first{margin-top:5px;} fieldset{padding:0 15px 10px 15px;} .summary-container fieldset{padding-bottom:5px;margin-top:4px;} legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px; border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696; border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;'.
    I am facing issues in searching, my managed metadata service is not running, search results page throws internal error. Any Idea why this above error comes.
    P.S: We use windows authentication in our environment.

    Hi IMSunny,
    It seems you have solved this issue based on your another post.
    http://social.technet.microsoft.com/Forums/en-US/aa468ab0-1242-4ba8-97ea-1a3eb0c525c0/search-results-page-throws-internal-server-error?forum=sharepointgeneralprevious
    Thanks
    Daniel Yang
    TechNet Community Support

  • WCF returning "The content type text/html of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8)"

    I have a WCF service I am trying to run on a new installation of 64-bit Windows Server 2008 IIS. Although it runs fine on Windows 2003 IIS, it is throwing the error in the thread title, which appears to be a server config issue, but I am not sure. Googling and searching the MSDN forums did not turn up a solution. I tried running WCF Logging, but that didn't help either.
    Does anyone have any suggestions on how to solve this probelm?
    Here is the error:
    The content type text/html of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <title>500 - Internal server error.</title>
    <style type="text/css">

    I have the same issue on Windows 7 machine. The service works fine using a SoapUI client but a .Net client faisl to get a response.
    Hi,
    I have a WCF service which works perfectly when using SoapUI but throws error in my .Net client.
    {"The content type text/html; charset=UTF-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first
    1024 bytes of the response were: '<HTML><HEAD><link rel=\"alternate\" type=\"text/xml\" href=\"http://xyz.mysite.com/ysa/Broker.svc?disco\"/><STYLE type=\"text/css\">#content{ FONT-SIZE: 0.7em;
    PADDING-BOTTOM: 2em; MARGIN-LEFT: 30px}BODY{MARGIN-TOP: 0px; MARGIN-LEFT: 0px; COLOR: #000000; FONT-FAMILY: Verdana; BACKGROUND-COLOR: white}P{MARGIN-TOP: 0px; MARGIN-BOTTOM: 12px; COLOR: #000000; FONT-FAMILY: Verdana}PRE{BORDER-RIGHT: #f0f0e0 1px solid; PADDING-RIGHT:
    5px; BORDER-TOP: #f0f0e0 1px solid; MARGIN-TOP: -5px; PADDING-LEFT: 5px; FONT-SIZE: 1.2em; PADDING-BOTTOM: 5px; BORDER-LEFT: #f0f0e0 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #f0f0e0 1px solid; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e5e5cc}.heading1{MARGIN-TOP:
    0px; PADDING-LEFT: 15px; FONT-WEIGHT: normal; FONT-SIZE: 26px; MARGIN-BOTTOM: 0px; PADDING-BOTTOM: 3px; MARGIN-LEFT: -30px; WIDTH: 100%; COLOR: #ffffff; PADDING-TOP: 10px; FONT-FAMILY: Tahoma; BACKGROUND-COLOR: #003366}.intro{MARGIN-LEFT: -15px}</STYLE><TITLE>Broker
    Service</TITLE></HEAD><BODY><DIV id=\"content\"><P class=\"head'."}
    I have the same service hosted on my local machine and when I point to the local service I can execute the operation with no issues. The message encoding is Soap11. I tried changing to Soap12 but I get exact same error. Any ideas greatly appreciated.
    I do have windows Activation Features installed and I am using .Net Framework 4.
    Thanks
    Sofia Khatoon

  • Adding a Text Frame to an Existing Group

    I have belatedly discovered another difference between CS4 and CS2 -- I don't know whether this started with CS3 or not; I think perhaps it did.
    When you want to add a text frame to an existing group (which means create a new one within group), it's fairly straightforward unless the group is inline to a story. Then the new item gets added at the wrong place (I suspect what actually happens is that it always used to get added at the wrong place and then moved to the specified coordinates; but in CS2 and earlier, there was no automatic updating of the screen so the coordinates worked, but in CS4, the addition of the new frame moves the inline and so the coordinates you're aiming for are no longer correct). I worked around this in the following script by changing the anchoring and then changing it back -- I'm not entirely sure that this is foolproof, but it works on the job we're using it for.
    //DESCRIPTION: Add New TF to Parent Group of Selected TF
    (function() {
         if (app.documents.length > 0 &&
                   app.selection.length === 1 &&
                   app.selection[0].parent instanceof Group &&
                   app.selection[0] instanceof TextFrame) {
         var group = app.selection[0].parent;
         if (group.parent instanceof Character) {
              // we have an anchored group. Make sure it is custom while processing
              var origAncState = group.anchoredObjectSettings.anchoredPosition;
              group.anchoredObjectSettings.anchoredPosition = AnchorPosition.anchored;
         var bounds = app.selection[0].geometricBounds;
         var newTF = group.textFrames.add({geometricBounds:bounds});
         newTF.move(undefined, [0, -1]); // offset a pica -- or whatever the units are
         if (origAncState !== undefined) {
              group.anchoredObjectSettings.anchoredPosition = origAncState;
         app.select(newTF);
         } else {
              alert("Please select a text frame in a group.");
    Dave

    Open the PDF in Acrobat (not Reader).
    Use the "Draw Rectangle" tool (Comment :: Drawing Markups)
    Go into the Rectangle Properties to configure appearance for border line style, thickness and color; fill color and opacity.
    Be well...

Maybe you are looking for