URL links in XML
I have a datagrid populated with a XML file which contains
URL links. I cannot get the links to work when I click on them. Is
there a simple solution? I'v tried to use this format :
<link> <a href="
http://www.ghagdjagdjadg.com>
testpage</a></link> , but nothing happens and the line
in the datagris is empty. Can anyone help me?
I dont suppose eith ero fyou can help me with a menu Im
building, I have worked through a few demonstrations my xml menu
looks like this.
<menu>
<menuitem label="Integration Files" icon="folder" >
<menuitem label= "JPI Word dot" icon="dot"/>
</menuitem>
</menu>
the problem I'm having is I have tried to add urls but to no
avail. Any help would be appreciated.
Similar Messages
-
How to add URL links in XML file?
Hi,
I'm having problem with adding the URL links to the flash output. I'm using the XML file to call images and then the corrsponding links. Images are called correctly but when I try to add a link I'm not getting the links, but instead getting the HTML anchor tags as texts. I'm using the XML escape characters to escape the HTML tags but the results are not what I need.
I'm using the following code:
<thumbnail preview="large.jpg" thumb="thumb.jpg">
<title><![CDATA[Finance Services]]></title>
<discription><![CDATA[<a href="http://www.google.ca">Google</a>]]></discription>
</thumbnail>
Output:
Images are displayed correctly, but instead of getting the links, I'm getting following text message:
<a href="http://www.google.ca">Google</a>
I need to find out what I'm doing wrong. Am I using the correct way to add the links or not?
Thanks for your time.I'm using following code for the Description part, where I need to place the HTML tags:
var _discription:TextField = previewHolder.discriptionText.discriptionText;
_discription.htmlText = _xml.thumbnails.thumbnail[photoNum].discription.toString()
I'm using the htmlText, I tried replacing htmlText with tf.htmlText, but it didn't work. I'm importing the text field using import flash.text.TextField; do I need to import something for HTML tags to work? -
Hi, does anyone know how if its possible to create a link
inside XML description. The script like this:
<a href="
http://yoursite.com"target="_blank"> did not
work.
Thanks,Thanks, I tried the code which made the whole existing script
fall apart. I got the file from FlashDen and to do the change will
require an advanced programming in which I am absolute 0. Here is
the template
http://www.flashden.net/files/16781/index.html
I am trying to create URL inside the image description.
I feel absolutely helpless.
Thanks again for your effort. -
XML Forms and URL links in RenderListItem Form
Hello everyone,
I'm new at XML Forms and trying to do my first forms. I have this scenario:
- user fills several entry fields in "Edit" Form, 2 of them include URL Links.
- Every new entry in "RenderListItem" Form lists fields "Title" and URL1 URL2.
In RenderListItem Form, i would like to control the behaviour of these links. Link URL1 should open in a new window, but URL2 should stay in the same browser window.
How can i achieve this ?
Thank you in advance for any help,
NunoHi Nuno,
you can achieve this by changing the XSL file.
Check out this thread for more infos: XML form display in same browser window
Best regards,
Robert -
ASSIGNING REPORTS AND URL LINKS IN ROLE
Hello Gurus,
could you please tell me the procedure of asigning Reports, specific tables and Url links in the role.actually i know the process of assigning T-Codes to the role but i dont know the procedure for reports and url links and tables...
i hope u people will respond positively.
Cheers.......
srinivas.korva
Message was edited by:
srinivas.korva korvaHi Nuno,
you can achieve this by changing the XSL file.
Check out this thread for more infos: XML form display in same browser window
Best regards,
Robert -
HTTP to RFC scenario - unable to consume URL link
Hi All,
I'm working on a HTTP to RFC scenario.
Below is the URL link PI QAS Server to push XML data.
http://Server IP:Port/sap/xi/adapter_plain?
namespace=http%3A//rediff/ProjectSTAR/SME&interface=SI_OUT_ASYN_DIALER_CRM&
service=BS_SME&party=&agency=&scheme=&QOS=EO&sap-user=xxxxx&sap-password=XXXXXX&
sap-client=210&sap-language=EN
But the 3rd party system says that they are unable to push XML data because of may be below reasons.
1. Ports are not open from SAP end.
2. Firewalls may be there from SAP end.
3rd party is unable to consume the above link.
But if they push it on PI PRD Server's URL link, it shows ports are open and they are able to consume the link.
Please guide me on this to receive data on SAP PI QAS server also.
Regards,
Amit PDid you checked your URL, I can see there are "//" in the string which might have caused the problem.
Please let me know if the url which you are using and the one you have pasted are different
http://Server IP:Port/sap/xi/adapter_plain?
namespace=http%3A//rediff/ProjectSTAR/SME&interface=SI_OUT_ASYN_DIALER_CRM&
service=BS_SME&party=&agency=&scheme=&QOS=EO&sap-user=xxxxx&sap-password=XXXXXX&
sap-client=210&sap-language=EN
Moreover, I believe you have shared this URL to the sender system to push the XML via HTTP
Can you clarify if the understanding is correct
Sourabh -
Url link for download on LMS from Common services
Hello, i would like to reported a major thing that appeared on 3-4 customers.
The download action is not never possible when they try it from the LMS portal/Common Services/Software update.
The url loaded on browser Internet(eg IE 7.0) add the character | on the link when it proceed after the authentication on the CISCO.COM web site.
The worst is that when i did it from my lab's machine,it works fine even the bad entries. We have traced it with a sniffer.
From an IE directly (outside the LMS so), the page is not displayed as she is not matched with W3C recomendations.
A Doctype tag is not a DTD XHTML 1.0 one.
Hereafter , the URL:
http://www.cisco.com/cgi-bin/Software/WLAN/cwselectfile.cgi?bp=1&&SEARCH=nmim||1.6.0||Software%20Packages|||&FORMAT=XML
On the other side, when a proxy is installed on this machine , it has been refused as well, as the proxy controls that.
Thanks by advance.Richard.The caracters | are not allowed by the XML validator.
The url link has been finished when he meet this kind caracters.
So it means , that , maybe it has been inserted for stopping the entries, when a bad username has been typed. -
How to add external URL link to SAP object (Purchase Order, Invoice, etc)
Hello,
Is there any function module /BAPI that allows me to add an external URL link to a existing Purchase Order
or Invoice document in R3 system?
I tried to debug the system but have not found no suitable function module for it.
I also analyzed the ABAP code of the small GUI window that allows to add a external URL link to
a Purchase Order, and found the function module SO_OBJECT_INSERT. However I could not debug
it (seems to be created with BOR objects) so I've no example for it.
Please help!
Regards,
Manuel DiasCONSTANTS:
c_http(36) TYPE c VALUE '/BpHttpApis/slaphapi?ibmperson/(uid=',
c_listxml(12) TYPE c VALUE ').list/byxml',
c_value(5) TYPE c VALUE 'value',
c_cn(2) TYPE c VALUE 'cn',
c_mail(4) TYPE c VALUE 'mail',
c_em_num(19) TYPE c VALUE 'managerserialnumber',
c_em_cou(18) TYPE c VALUE 'managercountrycode'.
DATA client TYPE REF TO if_http_client.
DATA url TYPE string.
DATA xbuffer TYPE xstring.
DATA l_value TYPE zchar2000.
DATA l_value_string TYPE string.
DATA content TYPE string .
DATA rows TYPE STANDARD TABLE OF string.
DATA wa_rows TYPE string .
DATA conv TYPE REF TO cl_abap_conv_in_ce.
DATA ixml TYPE REF TO if_ixml.
DATA streamfactory TYPE REF TO if_ixml_stream_factory.
DATA parser TYPE REF TO if_ixml_parser.
DATA istream TYPE REF TO if_ixml_istream.
DATA document TYPE REF TO if_ixml_document.
DATA node TYPE REF TO if_ixml_node.
DATA xmldata TYPE string.
DATA iterator TYPE REF TO if_ixml_node_iterator.
DATA nodemap TYPE REF TO if_ixml_named_node_map.
DATA attr TYPE REF TO if_ixml_node.
DATA name TYPE string.
DATA prefix TYPE string.
DATA value TYPE string.
DATA indent TYPE i.
DATA count TYPE i.
DATA index TYPE i.
url = 'http://bluepages.ibm.com'.
CLEAR: l_value_string, l_value.
***Create the HTTP client
CALL METHOD cl_http_client=>create_by_url
EXPORTING
url = url
IMPORTING
client = client
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
Create the HTTP client failure, sy-subrc =
MESSAGE i005(zm) WITH text-026 sy-subrc.
EXIT.
ENDIF.
CONCATENATE c_http
p_accnt
p_couty
c_listxml
INTO l_value.
l_value_string = l_value.
***Get employee information
CALL METHOD client->request->set_header_field
EXPORTING
name = '~request_uri'
value = l_value_string.
client->send( ).
client->receive( ).
***Load to xstring
CLEAR xbuffer .
xbuffer = client->response->get_data( ).
conv = cl_abap_conv_in_ce=>create( input = xbuffer ).
conv->read( IMPORTING data = content ).
create the ixml main factory
ixml = cl_ixml=>create( ).
create a stream factory
streamfactory = ixml->create_stream_factory( ).
xmldata = content.
create a input stream
istream = streamfactory->create_istream_string( string = xmldata )
create a ixml document
document = ixml->create_document( ).
create a xml parser
parser = ixml->create_parser( document = document
stream_factory = streamfactory
istream = istream ).
parse the xml document into DOM tree
IF parser->parse( ) <> 0.
parse the xml document into DOM tree failure
MESSAGE i005(zm) WITH text-027.
EXIT.
ELSE.
node ?= document.
IF node IS INITIAL.
To be done
ENDIF.
create a node iterator
iterator = node->create_iterator( ).
get current node
node = iterator->get_next( ).
loop over all nodes
WHILE NOT node IS INITIAL.
indent = node->get_height( ) * 2.
indent = indent + 20.
CASE node->get_type( ).
WHEN if_ixml_node=>co_node_element.
element node
name = node->get_name( ).
nodemap = node->get_attributes( ).
IF NOT nodemap IS INITIAL.
attributes
count = nodemap->get_length( ).
DO count TIMES.
index = sy-index - 1.
attr = nodemap->get_item( index ).
name = attr->get_name( ).
prefix = attr->get_namespace_prefix( ).
value = attr->get_value( ).
ENDDO.
ENDIF.
WHEN if_ixml_node=>co_node_text.
User name
IF name = c_value AND
value = c_cn.
text node
value = node->get_value( ).
p_name = value.
ENDIF.
User email
IF name = c_value AND
value = c_mail.
text node
value = node->get_value( ).
p_email = value.
ENDIF.
Employ serial number
IF name = c_value AND
value = c_em_num.
text node
value = node->get_value( ).
p_em_num = value.
ENDIF.
Employ country code
IF name = c_value AND
value = c_em_cou.
text node
value = node->get_value( ).
p_em_cou = value.
ENDIF.
ENDCASE.
advance to next node
node = iterator->get_next( ).
ENDWHILE.
ENDIF. -
Passing file location as URL parameter for xml query
Hi all,
A quick question regarding using a parameter to set the source URL in an XML query template.
When assigning the URL, the static text works perfectly eg:
//<servername>/<folder>/samplefile.xml . The xml is returned as required.
However, we wish to call this from a BLS txn and set the source URL dynamically.
To test this we assigned //<servername>/<folder>/samplefile.xml to Parameter no 1 and insert [Param.1] in the source URL field. No luck.
Any suggestions?
Cheers
MarkMark,
In BLS, the double slashes (escaping the single /) are only necessary if you are building the full http url string in the link editor.
If your XMLQuery template is something like http://localhost/Folder/Subfolder/[Param.1] then put in a default param value in the query template and make sure the query test works. Then configure (or reconfigure) this in your BLS transaction and generate the sample results. All you should have to do in BLS then is to assign your Transaction or Local property to the Param.1 link in your XMLQuery action block. All of the dynamic replacement and subsequent xml file retrieval should then be done by the XMLQuery itself.
If you can keep the majority of the URL in the XMLQuery itself and then just dynamically pass it the Param.1 piece it will be very easy to test and configure (also use localhost if the file lives on the xMII web server), but if you have to build the string external in BLS I would recommend using a combination of the expression editor and a Local property. If the Local string property contains the base of http://localhost/Folder/Subfolder/ (no quotes or character escaping needed for the default value of a string property) then just assign something like the following to your Param.1 property of the XMLQuery: Local.URLBase & "filename.xml" (a simple evaluate will confirm your efforts).
Regards,
Jeremy -
Podcast URL Links via itunes itunes
Hi,
Does anyone know why my URL links on my podcast are not showing up when I download the podcast I've made.
They are there in garageband and work, Then I export to iweb and then mobile me and then itunes, when I download the pod there is nothing there???
confused please helpClassic mistake number one, I'm afraid. Your 'category' tag reads
<itunes:category text="Science & Medicine">
In XML, an ampersand ('&') is used to indicate the start of a code, and a semicolon to indicate its end. When iTunes sees the ampersand it thinks the entire rest of the feed is a code; this renders the closing 'channel' and 'rss' tags invisible, and that invalidates their opening counterparts, and there goes the entire feed.
You need to replace the '&' with the code & -
"Science & Medicine" -
Setting URL link outside of SWF
Hi there
I'm working on some banner ads for a client to send out to
some of their customers to use on their own websites. However, in
each case the customer will need their version of the ad to link to
a specific page on their site. Rather than requesting a change each
time an ad is sent out Is it possible to set up a button in the
flash file that uses a url link defined in an external xml file?
The thinking is that the customer can be sent the swf file along
with the xml file and they simply change the url defined in the xml
file to their own preference. I have very little knowledge of
actionscript or xml so would appreciate some guidance if it is
possible.
Many thanks in advance for any assistance.
PaulEither way will work, it's just a matter of how you want to
go about it. If you use XML then you have an additional file that
your clients will have to deal with; if you use the flash vars,
then this can be added to the html page, in t he <param> tags
where the actual .swf is located.
Here is a pretty good tutorial loading XML into Flash:
http://www.kirupa.com/developer/flashcs3/using_xml_as3_pg1.htm
And here is a pretty good example of using flash vars:
http://blogs.adobe.com/pdehaan/2006/07/using_flashvars_with_actionscr.html -
We are creating a pdf which will be hosted by an e-catalog web service. The pdf is a catalog with hundreds and hundreds different product numbers that I want to link back to the product pages of a website. Linking each product number manually would be a drag. Is there a way to embed a large number of URL links in an InDesign document using XML or scripting? Thanks.
Short answer: Yes, it is possible.
... A slightly longer answer can be found in this thread: http://forums.adobe.com/message/3819119
but as you (hopefully) understand we'd need slightly more information to Make It Work for you. -
I saw a post a couple months ago explaining how to place url
links into a product table in the XML file. The posts seem to only
go back so far. Can someone please explain how this is done? So if
I have products in each column, how can I link to an entire html
page displaying that product info? Thank you.
Never mind - I just got it working...Hi -
Not an answer, but have you looked at your page in Firefox ?
"helppascal911" <[email protected]> wrote in
message
news:g56tsp$51o$[email protected]..
> Hello,
>
> Could anyone tell me what to do with this 'simple'
question?
>
> I want to link to a iframe from a xml file, how should i
write this code?
> It's used on a portfolio page with a flash element:
> link:
>
http://www.clownfish.nl/cfcc/portfolio/portfolio_ca/portfolio_ca.html
>
> sample of a part of my xml code:
> <item path = "images/1.jpg" width = "200" height =
"200">
> <title>Item Title</title>
> <description>Item description</description>
> <iframe name="project"
src="./projecten/project-1.html">
> </iframe>
> </item>
>
> Thanks,
>
> Pascal
> -
How can I send to a different URL link than what the text states in Acrobat?
Hi there
I know how to create URL links in my document using Acrobat but
How can I create a link that goes to a different URL desintation other than the one the text states?
For example
the text states
www.aaaaa.com
and I want it to state this,
but I want the link to direct to
www.aaaaa.com/abcdefghijkl
I dont want to have to create a link object, I want it to stay as text?
Is this even possible?
Any advise?
Thankstry67 wrote:
Actually, it is possible to specify your own tooltip text, if you use a
button instead of a link.
You just set the button's action to "Open a weblink" and it will act the
same as a link, but you'll have more control over how it looks and behaves.
Hi there
I cant see the term "Open a weblink". Can you advise please?
Also then how do you change the "Tooltip text" please? -
How to change URL/link in cFolders email notification
Hi Folks,
We are on cFolders 4.5 accessed via Enterprise Portal. When a notification is generated (either manually or via a status transition), the email contains a URL link related to the cfolder object the notification pertains to. This URL points to the cFolders BSP application. How do we point this to the portal? We want all user to access cFolders via the portal and not BSP. Any way to achieve this?
Thanks,
LashanHello Lashan,
could you please tell me the note number?
Here we also would like to implement the same.
Thanks in advance,
Boldi
Maybe you are looking for
-
Is it possible to change brightness in video play back?
Is it possible to change brightness in video play back, without having to go to settings? If not, then who agrees this should be possible? I'm sure most iphone users have the stock brightness setting set to low to save battery power, but it's very ir
-
Technical System vs Business system jms
Technical System vs Business system jms
-
CNU937DVO4 mean when i try to log in three times an how can i fix it
After tryin to login 3 times it gives me CNU937DVO4 an says fatal error.....system halted my compture is a hp mini 110-1046NR
-
Why cobook not allowed access to address book
I installed cobook on my ipod. That works fine. But the cobook version on my iMac shows up on the menu bar with no contacts, and it says contacts won't allow access to Cobook. To get the iMac app to run, do I have to uninstall it on the ipod and re-
-
Lightroom 4.3 freezes system when I try export - please help me!
I am so tired now with this Lightroom Almost every time when I try export all system creshes. My computer: Intel(R) Core(TM)2 Quad CPU Q9650 3,00 GHz 8 GB RAM ATI Radeon HD 4800 Windows 7 Service Pack 1 I wrote to technical support and got advice abo