see this ANSWER for use of |CPIPE|
https://community.intersystems.com/post/execute-exe##node-418951
- Log in to post comments
see this ANSWER for use of |CPIPE|
https://community.intersystems.com/post/execute-exe##node-418951
try this
Result:
String
2 String
6 Integer
6 Integer
6 Integer
3 String
This functionality seems to be broken. Since quite some time.
It also fails in SAMPLES / Class ZENTest.ComboTest.cls and the method is never called.
Analysis of Class %ZEN.Component.dataListBox shows that the related call to method %DrawItem got lost.
I verified it with a personal hack.
You may contact WRC for a fix.
if you just want to eliminate the hyphen this may work for you:
translate hyphen to blank first and off you go
provided you have sufficient access rights you may get defined roles in Caché / Ensbele like this:
%request.content is an object of type %CSP.Stream;
so you have to access it by Stream Methods. Simple SET either left or right side doesn't work.
see docs:
I probably don't understand your expectation.
You upload typically an image or something similar that the browser
can display as part of the article, questions, answer, comment you write.
And that works excellent.
If this is something else e.g. some binary stuff, or Word.doc or Excel it may fail.
What type of file would you expect to upload ?
Ooops!
The sequence of recruiters seems to be reversed related to values
|
Gold Recruiter - 10 referrals |
|
Awarded after 10 / 50 / 100 of your referrals have joined Developer Community. |
|
Silver Recruiter - 50 referrals |
|
|
|
Bronze Recruiter - 100 referrals |
|
Oliver,
this turned out to be somewhat more tricky than expected.
The way you used stream.FindAt(...) returns the size of the gap between the last found occurrence and the next.
So you have to add the size of your search string for each loop to get closer to your file size
so it might be easier to do it this way:
set last=1
for set i=stream.FindAt(last,"Invalid password") quit:i<0 set last=ithis might be closer but definitely smaller than the total size
it says:
If it does not find the target string then return -1 .
So what you get in i is the last start of your search string
Which is 2491024949 - 2442920326 = 48104623 from end.
It's almost the same as your first occurrence at 49134354. Looks feasible.
To get the file size as you expect the LAST search string must have been starting
AT the end of your file. Which is a contradiction.
your code: from Docs:
set i=stream.FindAt(-1,"Invalid password",x)+i
Find the first occurrence of target in the stream starting the search at position.
It returns the position at this match starting at the beginning of the stream.
If it does not find the target string then return -1.
If position=-1 then start searching from the current location and just return the offset from the last search,
useful for searching through the entire file.
If you are doing this you should pass in tmpstr by reference in every call which is used as
a temporary location to store information being read so the next call will start where the last one left off.
If you pass caseinsensitive=1 then the search will be case insensitive rather than the default case sensitive search.
while(stream.AtEnd=0){set i=stream.FindAt(-1,"Invalid password",.x)+i}
-----------------------------------------------------------------^
PASS BY REFERENCE should do the trickSince the time when there was a Projection to C# I have adopted unique names.
It was an incredible pain if names were not unique.
Congratulations! ![]()
The call to server is only necessary if you provide some tricky calculations at server side
I have no issue with Angular or React.
But:
Leave Vue.js since vue in French is "seen" and that means nothing in this environment . "dejà vue"
![]()
I assume this is the Trial version !
if you log in the management portal you should have a management account _SYSTEM
and it has a 3 letter password SYS or sys
User =_SYSTEM PW=sys or SYS it varies
small extension.
USER>write $TR($zcvt("mY sImPlE eXaMpLe", "W")," ")
MySimpleExampleCould it be you experience a timeout due to long execution time ?
Arun,
#1) the error <INVALID OREFF> #2) goes away if you use Method BtnClickMe( ...) instead of ClassMethod BtnClickMe(....)
#2) setting title property turns out to be tricky since component DataCombo is a complex structure with multiple HTML elements
with multiple title properties. The ZENmethod setProperty() reaches only the first one.
Which is the Label (!) and if you didn't declare it in the ZEN class it is hidden and you will never see it.
As a consequence I found this code working:
<dataCombo
......
title=""
onmouseover="zenPage.BtnClick(event.currentTarget);"
/>event.currentTarget gives you the real browser component (<input...>) in hands
All settings of the page happen in client code.
Now as you do not depend on %page object now this could be a ClassMethod as well.
moved last comment to ANSWER.
from last comment:
https://www.sqlservercentral.com/Forums/Topic647815-145-1.aspx
so it can be marked as done.
changed group from "Community Feedback" to "Caché"
from:
https://www.sqlservercentral.com/Forums/Topic647815-145-1.aspx
did you consider that max could mean maximum allowed size ? while string max has no value.
#1) your subscript is just $i not $i(^%ARUNDTMP) so we loose the full trace for multiple calls.
but we have anyhow some trace.
#2) $isObject(%page) = 0
so there is NO object of your ZENpage available and access to %page.... must fail.
Hard to say why and where you loose %page
did you try ?
Not sure if this is the real problem: Anyhow it is a problem.
funny observation:
2 fresh installed instances (ENS 2017, IRIS 2018) show Unauthenticated only
while the upgraded Caché 2016.2 shows me Unauthenticated and Password.
But can't remember the status of MgmtPortal at the time of upgrade.
Quite interesting on my WIN10_prof I had no need of /S as I wante exactly THIS directory
And you are right. If the file exists already and is accessible nothing prevents you from modifying it.
You probably can't delete it as this requires access to directory.
And you are also right that ATTRIB doesn't propagate it.
So I think the whole approach to check the directory is misleading.
Now we are back to the initial proposal.
Do an OPEN with timeout in this directory ("WN") and on success you can write to the directory.
The test file can be removed by CLOSE file:"D" if you didn't open with "WND" .
And it tells you can I write there YES/NO
And this is independent of any status and flags and don't know what in whatever filesystem I work on.
If you go in Atelier menu to Windows > Preferences
and in there to General > Keys you find the definition for Ctrl+right / Ctrl+left
This tells me it's deep embedded in Eclipse. But can be changed:
https://wiki.eclipse.org/FAQ_How_do_I_provide_a_keyboard_shortcut_for_m…
I found ~ 1800 keymaps on Eclipse Marketplace
and for MS Visual Studio keymap (which might be closest) still 83 hits.
To summarize: it's NOT a configuration issue as long as you don't have something ready to include.
It might take some time to find a useful one.