Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] DSTBULK API for ReportCaster

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] DSTBULK API for ReportCaster
 Login/Join
 
Silver Member
posted
We are using the DSTBULK API to create distribution lists in report caster. I receive an error if I use the function argment R (for replace) instead of (C for create) if the distribution list doesn't exist when I attempt to run my procedure. Using C if it already exists, doesn't seem to do anything. I'd like to have it overwrite the distribution list if it exists and create it if it doesn't.

Is there a way I can check programmatically to see if the distribution lists exists so I know what argument to send the API?

Thanks,
shelz.

This message has been edited. Last edited by: shelzalee,
 
Posts: 46 | Registered: November 08, 2011Report This Post
Virtuoso
posted Hide Post
Not being a Report caster expert, but I'm inclined to say no.
It may be an option to always do a create first, if only with a single email address, never ind if there's an error or not, and then do the replace for the list with the actual values.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Silver Member
posted Hide Post
I believe that would work. I don't really like it. I'm going to be disappointed if there really isn't a way to access distribution list information? I'll leave this open for a bit longer. If I don't get any other responses. I'll close out. Thanks GamP.


7.7 Windows HTML, PDF, Excel
 
Posts: 46 | Registered: November 08, 2011Report This Post
Master
posted Hide Post
Hi,

Just in case, here is some more information from our technical staff that may be useful:

* Since you are using the Servlet API which DSTBULK is a component of they might want to first use another call, DSTDLLIST, to retrieve the list. If they successfully retrieve the list then the Replace option should be used. If you cannot retrieve the list then the Create option should be used.

As an alternative to the Servlet API there is the Java API which could be used to check for the existence of a Distribution List before trying to create or replace it.

Another option is to query the ReportCaster repository directly to see if the Distribution List in question already exists.

Hopefully this helps. Please feel free to open a case if necessary.

Sincerely,

Kathleen Butler
 
Posts: 391 | Location: New York | Registered: September 20, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] DSTBULK API for ReportCaster

Copyright © 1996-2020 Information Builders