<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>RE: Groovy Script</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>RE: Groovy Script</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=</id>
  <updated>2013-05-19T21:07:06Z</updated>
  <dc:date>2013-05-19T21:07:06Z</dc:date>
  <entry>
    <title>RE: New Message from Kevin Tompkins in SocialMiner - Technical Discussion:</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=14111628" />
    <author>
      <name>Tetyana Shmukler</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=14111628</id>
    <updated>2013-04-10T17:11:24Z</updated>
    <published>2013-04-10T17:11:24Z</published>
    <summary type="html">Hi Kevin,
In standalone SocialMiner, you can change agent chat alias in Settings on SocialMiner Home tab. But it only applies to a standalone SocialMiner.
If CCX integration, then you need to ask CCX team on how it can be configured and used.
As far as I know, if the customer wants to change agent alias, then it is CCX issue and it is possible that CCX may already have a feature request for that.
For the customer’s name, the “author” field from the chat-form is used and it can be modified by modifying the actual chat-form.

Please redirect your question to CCE team.
Thank you
Tanya

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Tuesday, April 09, 2013 7:22 PM
To: cdicuser@developer.cisco.com
Subject: New Message from Kevin Tompkins in SocialMiner - Technical Discussion: Customer Rep Agent Display Name in Web Chat

Kevin Tompkins has created a new message in the forum "Technical Discussion": -------------------------------------------------------------- We're currently working on a new deployment of the SocialMiner 9.0.1, coupled with UCCX 9.0.2, to implement customer chat support. We have a working demo up and running, but we've noticed that the agent name that is displayed to the customer is the AD username of the agent. Is there a setting to change it so that the agent's first name only is displayed instead of their AD username (first initial+last name)?
--
To respond to this post, please click the following link: http://developer.cisco.com/web/socialminer/community/-/message_boards/view_message/14079031 or simply reply to this email.</summary>
    <dc:creator>Tetyana Shmukler</dc:creator>
    <dc:date>2013-04-10T17:11:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Koushal Pandit in Cisco SocialMiner - Technical Discus</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11680951" />
    <author>
      <name>Tetyana Shmukler</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11680951</id>
    <updated>2013-02-07T18:16:23Z</updated>
    <published>2013-02-07T18:16:23Z</published>
    <summary type="html">Hi,
Thank you for getting back to us.
It is hard to troubleshoot based on the provided information. It would help, if you can provide us with the details on  what feed you use (its type, url, pooling interval),, as well as the actual API call (the http request), so we can try to reproduce the behavior you see  in house.
With the information above, it would be great to have  an example of at least one SocialContact (post) that is missing from the result of your API call.
Please also specify what version of SocialMiner you use.

Thank you
Tanya

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Thursday, February 07, 2013 1:48 AM
To: cdicuser@developer.cisco.com
Subject: New Message from Koushal Pandit in Cisco SocialMiner - Technical Discussion: RE: New Message from Koushal Pandit in Cisco SocialMiner - Technical Discus

Koushal Pandit has created a new message in the forum "Technical Discussion": -------------------------------------------------------------- I am not getting the results I wanted using SocialMiner REST API campaign results call. I am not refereeing to a specific time frame that the results are missing for. I am getting the expected results in SocialMIner UI HOME page for this specific campaign. There only some posts that are missing not all.
I even checked cccapi for the correct API call and still the result REST API is not displaying some of the posts even though the SocialMiner UI home is showing those posts when I search them.
--
To respond to this post, please click the following link: http://developer.cisco.com/web/socialminer/forums/-/message_boards/view_message/11649968 or simply reply to this email.</summary>
    <dc:creator>Tetyana Shmukler</dc:creator>
    <dc:date>2013-02-07T18:16:23Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Koushal Pandit in Cisco SocialMiner - Technical Discus</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11528843" />
    <author>
      <name>Tetyana Shmukler</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11528843</id>
    <updated>2013-02-04T17:58:23Z</updated>
    <published>2013-02-04T17:58:23Z</published>
    <summary type="html">Hi,
