custom-activity

On-Prem SQL connection throwing SqlException in Datafactory custom activity

自古美人都是妖i 提交于 2019-12-24 09:29:20
问题 I have added code for Azure datafactory custom activity in Azure batch service and pointed the datafactory pipeline to the bacth service. When I execute the code in local environment, it works fine. But when I upload it to run in azure batch service, it throws and sqlexception System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is

Action bar - custom image and text near UP button

不羁的心 提交于 2019-12-13 03:04:20
问题 I have a login screen with two options in my app - "login" and "create account". I want to implement the following thing, for example, on login screen : I've got one activity and another, by tapping on "UP" button i want to return back. I have the following constructor of desired activity: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_bl__login_form_view_controller); getActionBar().setDisplayHomeAsUpEnabled(true); //-

Get Child Activity Subtree

时光怂恿深爱的人放手 提交于 2019-12-11 09:57:59
问题 I'm converting a legacy workflow system to WF4 so I have to jump through a couple hoops to make it match up with the api of our application. So I'll try to keep the problem explination as simple as possible. :) I have a custom activity that takes a sequence as an argument and then executes it. Prior to executing it, the custom activity needs to traverse the sequence (and it's branches etc) looking for specific types of child activities - then it does some reporting on these specific child

ADF - C # Custom Activity

大憨熊 提交于 2019-12-10 11:13:47
问题 I have a csv file as input which I have stored in Azure Blob Storage. I want to read data from csv file, perform some transformations on it and then store data in Azure SQL Database. I am trying to use a C# custom activity in Azure Data Factory having blob as input and sql table as output dataset. I am following this tutorial (https://azure.microsoft.com/en-us/documentation/articles/data-factory-use-custom-activities/#see-also) but it has both input and output as blobs. Can I get some sample

Copy From OnPrem SQL server to DocumentDB using custom activity in ADF Pipeline

随声附和 提交于 2019-12-02 08:32:05
问题 I am trying to copy data from SQL Table in a on-prem sql server and upload it to a Document DB using custom activity in Azure data factory pipeline. Can anyone tell me how can I accomplish it using IDotNetActivity or any other interface or class. 回答1: Actually, Custom activity cannot access on-prem data today. Similar question here: On-Prem SQL connection throwing SqlException in Datafactory custom activity The solution is copy on-prem data to cloud. Then run custom activity against cloud

android how to create my own Activity and extend it?

拜拜、爱过 提交于 2019-11-26 12:51:59
I need to create a base class that extends Activity which does some common tasks in my application and extend my activities from it,in the following form: public BaseActivity extends Activity{....} public SubActivity extends BaseActivity{...} in SubActivity I need to give values to some variables and UI components defined in BaseActivity , I may need to define a different layout for SubActivity according to some flag value, also(in SubActivity ) I want to execute asyncTask that is defined in BaseActivity . is this possible? if yes, is there any tutorial that may help? thank you in advance What

android how to create my own Activity and extend it?

China☆狼群 提交于 2019-11-26 02:30:55
问题 I need to create a base class that extends Activity which does some common tasks in my application and extend my activities from it,in the following form: public BaseActivity extends Activity{....} public SubActivity extends BaseActivity{...} in SubActivity I need to give values to some variables and UI components defined in BaseActivity , I may need to define a different layout for SubActivity according to some flag value, also(in SubActivity ) I want to execute asyncTask that is defined in