ERROR: ERROR_MR_FEX_NOT_FOUND Can't create item object based on provided item key FRCSTDAT.fex - webfocus

Can any one please tell me why I am getting the following error when I am running the focexec in managed reporting (WebFocus)?
ERROR: ERROR_MR_FEX_NOT_FOUND Can't create item object based on provided item key FRCSTDAT.fex
I am using main focexec as "VOINVDAT" AND INLUDING "FRCSTDAT" as INCLUDE file in the main focexec.

It looks to me that your WebFocus environment isn't able to find a specific .fex file it needs, or a table relationship you have is bad. Might check key names and relationships as well as files present.

The include should have the path if the .fex is not in the default search path.

From MR Section, to include any fex file from Reporting Server location, you need to include like:
-MRNOEDIT -INCLUDE fex_file_name.fex
Note the fex_file_name.fex should be in Reporting Server location. Let me know if this works for your problem.


Get Google Chrome's root bookmarks folder

I'm trying to write a better bookmark manager in Chrome extensions. The problem is that there are no simple examples (that I can find) about how to actually use the bookmarks API.
I've looked at the example source (when I d/led and installed it on my computer it didn't do anything except provide a search box. Typing/typing and pressing return failed to do anything) and can't find anything useful.
My ultimate goal is to make an extension that allows me to save pages to come and read later without having to go sign up for an account on some service somewhere. So I plan to create either one or two bookmark folders in the root folder/other bookmarks - at minimum an "unread pages" folder. In that folder I'll create the unread bookmarks. When the user marks the item as read, it will be removed from that folder.
So that's what I'm trying to do... any help will be greatly appreciated, even if it's just pointing me to some good examples.
function display(tree){
document.getElementById("Output").innerHTML = tree;
function start(){
<h4 id="Output"></h4>
That displays [object Object], that suggests (at least to me with a limited JavaScript experience) that an object exists. But how to access the members of that object?
Changing tree to or any other of what look to be parameters displays undefined.
Currently, there is no good way to find folders such as "Other Bookmarks" or "Bookmarks Bar" in the bookmarks API. You would have to iterate through all the bookmarks and find which node has those root folders and save its bookmark id. The bug is filed Issue 21330.
The root id is always 0, and when I mean 0, it corresponds to "Bookmarks bar" and "Other bookmarks". As any tree structure, each node has children. If you want to fetch all the bookmarks under one folder, you can use getChildren API and get every node recursively (you can do it iteratively too). For example, the following will get every single bookmark:
function printBookmarks(id) {
chrome.bookmarks.getChildren(id, function(children) {
children.forEach(function(bookmark) {
Now, why do we have to call the API for every iteration? Their is an API to get the whole Tree. If you tried it out, you will see that every node in the getTree will have a list of children. That is perfect:
chrome.bookmarks.getTree(function(bookmarks) {
function printBookmarks(bookmarks) {
bookmarks.forEach(function(bookmark) {
console.debug( + ' - ' + bookmark.title + ' - ' + bookmark.url);
if (bookmark.children)
That is all, you can do all this iteratively as well which is better performance, but you can figure that out :) Note that since you want to redo the bookmarks bar, you can override that page in extensions (soon):
If you want to show a nice HTML tree of your bookmarks, you can easily do that by extending the getTree functionality I showed above to accept a parent DOM. You can do something like this. Edit the code to make use of the getTree or collapse everything and make use of the getChildren and fetch more bookmarks if they request it.
Bookmarks are organized in a tree,
where each node in the tree is either
a bookmark or a group (a folder that
can contain nodes). Each node in the
tree is represented by a
BookmarkTreeNode object.
There is no root bookmarks folder in the sense of a file system object. All the bookmarks are stored in a structured file that you access through the api in the link you provided. The root of the tree is returned by getTree:
Okay, I've discovered how to get access to what I want. In retrospect I should have seen it sooner.
Using the debugger I was able to set a breakpoint and view the objects. [object Object] is an array of length 1.
Using the function given in my example, tree[0].children is the array containing the children. On my default setup tree has two children, tree[0].children[0] is "Bookmarks Bar" and tree[0].children[1] is "Other Bookmarks". The rest of the bookmark tree flows down from there, though "Other Bookmarks" (tree[0].children[1]) is the folder I'm looking for.

How can i user kettle connect to phoenix

I just set the config like that:
but it does not work, and it show me the error:
I never used apache-phoenix, but in front of this type of error I'd first check if the driver is in the lib (I guess it is), then on the database connection parameters on the left panel). According to the error, I'd start with the Advanced/Prefered Schema name, and the Option/Parameter with a parameter name you have to drill from the apache-phoenix documentation.

Detecting if it is the first time a user access some pages in Moodle 2.7 to show him that something changed on the interface

Here are my limitations for this task:
For Moodle 2.7
I cannot install any plugin
I cannot create any plugin
So I need to identify if a user is accessing some pages on Moodle for the first time after an interface update to show them what is new. I would like do something like Google does when it updates its pages.
'Ow, what is new? this, this and that. Okay? End of story and you will
never see me again.'
I identified the 'Object' '$USER' in the file 'columns3.php' which is in the folder 'layout'.
This '$USER' provides lots of information to be used and maybe it could be useful for me.
Is it possible to use any information from the refered 'Objet' in order allow me to show the contextual help for a user only once? Or, is there any other place I can find some data I could use for my purpose?
The contextual help which will present what is new is going to run via front-end files and is already ready to be implemented.
You could take the following approach:
On any of the pages where that interface is going to run, make a query to the mdl_log table, with following condition:
That the userid column value = $USER->id
That the url column value = what ever possible url where that interface is used.
And that time column value > than date when you updated that
If that query returns 0 results, then it means user has not visited that page since the time you installed it so show your notice box or whatever, otherwise don't show your notice box.
Another possible approach would be to make the verification right there on the interface's code, so that whenever it is used it would check:
Has current $USER->id invoked this code before? (You can add a
boolean field to the mdl_user table and simple store there a value
(1 or 0) to track if user has used the interface after the update).
Declare a global $VISITED variable and asign the appropiate value depending on results of step 1, to later be used
on your php view code(the html)
In you php html file do: (If $VISITED == 0) THEN show_notice_box ELSE do nothing

Verify an element is not existing using webdriver and selenium

I'm using WebdriverIO and selenium-standalone to write automated tests that will verify that various parts of our user interface are working.
I need to verify that an element is not present on the page. For example, our system allows staff to track various types of resources that we are referring clients to. If a staff member accidentally adds the wrong resource, they can delete it, and I want to verify that the resource was actually deleted and is not present on the page.
WebdriverIO has an .isExisting() property, but no way to check if something is not existing (or not visible/present). I could also use Chai assertions to figure this out, but haven't delved into that world yet.
Here's a snippet of my code:
it('I can delete a resource from a need', function() {
return driver
.moveToObject('span.ccx-tasklist-task') // Hover mouse over resource
.click('div.referral-controls a.btn.dropdown-standalone') // Click Resource drop-down
.click('div.referral-controls.ccx-dropdown-menu-selected li > a') // Delete Resource
// Need to Verify that resource was deleted here
Any advice? Let me know if you need more information.
You can waitForExist with the reverse option set to true.
.waitForExist( '[id$=OpenNeedsPanel] div.commodities', 500, true )
I was able to verify that an element didn't exist on the page like this:
.isExisting('[id$=OpenNeedsPanel] div.commodities').should.eventually.equal(false);
you can simply use the below mentioned line of code
int temp=driver.findElements(By.xpath("your x-path expression")).size();
you can even replace your xpath locator with your other locators as well like id,class,link etc.
Now, if the value of temp>0, it means , your element exists

Is it possible to create multiple dataStore in angular-localForage?

Is it possible to have multiple dataStore in IndexedDB using angular-localForage?
I tried this:
var $tblStage = $localForage.createInstance({
storeName : 'tblStage', // name of the table
but it triggered an error which says:
Error: A localForage instance with the name dbName is already defined.
I read this Question before but, is the only way is working with Raw IndexedDB? Or I missed something in my code? Any Idea?
Yes, only configure when you use.
But no its possible two instance at same db.
If you intend to use the directive, local-forage, you'll have to copy and configure it.
Just like this, for change the provide,
only change defaultConfig at #L20, and name of angular module directive #L465.
And give more information but the reputation is very low and this leaves hook and my English so bad.