Please clarify if you not getting the results you wanted using SocialMiner REST  API campaign results call? Are you refereeing to some specific time frame that the results are missing for?
Also it is not clear if you also not getting the expected results in SocialMIner UI HOME page for this specific campaign?
Please clarify.
In any case, there are detail explanations in User Guide on how to use campaign results api with an additional parameters and what happens if those are not provided (what kind of defaults are used instead). Please refer to this document. I pasted some details below , but refer to the document for the complete reference:
==============================================================================
•timestamp: Integer. Display results older results than this timestamp. Defaults to the time of request if
not provided. If startIndex is not specified then timestamp assumes startIndex = 0.
• resultsPerPage: Integer. The maximum number of results to be returned. Default is 50 and maximum
is 200.
• startIndex: Integer. The number of results to skip based on the timestamp. Used for pagination. Assuming
resultsPerPage is set at the default of 50, then you could create a “page 2” link by using the timestamp
provided in the href of the feed/link rel="self" and a startIndex of 50. Page 3 would use the same
timestamp and a startIndex of 100, and so on.
Note
*If timestamp is provided and startIndex is not provided, then the results are displayed up to the
“resultsPerPage” with a creation date older than “timestamp”, starting at index 0.
*If timestamp is not provided and startIndex is provided, then the results are displayed up to the
“resultsPerPage” with a creation date older than “now” starting at startIndex.

For SocialMIner UI, please look if there may be an additional filter set for the campaign or  there is a tag filtering going on (you can check it in Settings). That can narrow down the original results set.
You can also look at the ccpapi logs to see what query is used , when you select the campaign on HOME page. Please also note that UI will also filter based on the SocialContact state chosen (unread, handled, etc.)
From the logs you can see how query looks like and try the corresponding REST api call.
Please find the example of the logs , I am referring to, below .
If your questions still remain un-answered, please provide us with the exact api call, logs and the explanations on what data are missing , etc.

Thank you
Tanya
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; snippet from ccpapi log :
0000015537: 10.86.141.221: Feb 04 2013 10:23:28.639 -0500: %CCBU_INFRASTRUCTURE-6-REQUEST_START: %[ip.orig=10.86.141.221][method_name=GET][parameter_name={ time=[1359991408593], filterStatus=[unread] }][port.orig=46355][protocol=HTTP/1.1][resource_name=/campaign/Test_Camp/results][usr=admin]: Request start
0000000637: 10.86.141.221: Feb 04 2013 10:23:28.643 -0500: %CCBU_____CCP-DS-API-6-CCP_DS_API_MESSAGE:  SolandraDS.getByCampaign query: campaignStatus_106162_s:IN AND de.type:SocialContact AND sc.socialContactStatus:(unread) [from:null, limit:51]
0000000638: 10.86.141.221: Feb 04 2013 10:23:28.658 -0500: %CCBU_____CCP-DS-API-6-CCP_DS_API_MESSAGE:  Stored new cache entry com.cisco.ccbu.ccp.ds.cassandra.api.CampaignQueryCache$CacheEntry@42ec93[campaignId=106162,params=com.cisco.ccbu.ccp.ds.beans.CampaignQueryParams@1181a7d[limit=51,fromIndex=&lt;null&gt;,campaignStatus=IN,baseTimestamp=&lt;null&gt;,timestamp=&lt;null&gt;,filterStatus=[unread],filterTag=&lt;null&gt;,socialContact=&lt;null&gt;,socialContactId=&lt;null&gt;,solrSearchQuery=&lt;null&gt;,includeContactWithContactId=false],lastPublished=Wed Oct 31 20:11:32 EDT 2012,firstPublished=Mon Aug 06 04:34:27 EDT 2012]
0000004023: 10.86.141.221: Feb 04 2013 10:23:28.770 -0500: %CCBU_________CCPAPI-6-CAMPAIGN_RESULTS_FOUND: %[counter=50][query params=com.cisco.ccbu.ccp.ds.beans.CampaignQueryParams@1cb70bf[limit=51,fromIndex=&lt;null&gt;,campaignStatus=IN,baseTimestamp=&lt;null&gt;,timestamp=&lt;null&gt;,filterStatus=[unread],filterTag=&lt;null&gt;,socialContact=&lt;null&gt;,socialContactId=&lt;null&gt;,solrSearchQuery=&lt;null&gt;,includeContactWithContactId=false]]: Found and returning campaign results for query
0000015538: 10.86.141.221: Feb 04 2013 10:23:28.795 -0500: %CCBU_INFRASTRUCTURE-6-REQUEST_END: %[PARAM_TIME_ELAPSED=155]: Request complete
0000015539: 10.86.141.221: Feb 04 2013 10:23:29.111 -0500: %CCBU_INFRASTRUCTURE-6-REQUEST_START: %[ip.orig=10.86.141.221][method_name=GET][parameter_name={ time=[1359991409065], filterStatus=[unread], postId=[B94F54821000013A000070360A568DDD] }][port.orig=46355][protocol=HTTP/1.1][resource_name=/campaign/Test_Camp/count][usr=admin]: Request start
0000015540: 10.86.141.221: Feb 04 2013 10:23:29.123 -0500: %CCBU_INFRASTRUCTURE-6-REQUEST_END: %[PARAM_TIME_ELAPSED=11]: Request complete

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Monday, February 04, 2013 6:54 AM
To: cdicuser@developer.cisco.com
Subject: New Message from Koushal Pandit in Cisco SocialMiner - Technical Discussion: Xml data Result

