After I investigate this deeper and found that newly changed user acoount should be listed under MOM server Administrative users . Once it did it worked fine .
Tuesday, June 28, 2016
ServiceManger:The “start request” timed out in StreamServe Control Center.
After I investigate this deeper and found that newly changed user acoount should be listed under MOM server Administrative users . Once it did it worked fine .
Tuesday, February 2, 2016
Enable log in streamserve(dsrv.log)
In order to display dsrv log we should activate logging in the relevent platform file .
Go the relevent platform in the design center .
right click on the platform and go to the configure platform option.
Here after below dialog will be displayed . under log tab check the enable logging check box and there are fiew other options whci you can configure .
You can define the name for log file and specifiy the log level as well.
If these setting are ok drsv log should be diplayed on your control center .
Apart from above fact there may be few another cases where dsrv log not displayed in the control center . please refer the below url for that .(from steamshare forum)
http://streamshare.streamserve.com/Forum/Topic/?topicID=4313
Tuesday, January 26, 2016
How to configure mail in StreamServer project(5.x)
According to the above example Mail should goes to the fromMailAddres@test.lk and from address should be tomail@test.lk.
As first step Mail server settings should be defined in the relevant Platform settings in the design center.
Go to the relevant platform .
Then right click on the mail settings and go to the settings tab and click the connector .
Then need to select the Connector type .There are several inbuilt connects types available with streamserver . For this case I'm use the STMP(MIME)(Legacy) connector .
Please note that by default this connector use the 25 as the mail port for sending emails and if your client use separate port then you have to you another connector . Ideally STMP MIME connector.
then provide relevant mail server address and UN and PW based on the customer site mail configuration .You can ask these information for IT administrator of the customer site.
After configuring the platform we need to configure the Runtime settings .
Below is the runtime settings for my PO.In run time we need to set from email /to email /subject and other required settings for the email.
When stream serve begin the execution, stream server agent create some set of initial variables for all the entries which stated with * sign in the streamfile and assign values .
For my case below are the variables generated by the agent.Please refer the below url for all agent generated values .(http://streamshare.streamserve.com/Forum/Topic/?topicID=990).
Stream File Name
Agent Generated Name
Value
*TOMAIL1
$mvx_tomail
fromMailAddres@test.lk
*FRMAIL1
$mvx_frmail
tomail@test.lk
*SUBJECT1
$mvx_subject
M3 output
right click on mail settings and go the settings and select respective platform .
And then go the Edit mail.
And fill the From/to/subject etc based on the agent generated variable and click ok .
Then you are good to go. Save export and deploy the project.
Tuesday, February 17, 2015
Sort blocks in the StreamServe
Some instances we need to sort blocks in the stream server mom development. Think a scenario like below. I have stream file in below architecture.
2M
1L
1L
1L
2M
1L
2M
But I need to print it like below,
1L
1L
1L
1L
2M
2M
2M
There are several way to achieve this task.Doing by MAK is very extensive task.So here im going to play with block sorting option.
I use PMS241 as my demo project.
First go the event.and double click on it
Identify the blocks that you want to sort and apply the sort block priority as below.(In my case case blocks are PMS2414L and PMS2414M.
Set 4L block priority
Set 4M block priority.
We are done now.Block sort priority lower one come first.That means number is low, then it is get prioritized. same as the M3 print out sorting order.
Finally save and deploy. It should work.
Wednesday, February 11, 2015
How to hide overlay in StreamServe
In some times you have to hide the overlay in stream serve dynamically. For a example if the activity is print you want to skip the overlay and if its mail need to continue with the overlay.But in this case you cannot use normal Skip function as overlays are static content. But there are several ways to do this task and in this post am going tell you to do this via a variable which is used the the overlay properties.
So first you have to go to the overlay properties and assign variable for it.
Assign variable name as mentioned above(you can have any name for the variable and same should use in the script part.) Please make sure to Tick the “supress overlay” check box.
Now we are done in the overlay.
Then move the Body or what ever page that you use the overlay and add a script before page load event and apply below code.
In this example I going to skip the overlay when the activity is prints
if(&mvx_activity ==”PRINT”){
$prabodha = “TRUE”;
}else{
$prabodha = “FALSE”;
}
Bingo it should work.