Author’s:
Technical Document Of Agriculture Empowerment
- Gaurav Lokhande.
- Mihir Dhore.
Date: 05/01/2024
Github link:
https://github.com/gaurravlokhande/Agriculture-Empowerment-Hackathon.git
Business Process it Supports:
It makes farming easier and better for farmers. Our platform has everything farmers need in one place: real-time market prices, weather updates, suggestions for seeds and fertilizers, market trends, and expert advice. Stay informed, make smart decisions, and be a part of the growing farming community. Agricultural Empowerment is all about helping farmers succeed in farming.
Access Controls:
Every Guest user has access to the Agriculture Empowerment site.
Code Units:
Apex Class:
-
- AgricultureEmpowerment.apxc
- TranslateLanguageAgri.apxc
LWC Component:
-
- home.lwc
- aboutus.lwc
- footer.lwc
- seedsandfertilizer.lwc
- markettrends.lwc
- newsandtips.lwc
- trainingandsupport.lwc
- feedback.lwc
Custom Object:
-
- Market Trends
- Seeds
- Fertilizers
- News & Tips
- Seasonal Calendar
- My Schemes
- Feedbacks
API Integration:
-
- Weather API
- Agriculture API
Custom Settings:
-
- Remote Site Settings
- Trusted Url
- Note: Added api’s Endpoint in this settings.
- Profiles(Guest User Profile):
- Agriculture Empowerment Profile
- Steps: All Sites → Builder → Settings → Guest User Profile → Agriculture Empowerment Profile.
Digital Experiences:
-
- https://gauravlokhande-dev-ed.develop.my.site.com/AgricultureEmpower ment/s
- Note: Deployed On Community for Guest Users.
Data Model Diagram
Diagram Link :
https://drive.google.com/file/d/1eqygZBi0yuCjM705GOwEzDklqaGmzxB3/view?usp=sharing
Execution Flow Diagram
AgricultureEmpowerment.cls
Method Name |
Purpose |
Input Param |
Object |
Invocation Type |
FetchAllSeeds() |
For Fetch all data from Seeds c custom object. |
List<Seeds c> |
Seeds c |
Sync |
FetchAllFertilizers() |
For Fetch all data from Fertilizers c custom object. |
List<Fertilizers c> |
Fertilizers c |
Sync |
showViews() |
For Fetch all data from Market_Trend c custom object. |
List<Market_Trend c> |
Market_Trend c |
Sync |
FetchAllNewsData() |
For Fetch all data from News_Tips c custom object. |
List<News_Tips c> |
News_Tips c |
Sync |
FetchSeasonalCalendarData() |
For Fetch all data from Seasonal_Calendar c custom object. |
List<Seasonal_Calendar c> |
Seasonal_Calendar c |
Sync |
schemelist() |
For Fetch all data from Schems c custom object. |
List<Schems c> |
Schems c |
Sync |
insertViews() |
For Insert the views of guest users. |
List<Market_Trend c> |
Market_Trend c |
Sync |
insertFeedback() |
For Insert Feedback of guest users. |
List<Feedbacks c> |
Feedbacks c |
Sync |
TranslateLanguageAgri.cls
Method Name |
Purpose |
Input Param |
Object |
Invocation Type |
GetAllTranslation() |
For Fetch translation from Custom labels. |
labelName /Language → hindi |
– |
Sync |
CropSelection() |
For Fetch translation from Custom labels for Crop Selection. |
hindi |
– |
Sync |
soilprepration() |
For Fetch translation from Custom labels for soil preparation. |
hindi |
– |
Sync |
seedselection() |
For Fetch translation from Custom labels for seed selection. |
hindi |
– |
Sync |
seedsowing() |
For Fetch translation from Custom labels for seed sowing. |
hindi |
– |
Sync |
irrigation() |
For Fetch translation from Custom labels for irrigation. |
hindi |
– |
Sync |
FertilizersandManures() |
For Fetch translation from Custom labels for Fertilizers and Manures. |
hindi |
– |
Sync |
WeedManagement() |
For Fetch translation from Custom labels for seed sowing. |
hindi |
– |
Sync |
tipsfordiseases() |
For Fetch translation from Custom labels for tips for diseases. |
hindi |
– |
Sync |
tipsforHarvesting() |
For Fetch translation from Custom labels for tips for Harvesting. |
hindi |
– |
Sync |
Objects Information
Object Name |
API Name |
Fields api name/Type/Length |
Purpose |
Seeds |
Seeds c |
|
Used to store the Seeds Data. |
Fertilizers |
Fertilizers c |
|
Used to store the Fertilizers Data. |
Seasonal Calendar |
Seasonal_Calendar c |
|
Used to store the Seasonal Calendar Data. |
News & Tips |
News_Tips c |
|
Used to store the News & Tips Data. |
Market Trend |
Market_Trend c |
|
Used to store the Market Trend Data. |
My Scheme |
Schems c |
|
Used to store the My Scheme Data. |
Feedback |
Feedbacks c |
|
Used to store the Feedback Data. |
Thank You…!
Author’s:
Technical Document Of Agriculture Empowerment
- Gaurav Lokhande.
- Mihir Dhore.
Date: 05/01/2024
Github link:
https://github.com/gaurravlokhande/Agriculture-Empowerment-Hackathon.git
Business Process it Supports:
It makes farming easier and better for farmers. Our platform has everything farmers need in one place: real-time market prices, weather updates, suggestions for seeds and fertilizers, market trends, and expert advice. Stay informed, make smart decisions, and be a part of the growing farming community. Agricultural Empowerment is all about helping farmers succeed in farming.
Access Controls:
Every Guest user has access to the Agriculture Empowerment site.
Code Units:
Apex Class:
-
- AgricultureEmpowerment.apxc
- TranslateLanguageAgri.apxc
LWC Component:
-
- home.lwc
- aboutus.lwc
- footer.lwc
- seedsandfertilizer.lwc
- markettrends.lwc
- newsandtips.lwc
- trainingandsupport.lwc
- feedback.lwc
Custom Object:
-
- Market Trends
- Seeds
- Fertilizers
- News & Tips
- Seasonal Calendar
- My Schemes
- Feedbacks
API Integration:
-
- Weather API
- Agriculture API
Custom Settings:
-
- Remote Site Settings
- Trusted Url
- Note: Added api’s Endpoint in this settings.
- Profiles(Guest User Profile):
- Agriculture Empowerment Profile
- Steps: All Sites → Builder → Settings → Guest User Profile → Agriculture Empowerment Profile.
Digital Experiences:
-
- https://gauravlokhande-dev-ed.develop.my.site.com/AgricultureEmpower ment/s
- Note: Deployed On Community for Guest Users.
Data Model Diagram
Diagram Link :
https://drive.google.com/file/d/1eqygZBi0yuCjM705GOwEzDklqaGmzxB3/view?usp=sharing
Execution Flow Diagram
AgricultureEmpowerment.cls
Method Name |
Purpose |
Input Param |
Object |
Invocation Type |
FetchAllSeeds() |
For Fetch all data from Seeds c custom object. |
List<Seeds c> |
Seeds c |
Sync |
FetchAllFertilizers() |
For Fetch all data from Fertilizers c custom object. |
List<Fertilizers c> |
Fertilizers c |
Sync |
showViews() |
For Fetch all data from Market_Trend c custom object. |
List<Market_Trend c> |
Market_Trend c |
Sync |
FetchAllNewsData() |
For Fetch all data from News_Tips c custom object. |
List<News_Tips c> |
News_Tips c |
Sync |
FetchSeasonalCalendarData() |
For Fetch all data from Seasonal_Calendar c custom object. |
List<Seasonal_Calendar c> |
Seasonal_Calendar c |
Sync |
schemelist() |
For Fetch all data from Schems c custom object. |
List<Schems c> |
Schems c |
Sync |
insertViews() |
For Insert the views of guest users. |
List<Market_Trend c> |
Market_Trend c |
Sync |
insertFeedback() |
For Insert Feedback of guest users. |
List<Feedbacks c> |
Feedbacks c |
Sync |
TranslateLanguageAgri.cls
Method Name |
Purpose |
Input Param |
Object |
Invocation Type |
GetAllTranslation() |
For Fetch translation from Custom labels. |
labelName /Language → hindi |
– |
Sync |
CropSelection() |
For Fetch translation from Custom labels for Crop Selection. |
hindi |
– |
Sync |
soilprepration() |
For Fetch translation from Custom labels for soil preparation. |
hindi |
– |
Sync |
seedselection() |
For Fetch translation from Custom labels for seed selection. |
hindi |
– |
Sync |
seedsowing() |
For Fetch translation from Custom labels for seed sowing. |
hindi |
– |
Sync |
irrigation() |
For Fetch translation from Custom labels for irrigation. |
hindi |
– |
Sync |
FertilizersandManures() |
For Fetch translation from Custom labels for Fertilizers and Manures. |
hindi |
– |
Sync |
WeedManagement() |
For Fetch translation from Custom labels for seed sowing. |
hindi |
– |
Sync |
tipsfordiseases() |
For Fetch translation from Custom labels for tips for diseases. |
hindi |
– |
Sync |
tipsforHarvesting() |
For Fetch translation from Custom labels for tips for Harvesting. |
hindi |
– |
Sync |
Objects Information
Object Name |
API Name |
Fields api name/Type/Length |
Purpose |
Seeds |
Seeds c |
|
Used to store the Seeds Data. |
Fertilizers |
Fertilizers c |
|
Used to store the Fertilizers Data. |
Seasonal Calendar |
Seasonal_Calendar c |
|
Used to store the Seasonal Calendar Data. |
News & Tips |
News_Tips c |
|
Used to store the News & Tips Data. |
Market Trend |
Market_Trend c |
|
Used to store the Market Trend Data. |
My Scheme |
Schems c |
|
Used to store the My Scheme Data. |
Feedback |
Feedbacks c |
|
Used to store the Feedback Data. |