Questions tagged [escript]

eScript is designed to describe the various steps in adding support for a new programming language to Eclipse.

eScript is designed to describe the various steps in adding support for a new programming language to Eclipse. The idea behind eScript is that someone can implement an Eclipse plug-in by using a simple script language instead of using a sometimes complicated and confusing combination of XML and Java. For more details, see this link : http://wiki.eclipse.org/FAQ_What_is_eScript%3F

32 questions
1
vote
2 answers

I want to refresh a view in siebel on a button click

I am using siebel v 8.0. I would like to refresh the view when button in an applet is clicked. When the button is clicked, I need some code in browser script that can refresh the view. I have tried 1. this.BusComp().InvokeMethod("RefreshRecord"); 2.…
user2131376
  • 81
  • 1
  • 3
  • 8
1
vote
1 answer

How to remove new Line from within a string

I am working on Siebel CRM and using a regular expression in the eScript. The code is var regexp2=/[ \t]{2,}/g; var regexp4=/[ \n]{2,}/g; var regexp6=/\r\n|\r|\n/g; var regexp3=s/\r|\n/g; temp = temp.replace(regexp2,' ').replace(regexp4,'…
user040620
  • 25
  • 1
  • 6
0
votes
1 answer

Retrieve only the Whole Number

I want to retrieve the whole number part of 1.027863, so the code/function should give me 1 as the answer. My requirement is to provide the number of SMSs present in a string by splitting the same into blocks of 153 characters. So if there are 307…
Anna Joel
  • 107
  • 3
  • 14
0
votes
1 answer

Siebel eScript : CountRecords() method returns 0 for every input Value

I am trying to create a business service which will return the count of records according to the status given as Input to it. 'Status' field is a static picklist field. Below is my Siebel eScript. function getRecordsCount (Inputs, Outputs) { var…
user4840960
0
votes
1 answer

Using os:cmd to in escript to start Erlang application fails.

I have an Erlang application named tb that runs fine from Erlang command line by doing application:start(tb). Whereas when I try to invoke the same application from inside escript using os:cmd, the application doesn't seem to run. When i do a 'ps |…
Ram V
  • 3
  • 2
0
votes
1 answer

Mongoose IM change node name issue

I am trying to change node name of mongooseim to my local ip, something like 10.0.0.21. I changed the config in MongooseIM/rel/vars.config.> {node_name,"mongooseim@10.0.0.21"} Is there anything i need to change? I am getting the following error…
Krishna
  • 41
  • 4
0
votes
2 answers

Create NewRecord through Siebel Business Service eScript

I am trying to create a new record using BS server script. Since the process is taking place inside the BS, the context of Parent is not present, hence I am unable to get Parent Row_Id which I need to explicitly stamp against the child record being…
Anna Joel
  • 107
  • 3
  • 14
0
votes
1 answer

Siebel eScript varargs function always throws an exception

according to Siebel documentation, eScript supports varargs. The following sample is taken from the Siebel documentation: function SumAll() { var total = 0; for (var ssk = 0; ssk < SumAll.arguments.length; ssk++) { total +=…
nang
  • 421
  • 6
  • 16
0
votes
1 answer

Use crypto in erlang escript

I have an erlang project and i'm going to generate an self-contained erlang escript for it, to do so I used the rebar escriptize, adding all the dependencies in my rebar.conf and some other options to it, as you can see {erl_opts, [{parse_transform,…
Harald Hoerwick
  • 132
  • 1
  • 1
  • 8
0
votes
2 answers

Alternative of IN keyword of SQL in Siebel Server scripting for search spec?

Does anyone know how can we filter BC results based on multiple values in search specification? As IN keyword in SQL ? something like: bc.SetSearchExpr("[Id] in ('a','b','c')"); Or use of OR operator is the only solution?
Reminisce
  • 101
  • 2
  • 14
0
votes
2 answers

RabbitMQ app install - /usr/bin/env: escript: No such file or directory

I'm attempting to build a chat app built in rabbitmq from https://github.com/videlalvaro/rabbitmq-chat but ran into this problem when doing a make: ... inflating: deps/rabbit_common/ebin/rabbit_msg_store_index.beam /usr/bin/env: escript: No such…
Snowcrash
  • 80,579
  • 89
  • 266
  • 376
0
votes
1 answer

Time tracking when status is changed

I have a question about a specific functionality in Siebel, regarding service requests. Is there a way to track time when certain service request is in a given status/substatus, for example "Waiting on Customer"? When the service request is changed…
corry
  • 1,457
  • 7
  • 32
  • 63
0
votes
1 answer

Is there a way to find out Object Manager's name with eScript?

The basic need is to determine Object Manager's name for current running task. Additional benefit would be if we could also get Task Id, Component Name (in general), Component Group Name, Server Name and Enterprise Name. Actually there is a solution…
Yaroslav Shabalin
  • 1,645
  • 3
  • 17
  • 29
0
votes
1 answer

Determine new record in PreWriteRecord event handler and check value of joined field

There is custom field "Lock Flag" in Account BC, namely in S_ORG_EXT_X table. This field is made available in Opportunity BC using join to above table. The join specification is as follows: Opportunity.Account Id = Account.Id. Account Id is always…
Yaroslav Shabalin
  • 1,645
  • 3
  • 17
  • 29
0
votes
0 answers

What standard Siebel eScript actually based on?

According to Siebel 8.0 documentation eScript is compliant with ECMAScript Edition 4 standard. But as far as I have learned there is no such standard published. Edition 4 was in draft state for a long time, but was never released. ECMA's website…
Yaroslav Shabalin
  • 1,645
  • 3
  • 17
  • 29