It's all about the answers!

Ask a question

[closed] Uploading new artifact does not work correctly.

Eric Ballance (134) | asked Mar 06 '18, 4:45 p.m.
closed Mar 09 '18, 2:18 a.m. by Ralph Schoon (63.3k33646)

  Hello. I'm using the code below to upload an artifact to an asset but every time I test it the web page is blank. completely empty. I end up having to delete the asset and start over. Does anyone know the correct way to add a file artifact to an asset??

    private void addFile(File f, RAMAsset currentAsset) { 
        LocalFileArtifact fileArtifact = new LocalFileArtifact(f); 
RAMFolderArtifact root = (RAMFolderArtifact) currentAsset
        RAMSession session = this.getPolicyContext().getRAMSession(); session.queueAssetForPut(currentAsset);
session.putAssets(new NullProgressMonitor());

The question has been closed for the following reason: "Question is off-topic or not relevant" by rschoon Mar 09 '18, 2:18 a.m.

One answer

permanent link
Donald Nong (14.5k614) | answered Mar 08 '18, 10:08 p.m.

Rational Asset Manager issues should be posted on the dW Answers forum.

It is fascinating that even none of the 1261 questions tagged with "rational-asset-manager" received an answer here on forum, people still keep posting here. In comparison, only 25 questions were posted on the dW Answers forum.