Koushal Pandit has created a new message in the forum "Technical Discussion": -------------------------------------------------------------- So I am trying to populate the database with posts from the feed, the function requires xml data from the feed. So I use the following for the data :
http://&lt;server-name&gt;/ccp-webapp/ccp/campaign/CampaignName/results&lt;http://%3cserver-name%3e/ccp-webapp/ccp/campaign/CampaignName/results&gt;
but it is missing out certain posts/comments. Although all the post data is available in Social Miner but the results page doesn't show them. Is it the correct link for the xml data of the feed? Any reason why it's not showing all the data?
--
To respond to this post, please click the following link: http://developer.cisco.com/web/socialminer/forums/-/message_boards/view_message/11514985 or simply reply to this email.</summary>
    <dc:creator>Tetyana Shmukler</dc:creator>
    <dc:date>2013-02-04T17:58:23Z</dc:date>
  </entry>
  <entry>
    <title>RE: Twitter Reply Template in SocialMiner</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8423464" />
    <author>
      <name>Tetyana Shmukler</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8423464</id>
    <updated>2012-11-08T15:30:43Z</updated>
    <published>2012-11-08T15:30:43Z</published>
    <summary type="html">[quote=Ankit Rustagi]Hi,

We are working with Custom Twitter Reply Templates in SocialMiner 8.5(5). We have a few questions regarding the same. 
Q.1 We wanted to work with multiple Twitter Streams in SocialMiner 8.5(5). But we found in the documentation that this is not allowed. Why is this not allowed?
 
Also recently, we recieved some information regarding SocialMiner stating that due to recent changes in Twitter API, responding to tweets and direct messages using Cisco SocialMiner Twitter Reply Template is no longer operational. We also found that Cisco is working on a fix which is scheduled to be available for download at the end of November 2012.
We had a few questions regarding the same-
 
Q.2 What is the fix for this problem?
Q.3 Can the fix be done on our side ?
Q.4 When will the fix be released ?
Q.5 Will the fix be compatible with versions 8.5 and 9.0 ?


We would be highly obliged if someone could answer them.[/quote]
Hi Ankit, 
We would suggest to upgrade to SocialMiner 9.0 in order to develop a custom Reply Template : it has much better interfaces exposed  as well as it is very well documented. In addition, if you develop a custom RT in 8.5.5, it may need to be changed to work after upgrade to 9.0.
Back to Twitter: Twitter switched to new api 1.1. earlier that we have expected and as was originally advertised by Twitter. This new Twitter api version is not compatible with the old one therefore it broke SocialMiner integration with Twitter (not just SM problem, but everybody who integrated with Twitter 1.0 api). In addition to that, Twitter had completely changed its rate limiting logic. SocialMiner needs to be changed because of that too, since it is trying to be smart and prevent users from being black listed by Twitter.
So to answer your question, Twiter integration can be only fixed in SocialMiner and the fix is going to be delivered as COP file for 9.0 but not for 8.5. This is another reason to develop RT with 9.0.
Our product owner will take care of the rest of your questions.
Thank you
Tanya</summary>
    <dc:creator>Tetyana Shmukler</dc:creator>
    <dc:date>2012-11-08T15:30:43Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Rusheel Jain in Cisco SocialMiner - Technical Discussi</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7503897" />
    <author>
      <name>Tetyana Shmukler</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7503897</id>
    <updated>2012-10-11T03:38:26Z</updated>
    <published>2012-10-11T03:38:26Z</published>
    <summary type="html">Hi,
