devopsgroup-io / veeva Goto Github PK
View Code? Open in Web Editor NEW:wrench: Veeva CLM Generator & Workflow for building iRep Presentations.
Home Page: https://devopsgroup.io
License: Mozilla Public License 2.0
:wrench: Veeva CLM Generator & Workflow for building iRep Presentations.
Home Page: https://devopsgroup.io
License: Mozilla Public License 2.0
Hi,
I just installed veeva and tried it with provided example project. Even though the script reports:
[13:40:53] Starting 'veeva-deploy'...
NOTE ⤷ Deploying zipped files
NOTE ⤷ Deploying control files
✔︎ Done Deploying Key Messages
[13:40:53] Finished 'veeva-deploy' after 22 ms
Nothing get sent to my account, I validated using FTP. I tried adding command line option -V for verbosity, didn't change.
Thanks,
Considering configuration.yml file, I understand that primary
is the pages directory in which you create each slide, but what about the assets
, where do we create those PI and patient brochure?
Thanks
Hi,
I noticed that using the gulp build
command, the slide folders contain a (as it seems) redundant global folder (with all css/js). Is this expected behavior, or should I update the build definition of Gulp?
Great tool by the way, thanks for that!
After installing and going to examples/clm directory, I'm entering "gulp", which produces this error:
Task 'veeva-module:js-build' is not in your gulpfile
You can avoid the error by running "gulp build", but the behavior of the tool has changed from version 0.27.0 and it's no longer firing the http://localhost:3000/ page either.
And even in that case, it appears that the build directory only contains the global directory and not the built out HTML files.
I've been trying to use some of the assemble collections to generate links to pages. Do collections work for this project?
Move all CLI commands from gulp over to veeva
Running "gulp build" returns the following error:
Generating Veeva Thumbnails
events.js:154
throw er; // Unhandled 'error' event
^
Error: spawn convert ENOENT
at exports._errnoException (util.js:890:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
at onErrorNT (internal/child_process.js:348:16)
at _combinedTickCallback (node.js:377:13)
at process._tickCallback (node.js:401:11)
After cloning repo and running npm installation both in root and "veeva/examples/clm/" I was trying to run default gulp task. For some reason gulp quits without throwing any error to console. Imagemagick installed. No errors thrown during npm install process. The only file i modified is veeva/package.json - changed "name" (otherwise it was throwing an error "Can't install veeva as dependency of veeva").
Below is my output:
$ gulp
✔︎ configuration.yml file exists
✔︎ Product name
✔︎ Primary CLM presentation name
✔︎ Assets CLM presentation name
[15:18:55] Using gulpfile ~/aside/custom_veeva/gulpfile.js
[15:18:56] Starting 'assemble'...
NOTE ⤷ Assembling Key Messages
[15:18:56] Starting 'sass:dev'...
[15:18:56] Starting 'scripts:dev'...
[15:18:56] Starting 'veeva-module:js-build'...
NOTE ⤷ Processing Veeva JS dependencies.
[15:18:56] Starting 'images:dev'...
$
$ veeva -v
v0.27.0
$ gulp -v
[15:19:44] CLI version 3.9.1
[15:19:44] Local version 3.9.1
$ node -v
v6.10.0
$ npm -v
3.10.10
I would appreciate any advice.
I am trying to use veeva to make a presentation but I need all the pages to be compiled into one HTML document, instead of separate html documents like it does by default. How can I achieve this?
After a clean install of the CLM example, I tried to run gulp
default task and the task exit without an error.
I tracked the issue to the assemble task, in the dev.js file.
If I remove it from the gulp default task, all the subtask get executed without error and the browsersync server get started.
Here is the output I get:
⤷ Validating configuration.yml
✔︎ configuration.yml file exists
✔︎ Product name
✔︎ Primary CLM presentation name
✔︎ Assets CLM presentation name
[14:31:11] Using gulpfile C:\clm\gulpfile.js
[14:31:12] Starting 'assemble'...
NOTE ⤷ Assembling Key Messages
[14:31:12] Starting 'sass:dev'...
[14:31:12] Starting 'scripts:dev'...
[14:31:12] Starting 'veeva-module:js-build'...
NOTE ⤷ Processing Veeva JS dependencies.
[14:31:12] Starting 'images:dev'...
C:\clm>
Also, if I run just asemble task with gulp assemble
I get this output:
⤷ Validating configuration.yml
✔︎ configuration.yml file exists
✔︎ Product name
✔︎ Primary CLM presentation name
✔︎ Assets CLM presentation name
[15:26:18] Using gulpfile C:\clm\gulpfile.js
[15:26:19] Starting 'assemble'...
NOTE ⤷ Assembling Key Messages
C:\clm>
Running gulp assemble:test
task give me this output:
✔︎ configuration.yml file exists
✔︎ Product name
✔︎ Primary CLM presentation name
✔︎ Assets CLM presentation name
[15:27:16] Using gulpfile C:\clm\gulpfile.js
[15:27:18] Starting 'assemble:test'...
NOTE ⤷ Assembling Single Key Message: undefined
✗ ERROR: Path must be a string. Received undefined
[15:27:18] 'assemble:test' errored after 448 ms
[15:27:18] TypeError: Path must be a string. Received undefined
at assertPath (path.js:28:11)
at Object.join (path.js:503:7)
at assembleSingleTemplate (C:\clm\node_modules\veeva\gulp\assemble.js:26:24)
at C:\clm\node_modules\veeva\gulp\assemble.js:326:28
at Object.executeWhen (C:\clm\node_modules\veeva\lib\utils.js:17:20)
at C:\clm\node_modules\veeva\gulp\assemble.js:325:30
at _fulfilled (C:\clm\node_modules\q\q.js:854:54)
at self.promiseDispatch.done (C:\clm\node_modules\q\q.js:883:30)
at Promise.promise.promiseDispatch (C:\clm\node_modules\q\q.js:816:13)
at C:\clm\node_modules\q\q.js:570:49
C:\clm>
Finaly, this is my config file, untouch except for the path.pages and pages.layouts:
---
software:
name: Veeva CLM Builder
clm:
customFields:
veevaTrackSubsceneField:
ftp:
email:
host:
user:
pass:
remotePath: '/ctlfile'
product:
name: 'veeva'
suffix: '-'
primary:
name: 'veeva-v1'
key_messages:
- key_message: 'home'
description: 'Home'
display_order: '0'
slides:
- slide: 'Home Veeva CLM Example'
id: '0'
- key_message: 'overview'
description: 'Veeva Test Overview'
display_order: '1'
slides:
- slide: 'Veeva Test Overview'
id: '2-0'
- slide: 'Sub Slide 1'
id: '2-1'
- slide: 'Sub Slide 2'
id: '2-2'
- key_message: 'sitemap'
description: 'Sitemap'
display_order: '2'
slides:
- slide: 'Sitemap'
id: '0-1'
- key_message: 'resources'
description: 'Resources'
display_order: '3'
slides:
- slide: 'Resources'
id: '0-2'
assets:
name: 'veeva-assets-v1'
key_messages:
- key_message: 'prescribing-information'
description: 'Prescribing Information'
display_order: 0
- key_message: 'patient-brochure'
description: 'Patient Brochure'
display_order: 2
paths:
src: 'app'
dist: 'build'
deploy: 'deploy'
tmp: 'build/.tmp'
pages: 'app/templates/pages'
layouts: 'app/templates/layouts'
I'm running Windows 10, with node v8.6.0.
Any help?
Thanks!!!!
hi,
I am new to Veeva but what you have made looks amazing. Apologies if this is a stupid question but I was just wondering if the CSV generation is compliant with the latest version of Veeva. I generated the files based on the example and tried uploading the CSV onto the multichannel loader. When I upload the CSV I get a few errors e.g. (Error 219) no presentation exists which matches veeva-v1.
Any help would be much appreciated.
While in dev mode, include iRep's native icons so it's clear where they'll be represented in the presentation.
Hi, when i run Gulp Build v 1.1 I get this:
[11:08:20] Could not find an option named "sourcemap".
[11:08:20] Usage: sass <input.scss> [output.css]
sass <input.scss>:<output.css> :
My config is default apart from this:
paths:
src: 'app'
dist: 'build'
deploy: 'deploy'
tmp: 'build/.tmp'
pages: 'app/templates/pages'
layouts: 'app/templates/layouts'
Looks like you have moved to Gulp-Sass in version 2 but I cannot get that to run either. Any ideas?
I see the page-level popups functioning from the first overview page of the clm example, but I am unable to add a global popup to the footer. It looks like the "terms" content was supposed to function as a global popup, but I don't see this functioning in the example clm project.
When I try to add this myself, the trigger button adds a new .content
div around the slide's .content
div rather than adding a #popup-wrapper
component.
Is there a way to add a global popup?
Hello, When i tried to run command veeva its give me following error:
veeva : The term 'veeva' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name,
or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ CategoryInfo : ObjectNotFound: (veeva:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
can you please help me
It would be nice to have the key messages array accessible to use in the Assemble templates.
Currently, there is no exception handling around loading the configuration.yml file, the gulp command stops processing and doesn't report anything back to the end-user.
Most of the pages in the example are having an error:
layout "default" was defined on view "veeva-resources\veeva-resources.hbs" but cannot be not found (common causes are incorrect glob patterns, renameKey function modifying the key, and typos in search pattern)
Hi devops.
Thank you for creating a package. while running gulp build command, it got failed. show error sass is recognized as an internal or external command.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.