How do I add URL link for a testcase number in CAPL? - capl

I am trying to add URL link to testcase numbers using CAPL. Is it possible through CAPL?
Thanks in advance.

No, you cannot add URL link to the testcase numbers.
I suppose you are talking about the report html files of a testcase.
Although, speaking of a html formatting, you can hack the report file, what is generated, you find the testcase number and insert html code formatting so when clicking it, will bring you to the link you need.
Or, you can create your own XLST stlyesheet (which will add custom links to anywhere you want) , and select it as the option for Test Report Generation in the Test Nodes Configuration menu.

Related

rdlc-repeat data in report header across multiple pages

I am using ssrs 2012.
How can I repeat username in the report header? ReportItem doesn't work if the report spans across more than one page.
I was told to use Internal parameters but there is no such option with rdlc.
Can this somehow be done in codebehind?
Thanks
I am a bit confusing about your problem.
Just add a page header, rigth click on report design surface, insert->page header:
Add a text box and set the expression value to the following built-in field
You should get something like this in every page:
Note I am using rdl but built-in fields is available for both RDL and RDLC.
Let me know if this was helpful.

Markup tags in product descriptions

I'm trying to use markup tags to link to info pages within the "description" attribute of a product. However, it's not giving me a clean URL path when the description is printed to the page.
Trying:
Contact Us
does not give the expected url. I've confirmed i'm doing this outside of WYSIWYG mode too.
When the text is rendered is returned to the browser as this html:
Contact Us
A resulting click on the link then ends up as:
http://example.com/prod-category/my-product/%7B%7Bstore%20url=
From what I can tell the markup tags aren't designed to be used in this way. Is it possible to extend it so it could work? Otherwise I guess I need to include the actual URL in the description?
Thanks for suggestions.
You can´t use the double-curly syntax because the attributes value is not being processed by magento´s template filter, which does the magic. You can use them e.g. in CMS or email Templates out of the box.

How to create a link in a apex-pl/sql-region?

for a Application in Apex i want to create some links with the htp-class with the properties:
The link must refers to a internal page of the app.
If the Link is clicked, i want to set the value of a "hidden-item" in the refered page
Some ideas?
greetings
Please, read the following documentation chapter: Understanding URL Syntax. It will answer on both of your questions.
some links with the htp-class
I don't know what is htp-class. May be, you mean HTP package or HTML class attribute.
Just want to note that you can use built-in capabilities of such APEX components like Reports and Lists to generate links to the pages of your app including item values setting. Here are the links to the docs: Lists, Column Link in IR, Column Link in Classic Report.
Good luck,
Alex

Changing the BIRT hyperlink at run time

Is my expectation valid? If yes, please guide me.
Local machine->local server process-> I generate Birt report-> which contain hyperlinks hard coded for example: http://www.ip_one.com/birtserver/parameters...(this is fine and points to another report and get me the report also when I hit the Url from inside the generated pdf report).
Now, what I need is to change ip_one to suppose ip_two once I hit the hyperlink which is inside the pdf(on the fly) keeping all the other parts of the url intact.
I am using birt-rcp-report-designer-4_2_2.
Thanks in advance.
It sounds like you are trying to dynamically create a hyperlink at report run time.
In the properties editor of the report item that has your link (i.e. label), edit the hyperlink. In the Hypelink Options (pop-up) to the left of "Location" field is the button ab| select 'JavaScript' Syntax.
You will be able to create the URL using JavaScript.

How can I preview Virtuemart2 Order verification email layout changes?

I am trying to change the layout ( css/html structure) of Virtuemart 2 order verification emails. Problem is that I have to make a fake purchase each and every time I do a change in the 10 different files (located # components/com_virtuemart/views/invoice/order/tmpl) that create this email template.
The closest "preview" I got was this direct access url "http://domain.com/index.php?option=com_virtuemart&view=invoice&layout=invoice&format=html&tmpl=component&virtuemart_order_id=1401"
But again it loads Joomla's head/body elements not the actual email template.
So how can I have a "preview" of how the template looks like with my new changes BEFORE make an actual test purchase? Is this possible?
You shouldn't change the core files otherwise the next update of VirtueMart (of which there are many) will erase your changes.
You should use Joomla!'s template overrides which VM2 supports that way you can update as needed to new versions without loosing your changes. See this article on docs.joomla.org on "How to override the output from the Joomla! core" and this one on template overrides.
3. You need to add the &format=raw at the end of the link to retrieve just the output of the component with out the template/html body wrapped around it. Of course that relies on the component as well.
I was going to suggest using raw, but looking at the current VM2 it doesn't properly support the format=raw option. Looking at the mail layout in the invoice view it not structured to return it the way you expect, it actually generates a HTML version by default with a matching text only version.
The best I could come up given those two options
Return a close equivalent of the HTML email
http://domain.com/index.php?option=com_virtuemart&view=invoice&layout=mail&virtuemart_order_id=1401&tmpl=component
Return the text version, albeit wrapped in the html page... you may have to view the source to see your invoice text.
http://shop.craigphillips.biz/index.php?option=com_virtuemart&view=invoice&layout=mail_raw&virtuemart_order_id=4&tmpl=component

Resources