As you can see from the script example provided before, there is no need to create a new RestClient “normal way”, but instead you need to use SocialMiner “embedded”       restClient. No imports need to be added to use it. Think about it as already initialized object that always exists in any SM script and you can just use it.
Usage example:
def resp = restClient.get( uri: "http://api.klout.com/1/klout.xml", query : [key: KLOUT_KEY, users: user]);
It is also true that you would not be able to  run the script with restClient as is outside SocialMiner. While testing it, you can use restClient the way you did /showed earlier, but it should be replaced with the “embedded” one and all the corresponding imports removed,  before importing the script into SocialMiner.

Thanks,
Tanya

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Wednesday, October 10, 2012 8:22 AM
To: cdicuser@developer.cisco.com
Subject: New Message from Rusheel Jain in Cisco SocialMiner - Technical Discussion: RE: Groovy Script

Rusheel Jain has created a new message in the forum "Technical Discussion": -------------------------------------------------------------- We followed the example and built a simple program using RESTClient as u said but i'm still having this error

"The following fields are invalid:
Script Source: Invalid input"

i removed both the imports and it seems that as soon as the statment below is added, the above mentioned error comes up

def http = new RESTClient('http://.... URL for Webservice....')

On removing this line of code, the script works fine. We have tested the script outside socialminer and it works fine. According to troubleshooting documents the error is generally caused by the file being saved in Rich text format but we are sure that it is not the case here as we have written the script in Eclipse IDE. So any idea about what is causing this error ?

Thanks !
--
To respond to this post, please click the following link: http://developer.cisco.com/web/socialminer/forums/-/message_boards/view_message/7489304 or simply reply to this email.</summary>
    <dc:creator>Tetyana Shmukler</dc:creator>
    <dc:date>2012-10-11T03:38:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Rusheel Jain in Cisco SocialMiner - Technical Discussi</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7449492" />
    <author>
      <name>Tetyana Shmukler</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7449492</id>
    <updated>2012-10-09T15:21:12Z</updated>
    <published>2012-10-09T15:21:12Z</published>
    <summary type="html">Hi,
SocialMiner groovy script engine already provides an embedded  restClient object that you can just use in your script  without any additional imports.
Please refer to the example below  -- no imports needed in order to use restCLient to call REST GET on it.
Thanks,
Tanya
================================================
def KLOUT_KEY = "w34xzr2vqbsg5aye7wj5w2fu";

log "New version - 2, klout key is ${KLOUT_KEY}"

restClient.setProxy("161.44.248.59", 80, null);

        String user = socialContact.getAuthor();
        int space = user.indexOf(' ');
        if (space != -1)
            user = user.substring(0, space);

                log "user = " + user;

        def resp = restClient.get( uri: "http://api.klout.com/1/klout.xml", query : [key: KLOUT_KEY, users: user]);
        if (!resp.isSuccess()) {
            log ("Request Failed");
        }
        else {
            log "Influence: " + resp.data.user.kscore;
            boolean influential = (Double.parseDouble(resp.data.user.kscore as String) &gt; 20.0);
            log "User is influential" + influential;
                    if (influential){
                                def tags = socialContact.getSocialContactTags();
                tags += "influential" as String;
                log "New tags: " + tags;
                socialContact.setSocialContactTags(tags as SortedSet, null);
                datastore.update(socialContact);
                    }
            return influential?100:0;
        }

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Tuesday, October 09, 2012 8:32 AM
To: cdicuser@developer.cisco.com
Subject: New Message from Rusheel Jain in Cisco SocialMiner - Technical Discussion: RE: Groovy Script

Rusheel Jain has created a new message in the forum "Technical Discussion": -------------------------------------------------------------- Hi !
As you suggested we had built REST based web service for extracting data from the database and a groovy script for accessing the web service and reading the data. The script seems fine but due to these imports

import groovyx.net.http.HttpResponseDecorator
import groovyx.net.http.RESTClient

 we got an "Invalid Input" error. I've read the Social Miner API, it says that RESTClient is allowed. So any idea about the error and why exactly are these import causing the problem.


Thanks
--
To respond to this post, please click the following link: http://developer.cisco.com/web/socialminer/forums/-/message_boards/view_message/7446413 or simply reply to this email.</summary>
    <dc:creator>Tetyana Shmukler</dc:creator>
    <dc:date>2012-10-09T15:21:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Rusheel Jain in Cisco SocialMiner - Technical Discussi</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7377205" />
    <author>
      <name>Tetyana Shmukler</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7377205</id>
    <updated>2012-10-05T17:57:41Z</updated>
    <published>2012-10-05T17:57:41Z</published>
    <summary type="html">Hi,
