Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OmniStudio Compatibility #392

Open
bensezio opened this issue Nov 22, 2022 · 8 comments
Open

OmniStudio Compatibility #392

bensezio opened this issue Nov 22, 2022 · 8 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bensezio
Copy link

Is it possible to make this work for the Omnistudio namespace? What are the possible configuration options to make this happen?

Many thanks.

@Codeneos
Copy link
Owner

I think it should be. I don't have a test environment with the Omnistudio package to test yet but the extension was written keeping support for Vlocity packages with different namespaces in mind.

Right now I think there is one check that queries the installed packages and looks for a package with Vlocity in the name that might be blocking this.

What is the developer name of the Omnistudio package?

@wwwmonkey
Copy link

wwwmonkey commented Mar 2, 2023

G'day @Codeneos you can now (at your leisure) signup for a Developer edition with Omnistudio here:
https://trailhead.salesforce.com/promo/orgs/omnistudiotrails

By developer name do you mean Publisher? It's "Salesforce" in my Org.

One new thing to note, there is now a Omni Interaction Configuration Setting where the namespace of the Industry package is automatically added.

This is the error received when attempting to deploy a DR today:
[VlocodeService] [error] Error: No such object with name %vlocity_namespace%__DRMatchingKey__mdt exists in this Salesforce instance

Please lmk if you need any assistance troubleshooting etc as I really appreciate your work on this plugin.

@Codeneos
Copy link
Owner

@wwwmonkey thanks for info! I'll have a look into this. The new setting that you pointed out will be useful as a fallback to detect to get the namespace.

Once I have some more details I will get back and try to update the plugin so it is also compatible with OmniStudio.

@Codeneos Codeneos added the enhancement New feature or request label Mar 10, 2023
@Codeneos Codeneos self-assigned this Mar 10, 2023
@iamlesterjoseph
Copy link

Hello @Codeneos Has this been resolved? I was trying to use the Vlocity extension on VSCode but I am having the same error. I cannot connect to the org that I am using. And the org has "omnistudio" package namespace installed.

@Codeneos
Copy link
Owner

Codeneos commented Nov 20, 2023

No not yet, but I am working on updating Vlocode to support OmniStudio.

I am aiming to have a beta version out by end of this week depending on how much time I get to work on this.

image

There is a new branch that holds some basic changes to make it work, if you are up for it you can compile your own version of the extension from that branch: feature/omnistudio-support.

@Codeneos Codeneos added this to the 0.30.0 milestone Nov 20, 2023
@mskksfdc
Copy link

mskksfdc commented Mar 7, 2024

this is the YAML we had to build to get vlocity components within omnistudio namespace

projectPath: ./vlocity-tmp
queries: # Queries to get vlocity datapacks

  • VlocityDataPackType: OmniScript
    query: Select Id,Type,SubType,Language,OmniProcessType,Description,VersionNumber,IsActive from OmniProcess Where OmniProcessType ='OmniScript' and IsActive = true and Type='' AND SubType =''
    manifestOnly: true
    activate: true
    maxDepth: -1
    defaultMaxParallel: 100
    gitCheck: true # Git Hash of previous deployment stored in Setup-->Custom Settings-->General Settings
    delete: true # Delete the VlocityDataPack__c file on finish
    autoUpdateSettings: true

Below is the error received while trying to connect to omnistudio namespace:
image

@hassanahmed0071
Copy link

@Codeneos is this fixed ? Does Vlocode now supports Omnistudio ? Because I am getting same errors.

@Codeneos
Copy link
Owner

@hassanahmed0071 no, not yet - as I'm personally not yet using OmniStudio I haven't been able to put in the work to make it compatible. There is a test branch but that only has limited support at the moment.

I do intend to add full support for OmniStudio and have and now also have a test org OmniStudio enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

6 participants