Skip to Content
author's profile photo Former Member
Former Member

How can I create a non-site-specific 'reference' in an IDAT file?

I want to create a Reason Code using an IDAT file. If I look at the javadocs and the database (after actually creating the code manually) I can sort of piece together some of the bits and pieces for the request. I attached my attempt to this note, and here is an image:

So ... there are multiple questions in the image, but the main one is: Where the API requires a 'reference' string to be passed, how can I create a reference string that does not refer to one specific site?

Are IDATs documented somewhere that I'm missing? I see examples in the some of the SDK training, but they don't really address my questions.

Thanks for any help you can provide.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 08, 2014 at 05:23 AM

    Well, I solved my own issue (the first one), but found more... I apologize in advance if this is 'old news' to most ME developers ...

    Loading the above IDAT resulted in this error, which is actually quite helpful:

    So I made this change to the IDAT, redeployed, and tried again. (In my environment, each cycle takes about 10 minutes)

    That fixed my status problem, and exposed my next error:

    My first attempt to fix this also failed:

    ... with this error:

    The underlying details are:

    To make the above easier to find here: throws method on bean instance for bean*xml|me.plant.ejb-*xml|SiteApplication in application; nested exception is: com.visiprise.frame.service.ext.ExtensionExecutionException: java.lang.NullPointerException: while trying to invoke the method java.lang.Object.toString() of a null object loaded from local variable 'propValue'

    Next attempt:

    That produced exactly the same exception.

    Next attempt:

    The result was a different, unrelated issue:

    So I think that I found the right combination of entries.

    snap1.png (10.9 kB)
    snap2.png (45.2 kB)
    snap4.png (41.0 kB)
    snap3.png (13.0 kB)
    snap5.png (34.1 kB)
    snap5b.png (71.4 kB)
    snap6.png (42.1 kB)
    snap8.png (28.1 kB)
    snap9.png (12.8 kB)
    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Oksana Zubchenko

      Thanks Oksana. We've been told that the fix for 691248 will be in Patch 21. (It's odd that this is not visible on the ticket yet.) I'm not sure when we will install that, but we can make some progress, knowing that we will have the fix.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.