Unfortunately SOAP client in groovy will not work either, because the corresponding import is not on a white list. You can find the complete list of imports that allowed in SocialMinder documentation that pointed earlier.
If you develop REST web services  instead of SOAP, then you can use it. SocialMiner script even provides built-in rest client for it and script examples on how to use it.
Hope this helps.

Thanks,
Tanya

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Friday, October 05, 2012 8:50 AM
To: cdicuser@developer.cisco.com
Subject: New Message from Rusheel Jain in Cisco SocialMiner - Technical Discussion: RE: Groovy Script

Rusheel Jain has created a new message in the forum "Technical Discussion": -------------------------------------------------------------- Hi

Thanks for the reply. Since the Sql package is not allowed, we were looking for alternatives. We were thinking of creating a Webservice using c# and then accessing the data using SOAP client in the groovy script. Any idea if that would be allowed or would we face similar restrictions again ?

Thanks
--
To respond to this post, please click the following link: http://developer.cisco.com/web/socialminer/forums/-/message_boards/view_message/7370197 or simply reply to this email.</summary>
    <dc:creator>Tetyana Shmukler</dc:creator>
    <dc:date>2012-10-05T17:57:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: Groovy Script</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7350224" />
    <author>
      <name>Tetyana Shmukler</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7350224</id>
    <updated>2012-10-04T18:21:16Z</updated>
    <published>2012-10-04T18:21:16Z</published>
    <summary type="html">Hi, 
unfortunately script security will not let to query even 3d party database from inside the SocialMiner script. The script filter is to allow users to create custom scripts within acceptable boundaries defined by Cisco , SocialMiner.
It is not that the particular query is not allowed. What is not allowed is to use groovy sql package in general.
Thank you,
Tanya
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:TrackMoves /&gt;
  &lt;w:TrackFormatting /&gt;
  &lt;w:PunctuationKerning /&gt;
  &lt;w:ValidateAgainstSchemas /&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:DoNotPromoteQF /&gt;
  &lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;
  &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;
  &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables /&gt;
   &lt;w:SnapToGridInCell /&gt;
   &lt;w:WrapTextWithPunct /&gt;
   &lt;w:UseAsianBreakRules /&gt;
   &lt;w:DontGrowAutofit /&gt;
   &lt;w:SplitPgBreakAndParaMark /&gt;
   &lt;w:DontVertAlignCellWithSp /&gt;
   &lt;w:DontBreakConstrainedForcedTables /&gt;
   &lt;w:DontVertAlignInTxbx /&gt;
   &lt;w:Word11KerningPairs /&gt;
   &lt;w:CachedColBalance /&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
  &lt;m:mathPr&gt;
   &lt;m:mathFont m:val="Cambria Math" /&gt;
   &lt;m:brkBin m:val="before" /&gt;
   &lt;m:brkBinSub m:val="&amp;#45;-" /&gt;
   &lt;m:smallFrac m:val="off" /&gt;
   &lt;m:dispDef /&gt;
   &lt;m:lMargin m:val="0" /&gt;
   &lt;m:rMargin m:val="0" /&gt;
   &lt;m:defJc m:val="centerGroup" /&gt;
   &lt;m:wrapIndent m:val="1440" /&gt;
   &lt;m:intLim m:val="subSup" /&gt;
   &lt;m:naryLim m:val="undOvr" /&gt;
  &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
  DefSemiHidden="true" DefQFormat="false" DefPriority="99"
  LatentStyleCount="267"&gt;
  &lt;w:LsdException Locked="false" Priority="0" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Normal" /&gt;
  &lt;w:LsdException Locked="false" Priority="9" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="heading 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3" /&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4" /&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5" /&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6" /&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7" /&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8" /&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9" /&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 3" /&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 4" /&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 5" /&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 6" /&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 7" /&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 8" /&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 9" /&gt;
  &lt;w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption" /&gt;
  &lt;w:LsdException Locked="false" Priority="10" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Title" /&gt;
  &lt;w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font" /&gt;
  &lt;w:LsdException Locked="false" Priority="11" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtitle" /&gt;
  &lt;w:LsdException Locked="false" Priority="22" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Strong" /&gt;
  &lt;w:LsdException Locked="false" Priority="20" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Emphasis" /&gt;
  &lt;w:LsdException Locked="false" Priority="59" SemiHidden="false"
   UnhideWhenUsed="false" Name="Table Grid" /&gt;
  &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text" /&gt;
  &lt;w:LsdException Locked="false" Priority="1" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="No Spacing" /&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading" /&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List" /&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid" /&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3" /&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List" /&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading" /&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List" /&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid" /&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 1" /&gt;
  &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision" /&gt;
  &lt;w:LsdException Locked="false" Priority="34" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="List Paragraph" /&gt;
  &lt;w:LsdException Locked="false" Priority="29" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Quote" /&gt;
  &lt;w:LsdException Locked="false" Priority="30" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Quote" /&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 1" /&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 2" /&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 3" /&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 3" /&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 3" /&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3" /&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3" /&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 3" /&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 3" /&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3" /&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3" /&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3" /&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 3" /&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 3" /&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 3" /&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 3" /&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 4" /&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 4" /&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 4" /&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4" /&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4" /&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 4" /&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 4" /&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4" /&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4" /&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4" /&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 4" /&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 4" /&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 4" /&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 4" /&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 5" /&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 5" /&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 5" /&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5" /&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5" /&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 5" /&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 5" /&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5" /&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5" /&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5" /&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 5" /&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 5" /&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 5" /&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 5" /&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 6" /&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 6" /&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 6" /&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6" /&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6" /&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 6" /&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 6" /&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6" /&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6" /&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6" /&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 6" /&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 6" /&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 6" /&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 6" /&gt;
  &lt;w:LsdException Locked="false" Priority="19" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis" /&gt;
  &lt;w:LsdException Locked="false" Priority="21" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis" /&gt;
  &lt;w:LsdException Locked="false" Priority="31" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference" /&gt;
  &lt;w:LsdException Locked="false" Priority="32" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Reference" /&gt;
  &lt;w:LsdException Locked="false" Priority="33" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Book Title" /&gt;
  &lt;w:LsdException Locked="false" Priority="37" Name="Bibliography" /&gt;
  &lt;w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading" /&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-qformat:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:"Times New Roman";
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:"Times New Roman";
	mso-bidi-theme-font:minor-bidi;}
