Calling component by navigation props- So first open App.js . In this file we have called Index component so now we will call this using navigation here
So make a function renderIndex before render() function and call it in return
renderIndex() {
this.props.navigation.navigate(‘Index’);
}
And in return () function after header component replace <Index /> with
{ this.renderIndex() }
So now our Index component from Index.js component will load by navigator
So remove import Index from ‘./src/components/Index’; from this App.js
Now we will do same for VideoList component which is called in Index.js
So again i will create a function in components/Index.js file
renderVideoList() {
this.props.navigation.navigate(‘VideoList’, {
playlistid: ‘LLA34Z3lq8FozSQzDHsSLcmQ’
});
}
And now i should replace VideoList with this function
{ this.renderVideoList() }
And remove import from this file
import VideoList from ‘./VideoList’;
Here you can see I am passing a props of playlistid which i will get on VideoList page like this now
To get navigation props value we use this.props.navigation.state.params.propsname
Now in further step we will make a new page to play video and link that page to this navigation . After linking this page to navigation we will call that page on button click and pass a props as video id . After that on View video page we will display video by youtube video id
Now we will create screen on navigation and call this page. So open index.js on root
So first import ViewVideo on index
import ViewVideo from ‘./src/components/ViewVideo’;
Not add screen for this so add after comma
…….
YoutubeVideo: {
screen: YoutubeVideo
},
Index: {
screen: Index
},
VideoList: {
screen: VideoList
},
ViewVideo: {
screen: ViewVideo
}
……
Now our screen is ready to call as navigator. we have button on each video as View. So we will call on Press function to pass props and video id and send to ViewVideo page.
Open VideoList.js file and find code where <Button /> added
this.props.navigation.navigate this function call screen and send to that screen which is added in ‘ ‘ second parameter is props . i have taken vidid as props and assigned video id value to it
Now we can call { vidid } and use to display videoid which is clicked on VideoList page. So to check it
Now in return we will call vidid in Text
So change Text like this
<Text>{vidid}</Text>
Now refresh simulator and click on button of any video you will see that video id on that page
Now import WebView from react-native
WebView use to embed any url on page . It is same like we use iframe in normal html code. So we will use youtube embed url to embed video here using this component
Now you can see we have blank page when go back , it is because we have Index screen to load then video list screen to load, So now we will do some modifications to use navigator header and remove Index component
Final touch
Now open VideoList.js and change variable with this code
Steps to upgrade Online CRM to Dynamics 365 – Microsoft Dynamics 365 CRM out into the market and to use new features like field services etc, you have to upgrade online CRM to 365. Upgrading online CRM is very confusing as users have not full control over instance and have fear to lose data or customizations. To give Dynamics CRM upgrade a clear view you can refer this article.
Step1: Setup Sandbox instance of your Online CRM.
Dynamics CRM Sandbox account is useful for development and to test customizations before publishing on a production instance. It’s also useful for upgrade process from lower version to upper version.
Sandbox instance as can be purchased as add-on subscription or with 25 user’s subscription licenses. To setup, sandbox instance using production instance, select production instance and click on copy icon.
It takes to Copy instance window.
The properties you need to care about are:
Target Instance: In the current case, it will be production instance.
Copy Type: Recommended type is a Minimal copy.
Name: should be the name of Sandbox instance.
And click on Copy. It will take a while to update sandbox account copy of production.
Step 2: Test upgrade of sandbox instance
When a copy of production as sandbox instance, is ready to test CRM instance upgrade process using sandbox CRM instance.
One thing you need to know that is when production instance is ready for an upgrade, to let that know go to Admin Center > Dynamics CRM.
Instances that are eligible to update will see Update is Available. You can see along with your CRM instance.
Select updates tab and schedule upgrade for sandbox instance.
The process you have to follow for a lower version to upper version upgrade is:
To Upgrade
Dynamics Online CRM To Dynamics Online CRM Update 1
Dynamics Online CRM Update 1 To Dynamics 365 CRM
After scheduling dynamics CRM upgrade process, it will be updated on your scheduled time. It might be possible, current customizations are not supported by updated version. Upgrade process gets failed. So you have to reset sandbox back to old version and fix all those issues in sandbox instance and again follow the same process of schedule sandbox instance upgrade to the target version.
Step 3: Upgrade Production Instance
Once your sandbox instance is upgraded, approve upgrade. Same process you need to follow to upgrade production instance upgrade. Also, keep in mind your instance upgrade will not be upgraded till you approve upgrades.
Adding Content Templates to Editor in Kentico 9 – It’s handy to adding site typography as content templates in Kentico CKeditor. Follow steps given below to add and customize CKeditor toolbar and include new content templates.
Step1: Download sample content template from http://ckeditor.com/addon/templates. Extract downloaded zip folder and copy template folder in \CMS\CMSAdminControls\CKeditor\plugins. It should look like example image.
Step 2: Adding config properties – Open config.js file under CKeditor folder and add these lines on top of file along with other properties-
config.extraPlugins = ‘templates’;
/* CMS */
config.plugins += ‘,showborders’;
/* Templates */
config.plugins += ‘,templates’;
It should be like image example.
Step3: Customize toolbar : Add template after source in toolbar_FULL
Step4: Setup toolbar_Full, At bottom of config file change value –
config.toolbar = config.toolbar_Full;
Now ckeditor is ready to use templates and can do testing after login in CMSDesk. Open editable page. Ckeditor should show template icon along with source.
After clicking in template icon, it will show all available content templates. You can select any of these templates and insert in editable part and modify accordingly. You don’t need to be worried about styling content text. It helps non technical person to make pages and style it easily.
Next part is, how to add new templates in editor. Open default.js file under CKeditor/plugins/templates/templates/default.js
Default.js already has some inbuilt templates, you can add more templates using same structure. Using example I added youtube responsive videotemplate at bottom of default.js file.
{
title: ‘Responsive YouTube Video (with controls)’,
//image: ‘template1.gif’,
description: ‘Responsive YouTube Video (with controls)’,
Connection from PHP to Microsoft Dynamics CRMThis time we will learn how to connect Microsoft dynamics CRM using PHP code. Microsoft dynamics CRM soap service can be a way to make calls from PHP source code. A valid soap header is required to execute soap request. Let’s see how to create a valid header using PHP code:
To get valid soap request, first need to create token1, token2, and keyIdentifer which can be created using online user name and password.
Soap enavlop for getting token1, token2, ekyidentifer:
Run SQL Server 2014 Reporting Services Configuration Manager and set-up the Native Reporting Services installation.
This is should pretty much be a next, next, apply thing,
Mine fired up straight away by just using the defaults:
Figure: Reporting Services Configuration Manager Figure: Reporting Services Home Page
Step 8, Now Install CRM 2015 finally..!!
Figure: CRM Installation
Get Recommended Updates| select Get Updates (Which is optional)
Enter your license key
Accept the EULA
At this point you may have a bunch of missing required components, install them (We will take a while, also you may need to reboot system)
Figure: Install Required Components
Select Default Installation Path
Specify Server Roles| Select All Options
Figure: Server Roles
Specify Deployment Options| Enter SQL Server Hostname ie: CRM2014Demo
Select the Organizational Unit| Enter the Organizational Unit
At this point it’s probably a good idea to jump into Active Directory Users and Computersand create an OU for CRM
Figure: Create CRM OU Figure: Assign CRM OU
Specify Service Accounts, Now we’ll need to specify our service accounts for the various CRM Services, since we don’t have any accounts setup, we’ll end up jumping back and forth between Active Directory Users and Computers and the CRM Installation wizard, As this is a DEMO environment I’m going to use NETWORK SERVICE for the accounts.
Figure: Service Accounts
Select Website | Default Website
Email Router Setting | EmptyOrganization Settings| Populate with your Organisation Name and other settings
Report Server URL |Should be pre-populated check the URL
Click next wizard button and install CRM.
After installation of MS CRM it will auto start reporting in service setup.
Click Do not get updates and click next button. In next screen accept line cne and click next.
Select server server computer name and click next
Select database name
Click next wizard button and install, finally you will get finish screen.
Figure: CRM Install Finished And finally let’s start CRM 2015, wow worked first go!
1. Install magento 2. 2. Go to admin panel and login. 3. Now you may see this window ( links not working )
4. To solve the issue, open your xampp shell
5. Specify your path
6. Run following command from Magento root: php bin/magento setup:static-content:deploy
7. Go to admin panel and check if the issue has fixed. You can see the admin panel like this.
8. Now you can start with creating your custom theme. 9. At first, create your folder in C:\xampp\htdocs\Magento2_new\app\design\frontend\ and create your folder within
10. Add or copy from an existing theme.xml to your theme directory app/design/frontend/
11. Add a composer.json file to the theme directory and register the package on a packaging server.
12. To register your theme in the system, in your theme directory add a registration.php file with the following content:
13. Copy a media folder from an existing theme to your theme directory. 14. Create directories for static files. Your theme will likely contain several types of static files: styles, fonts, JavaScript and images. Each type should be stored in a separate sub-directory of web in your theme folder:
15. At this point your theme file structure looks as follows:
16. Your theme is created now. Login to admin panel and go to Stores -> Configuration -> Design, you can see your theme. Select your theme and save it.
17. Run the following commands for static content deployment and database update from your root directory php bin/magento setup:static-content:deploy php bin/magento setup:upgrade 18. You can customize your site now, using your own theme.
Grow Your Business With Our Expertise
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.