Adding a hyperlink to a CRM 2011 note - hyperlink

I am looking into how i can create a hyperlink to a webpage on the body of a note in CRM 2011 via C#. I have tried adding the code to the text eg. SharePoint</ID> but this simply types it in. Is there any way that this can be done?
Thanks

Well, inspecting the Note's text field in the browser reveals that it's a TextArea DOM element. Since these aren't capable of displaying anything but plain text, I'd suggest you're probably out of luck. Sorry about that :)
You could edit the form to add a new field of type URL, if that's helpful?

Related

How to make only part of a textField work like a hyperlink in a JasperReports document?

Is there a way to put a hyperlink in a substring of a textField on a JasperReports document? I know that an entire textField element can be made into a hyperlink, but I have a business requirement to have only a few words inside of a textField be a link. It's a link to a website.
We're using iReport 1.2.0 if that matters. (I know it's old, but I can't do anything about that.)
In case anyone else drops by with a similar issue, the solution I ended up going with was to just use separate textFields for the paragraph and for the linked text as discussed in the comments on the question. It turned out to be much less tedious than I was expecting. (But then we had other issues with the link playing nicely in a PDF embedded in a webpage, so we scrapped the links entirely.)

Treat only part of a textbox as a hyperlink on Active Reports

I have the need to generate a report using ActiveReports with links inserted on the text. There may be more than one link on the text, they could be anywhere, and only a specific part of the full text needs to be marked as a link. Is there a way to do this?
E.G.:
Visit my homepage or the company's web site!
I've tried with the Rich Text Control but it does not show links even if I load an html page. And the Hyperlink property of textboxes is no good because they only handle one single hyperlink and cannot mark where on the text is that link.
Any ideas will be much appreciated!
As of now the support for hyperlinks in Richtextbox is not supported in AR7. However, the feature might get added in added.
Regards,
Mohita

openWYSIWYG disabled textarea

Is there anyone here uses openWYSIWYG 1.4.7?
I wanted to display only my textarea by calling
WYSIWYG.display('textarea1');
And I want the text on my textarea not to be selectable that's why I tried this
<textarea1 id=textarea1 name='test1' disabled ></textarea>
but it doesn't work.
Any suggestion?
I doubt if you can prevent selecting the text in text area directly.
You can try placing an element like iframe on top of with with higher Z-index.. so when the user selects what they see as a test area, he will actually be interacting with transparent iframe.
Please keep in mind that any such protection(including the one above) should be not used as a security option. User can always find a way to go select the text or even edit it before submitting it.. they can use web developer plugins like Firebug to do the trick.
Even HTTPS cant prevent this, when the user is itself doing the trick in his browser.
You do your validation in server side, if applicable.

Filling in a web page with Delphi using TWebBrowser

I use Delphi 7 on Vista. So far, I have implemented a simple browser (using TWebBrowser) but I would like to automatically enter information when the web page asks for it. For example, I want to tell my app to go to Google, detect the Search field, enter a search phrase, and then click the Search button and then get the result.
Can someone shed some light on how this is done?
You need to use the DOM to do this. The best online resource for learning this in a Delphi setting is at Brian Cryer's site. Take a look at How to read and write form elements.
In the google instance you could simply call the search URL directly yourself.
Eg. This URL searches for 'jam'
http://www.google.ie/search?q=jam&ie=UTF-8&oe=UTF-8&hl=en&client=safari
Get your code to change jam for your search string and go to that URL. I hope this is what you are looking for.

How do i make a simple web based notepad application

I have to make formatting available for a text box in a web based application just like the options available here to make selected text bold or in italics. I don't know where to start. can anyone please guide me.
Thanks
Why reinvent the wheel? Use something that already exists:
TinyMCE
CKEditor
Here's a list of ten different rich text editors that will do what you need.
http://www.queness.com/post/212/10-jquery-and-non-jquery-javascript-rich-text-editors
Depends on what you're going to be coding in, but I'm sure most languages have built-in types for text boxes that can handle formatted text (not unlike the one I'm typing in right now), and probably have a method that returns the contents of the box.
All you'd need is to figure out is the format code, if you want to store this text and open it elsewhere.
If you want to create from "scratch", you can use any JavaScript framework to ease your work. There are many "good" frameworks out there:
jQuery, ExtJS, GWT, YUI, etc. Just choose the one that suits to your need.
http://en.wikipedia.org/wiki/Comparison_of_JavaScript_frameworks

Resources