&lt;/style&gt;
&lt;![endif]--&gt;The script filter is to allow users to create
custom scripts within acceptable boundaries defined by Cisco
[quote=Rusheel Jain] 


Hi,
 
Thanks for your reply! Our script right now is just fetching some data from sql server 2008. The code is like this- 
 
import groovy.sql.Sql
 
sql = Sql.newInstance(
                           "jdbc:sqlserver://192.168.1.xx;databaseName=abcd;user=username;password=pass",       
                                    “username",
                                    “password"
"com.microsoft.sqlserver.jdbc.SQLServerDriver"
)
 
  sql.eachRow('Select * from tablename') 
  {
   var[i] = it.fieldname
   i = i+1
  }
 
I went through the SocialMiner API, which says that certain SQL commands were not allowed. So are such queries allowed ?
because it seems a very basic SQL query where i am fetching data from some table and nothing else.
 
Thanks


 [/i][/quote]</summary>
    <dc:creator>Tetyana Shmukler</dc:creator>
    <dc:date>2012-10-04T18:21:16Z</dc:date>
  </entry>
  <entry>
    <title>RE: Groovy Script</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7132025" />
    <author>
      <name>Tetyana Shmukler</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7132025</id>
    <updated>2012-09-27T20:43:53Z</updated>
    <published>2012-09-27T20:43:32Z</published>
    <summary type="html">Hi,
This is a valid security restriction for scripts run in SocialMiner.  SocialMIner imposes some security restrictions on script code to ensure the security and integrity the system and the data. There are imports that cannot be used or objects of some types that cannot be created when script is executed in SocialMIner. In Developers Guide there is the whole section “Script Security” that describes in great details the same topic. Please refer to it for the list of allowed imports.
I am not completely sure what the script is trying to do, but there are script bindings available , that is basically objects that can be passed to  SocialMiner script engine to access and modify  (described in Script bindings chapter if the doc mentioned above).
Access to SM configuration db is not allowed but if you are trying to access some external db, it may be possible to use rest calls instead to obtain the same data from the application layer. RestClient is  the object allowed to use in SM scripts.
Thank you ,
Tanya</summary>
    <dc:creator>Tetyana Shmukler</dc:creator>
    <dc:date>2012-09-27T20:43:32Z</dc:date>
  </entry>
</feed>

