Skip to Main Content
IBM Sustainability Software - Ideas Portal


This portal is to open public enhancement requests against the products and services belonging to IBM Sustainability Software. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Future consideration
Categories Usability
Created by Guest
Created on May 31, 2023

Add capability to RM API to be able to retrieve Primary Text data from artifacts in Plain Text form

When I make a call to the RM API for the PRIMARY_TEXT value, I get a string that contains the markup delimiters.   For a multi-line text string, it actually comes back as multiple hypertext markup lines, one for each line ending with a carriage return.  My test code is something like:

RM.Data.getContentsAttributes(moduleRef, [RM.Data.Attributes.IDENTIFIER, RM.Data.Attributes.ARTIFACT_TYPE, RM.Data.Attributes.PRIMARY_TEXT, "REQID", "TBX_tag" ], processModuleForTBX);
...


function processModuleForTBX(operationResult) {
...
 var rows = operationResult.data;
...
 rows.forEach(function(row) {
...
   let reqText = row.values[RM.Data.Attributes.PRIMARY_TEXT];
...


after which reqText contains "\n<p id=\"_16801138569380\">[UNIT00100] The unit shall operate in the environment specified in EV3-1234.</p>\n"

I don’t want the HTML codes in the text returned from the API call.  I’m not retrieving it for display; I’m retrieving it for data processing, and I don't want to have to convert it every time I retrieve text data.  So, I need an API call that just gives me the plain text data without the markup.  In this example, reqText should only contain: "[UNIT00100] The unit shall operate in the environment specified in EV3-1234."
Please add a call or optional switch to the row.values[] call that will return the string data as Plain Text.  Something like:

...

    let reqText = row.text[RM.Data.Attributes.PRIMARY_TEXT];     // returns string value in Plain Text format

...

 

Idea priority High
Needed By Yesterday (Let's go already!)