Pasting xml

haddock
haddock New Altair Community Member
edited November 2024 in Community Q&A
Hi Guys,

Under 6.5 I could copy XML from this forum and post that into the RM editor, this does not seem to work in 7.0; am I doing something wrong?

Best

H
Tagged:

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee
    you need to click on the check mark on the upper left.
    This was introduced in 6.5.

    ~Martin
  • haddock
    haddock New Altair Community Member
    Hi ,

    Thanks for that, I should have made myself more clear...

    Under 6.5 I could copy XML from this forum and post that into the RM PROCESS editor, this does not seem to work in 7.0; am I doing something wrong?

    Best wishes,

    H
  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

    this should work. What is not very obvious is error handling, in other words if something goes wrong you'll only notice by text appearing in the log, apart from that simply nothing will happen.
    The process editor needs to have focus for it to work as well.

    I just copied and pasted the process below into the process editor and it replaced my current process as intended.

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <process version="7.1.000-SNAPSHOT">
      <context>
        <input/>
        <output/>
        <macros/>
      </context>
      <operator activated="true" class="process" compatibility="7.1.000-SNAPSHOT" expanded="true" name="Process">
        <process expanded="true">
          <operator activated="true" class="retrieve" compatibility="7.1.000-SNAPSHOT" expanded="true" height="68" name="Retrieve Golf" width="90" x="45" y="34">
            <parameter key="repository_entry" value="//Samples/data/Golf"/>
          </operator>
          <connect from_op="Retrieve Golf" from_port="output" to_port="result 1"/>
          <portSpacing port="source_input 1" spacing="0"/>
          <portSpacing port="sink_result 1" spacing="0"/>
          <portSpacing port="sink_result 2" spacing="0"/>
        </process>
      </operator>
    </process>
    Regards,
    Marco
  • haddock
    haddock New Altair Community Member
    Hi,

    Thanks again, I've just tried pasting that same process into my process tab, which has focus. Mouse right click brings up a popup, however, picking 'paste' does not insert the process.

    I'm on Ubuntu 14.04, java version "1.8.0_66" has anybody else had this problem? It's not a big deal, I just noticed it doing my usual forum post pasting routine.

    Best

    H