Giter Site home page Giter Site logo

oracle-samples / ofs-sample-plugins Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 2.0 74.34 MB

Oracle Field Service Cloud sample plugins created by the OFS Center of Excellence

License: Universal Permissive License v1.0

SCSS 1.96% TypeScript 61.66% HTML 10.82% JavaScript 23.04% Just 1.04% CSS 1.48%
ofs ofsc oracle-field-service oracle-field-service-cloud plugins

ofs-sample-plugins's Introduction

ORACLE AND ITS AFFILIATES DO NOT PROVIDE ANY WARRANTY WHATSOEVER, EXPRESS OR IMPLIED, FOR ANY SOFTWARE, MATERIAL OR CONTENT OF ANY KIND CONTAINED OR PRODUCED WITHIN THIS REPOSITORY, AND IN PARTICULAR SPECIFICALLY DISCLAIM ANY AND ALL IMPLIED WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.  FURTHERMORE, ORACLE AND ITS AFFILIATES DO NOT REPRESENT THAT ANY CUSTOMARY SECURITY REVIEW HAS BEEN PERFORMED WITH RESPECT TO ANY SOFTWARE, MATERIAL OR CONTENT CONTAINED OR PRODUCED WITHIN THIS REPOSITORY.  IN ADDITION, AND WITHOUT LIMITING THE FOREGOING, THIRD PARTIES MAY HAVE POSTED SOFTWARE, MATERIAL OR CONTENT TO THIS REPOSITORY WITHOUT ANY REVIEW. USE AT YOUR OWN RISK. 

Oracle Field Service Plugin Samples

This repository provides a set of samples and a template to be used to create your own Oracle Field Service plugins

Installation

Clone the repository using git clone <URL>

Inside the samples/ directory you will find the different samples provided. See the README on each one

Inside the templates/ folder you will find the templates provided. Those can be used with cookiecutter

Documentation

All the plugins are self documented but feel free to contact the library maintainers if you think there is not enough information.

Contributing

This project welcomes contributions from the community. Before submitting a pull request, please review our contribution guide.

Security

Please consult the security guide for our responsible security vulnerability disclosure process.

License

Copyright (c) 2023 Oracle and/or its affiliates.

Released under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl/.

ofs-sample-plugins's People

Contributors

btoron avatar dependabot[bot] avatar miquelgall avatar spavlusieva avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ofs-sample-plugins's Issues

PreDebrief is not working in native iOS

Describe the bug
PreDebrief Plugin is not working when used on a native iOS App

To Reproduce
Steps to reproduce the behavior:
Once you have the preDebrief plugin deployed, open it using OFS Native

Expected behavior
To redirect to Debrief page with a recalculated time

Identified behavior
The Debrief page is not properly shown, and the wrong inventory line is created ( times are not properly calculated )

Smartphone (please complete the following information):

  • Device: Phone13
  • OS: iOS 17.3.1

"just dev-pack" is not working.

Describe the bug
error on "just dev-pack"

To Reproduce
Steps to reproduce the behavior:

  1. Go to samples/000-HelloWorld
  2. just dev-pack

Expected behavior
build file creation

Desktop (please complete the following information):

  • OS: MAC
  • Browser CHROME

Additional context
ERROR in ./node_modules/@ofs-users/proxy/dist/ofs.es.js 1:0-34
Module not found: Error: Can't resolve 'fs' in '/opt/repo/debrief-plugin/ofs-sample-plugins/samples/000-HelloWorld/node_modules/@ofs-users/proxy/dist'
resolve 'fs' in '/opt/repo/debrief-plugin/ofs-sample-plugins/samples/000-HelloWorld/node_modules/@ofs-users/proxy/dist'
Parsed request is a module
using description file: /opt/repo/debrief-plugin/ofs-sample-plugins/samples/000-HelloWorld/node_modules/@ofs-users/proxy/package.json (relative path: ./dist)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
/opt/repo/debrief-plugin/ofs-sample-plugins/samples/000-HelloWorld/node_modules/@ofs-users/proxy/dist/node_modules doesn't exist or is not a directory
/opt/repo/debrief-plugin/ofs-sample-plugins/samples/000-HelloWorld/node_modules/@ofs-users/proxy/node_modules doesn't exist or is not a directory
/opt/repo/debrief-plugin/ofs-sample-plugins/samples/000-HelloWorld/node_modules/@ofs-users/node_modules doesn't exist or is not a directory
/opt/repo/debrief-plugin/ofs-sample-plugins/samples/000-HelloWorld/node_modules/node_modules doesn't exist or is not a directory
looking for modules in /opt/repo/debrief-plugin/ofs-sample-plugins/samples/000-HelloWorld/node_modules
single file module

---------------------console--------------------
Uncaught ReferenceError: require is not defined
at Object.fs (external node-commonjs "fs":1:1)
at webpack_require (bootstrap:19:1)
at ./node_modules/@ofs-users/proxy/dist/ofs.es.js (ofs-plugin.es.js:1:2337)
at webpack_require (bootstrap:19:1)
at ./node_modules/@ofs-users/plugin/dist/ofs-plugin.es.js (external node-commonjs "fs":1:1)
at webpack_require (bootstrap:19:1)
at ./assets/js/custom.ts (styleTagTransform.js:14:1)
at webpack_require (bootstrap:19:1)
at nonce:1:1
at main.ts:16:3

Error after updating Pre-Debrief Plugin

Describe the bug
Getting Error : A clear and concise description of what the bug is.](main.js:461 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'toJSON'))

Error : (Check last line ).

addExpense({activityId: t, itemId: e, amount: i, currencyKey: n, recordId: r}) {
let s = {
id: this.getIdFromArray(this.expenseItems()),
activityId: t,
itemId: e,
amount: i,
currencyKey: n
};
r && (s.recordId = r),
Object.entries(this.expenseItemEnumCollection.get(e).toJSON()).forEach(([t,e])=>{

For details : we have added the attachment of the issue.

ERROR1.txt

Oracle Pre-Debrief Plugin error

Hi Team,

we are have downloaded the pre-debrief. we are getting error that it is asking for python exe for working . Following are the list of error :

  1. node_modules\node-sass\vendor\win32-x64-120\binding.node is not a valid Win32 application.
  2. npm ERR! gyp verb find Python Python is not set from command line or npm configuration
  3. npm ERR! gyp verb find Python Python is not set from environment variable PYTHON

Please check the issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.