Drag and Drop issue with Anypoint Studio - anypoint-studio

I am new to Mule and Anypoint Studio (64bit Version: 5.2.0), I can't add "Byte Array to String" transformer using drag and drop.

Validate your <%installation_Direcotry%>/AnypointStudio.ini for assigned memory, it should be :
-Xms584m
-Xmx1024m
-XX:MaxPermSize=784m

First check you assigned memory by checking the <%installation_Direcotry%>/AnypointStudio.ini file in case your studio gets hanged.
If it is ok then you have multiple options to place to place a processor in palette.
select the transformer in the palette then drag & drop it to the process area where you want to put the transformer.
select the transformer in the palette then directly click on the process area where you want to put the transformer.you don't need to drag & drop.
you can also write the xml configuration for the same just by pressing ctrl + space options that would pop-up the list of components.
HTH.

You have to drop the 'Byte Array to String' transformed within the 'Process' box of the flow, not outside it.

Related

Anypoint Studio - Flow reference - How to find referenced flow?

In Anypoint Studio you can add flow references, so you could re-use and decompose your flows.
Using this approach you end up quickly with many refences and it would be nice to quickly navigate between them.
Is it possible to quickly jump to the referenced flow?
You can go to the referenced flow by selecting the flow-reference in the flow-editor and pressing F3.
This is a shortcut for the "Go to referenced flow" option from the context menu:
This context menu can be opened by right clicking on the flow-reference.
Please note - you can also use the F3 shortcut on API-Kit-Routers. In this case the option is not available in the context menu, but you can still use it using the F3 shortcut.
In this case you get a list of all the possible routes:

add data layer from mxd table of contents in custom arcmap toolbox

Can't find any references for how to add a data layer into a custom toolbox that I made in ArcMap via a dropdown menu instead of navigating to the file location.
The first picture is what the input for my tool lookslike, and the second is a screen shot of the Clip tool which has the dropdown options.
You have not set the parameter type in the script input parameters. This cannot be controlled in the script that you created, but has to be done in the tool (within ArcMap).
For this specific case, I believe Feature Class is the parameter type that you want (if not, Feature Layer -- I honestly haven't done this in ages, and there are quite a few options!)
You can also set options such as whether or not the parameter is required.
See Esri help pages for full details: Setting script tool parameters and Understanding script tool parameters.

Intellij Idea does not recognize ivy.xsd

Why my IDE does not recognize xsd by URI ?
xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd"
You will need to download the schema first. IntelliJ allows to do that using intentions. Set cursor on the red marked fragment, press Alt+Enter and select 'Fetch External Resource'. Schema should be downloaded and you will start getting element suggestions in the file.
Sometimes automatic resource fetching may not work and the location will remain red marked. In such case you will need to download the schema to some location to disk and select 'Manually Setup External Resource' from intentions menu. Point to the downloaded file and you should get it working.

NetBeans debugging variable values

I am debugging in NetBeans IDE, where can I see assigned variables and their values?
While you're in the debugger go Window -> Debugger -> Variables
You can also use ALT+SHIFT+1 to bring up variable viewer.
Generally, the pane underneath the code has some tabs - and one of them will say 'Variables'. Click on that tab and you will see variables and their values. You need to be actually running a debug session before the variables tab is available.
For this to show all local variables you need to have the line:
xdebug.show_local_vars=1
in your xdebug.ini file. Don't forget to restart Apache if you add that line.
If you are not seeing all local variables then you may have hit the problem where your version of the module file (xdebug.so) has a bug. This is the case currently for Ubuntu 10.04.
To fix this you need to compile a newer version of the xdebug.so file. Follow the instructions at http://xdebug.org/wizard.php to get your new file which should replace your current xdebug.so file.
There exists another solution that is
Press Ctrl+F9 to display Evaluate Expression Panel/Tab
Enter variable name in Evaluate Expression Panel/Tab
Press Ctrl+Enter (or arrow icon at right of Evaluate Expression Panel/Tab
The variable's value is then displayed in Variables Panel just below (on my PC) Evaluate Expression Panel/Tab.
You can also use this solution to display EXPRESSION and not only VARIABLE !
Example: (String sSheetData is a String variable that contains a very big string)
sSheetData.substring(4000,4200);
StringTools.Right(sSheetData,100);
StringTools.Mid(sSheetData,4000,200);
This is also possible using New Watch callable using contextual menu.
But this is not as easy as using Immediate Windows on Microsoft Visual Studio :-)

How to turn on FastParse option in SSIS?

The book that I purchased to help with my SSIS understanding seems to have glossed over this, and I wanted to know exactly what is the method to turn on FastParse in SSIS?
To set fast parse (from here)
Right-click the Flat File source or Data Conversion transformation, and then click Show Advanced Editor.
In the Advanced Editor dialog box, click the Input and Output Properties tab.
In the Inputs and Outputs pane, click the column for which you want to enable fast parse.
In the Properties window, expand the Custom Properties node, and then set the FastParse property to True.
Click OK.