Comments (8)
@afawcett I'm seeing this exact behavior on RemoteSiteSettings. It looks like readMetadata for RSS just returns null no matter what. Have you seen this too?
(I've confirmed behavior in JSForce and Postman raw posts as well)
from apex-mdapi.
@afawcett I'm seeing this exact behavior on RemoteSiteSettings. It looks like readMetadata for RSS just returns null no matter what. Have you seen this too?
(I've confirmed behavior in JSForce and Postman raw posts as well)
I was able to fix this by specifying the full name of the RemoteSiteSetting.
MetadataService.RemoteSiteSetting wfa = (MetadataService.RemoteSiteSetting) service.readMetadata('RemoteSiteSetting',
new String[]{
'<REMOTESITESETTING FULLNAME>'
}).getRecords()[0];
System.debug(wfa.url);
from apex-mdapi.
Thanks for sharing @Dobermaxx99
from apex-mdapi.
So, I'm assuming that still doesn't work? Here's what I'm passing:
MetadataService.Flow flowResult = (MetadataService.Flow) mdService.readMetadata('Flow', new List<String>{'<NAME OF FLOW>'}).getRecords()[0];
All values (actionCalls, decisions, etc.) still return as "null". When I make a call using the REST Explorer, however, it returns that data just fine. It is clear that the data is there. Why isn't it returning using the syntax above?
from apex-mdapi.
Currently reading of Flows is not supported in the library, it is actually broken in the Salesforce API this library wraps. I'm waiting for that to be fixed and I will update the library. Here is the duplicate issue. #26.
from apex-mdapi.
Hi ,
Im Having the same issue with workflow rules , although i have used the method for workflow field updates and validation rules and it works just fine , any thoughts ?
from apex-mdapi.
Have you seen this example?
from apex-mdapi.
@triestelaporte if you use listMetadata or the equiv from within Developer Workbench what Metadata Fullname is assocaited to the Remote Site?
from apex-mdapi.
Related Issues (20)
- MetadataServiceExamples outdated
- Test Class For MetadatadeolpyController Class
- Help article to use named credentials with wrapper has been removed HOT 1
- Generate an Apex from WSDL
- GlobalValueSetTranslation HOT 2
- Update search layout task, event, activity HOT 1
- System.CalloutException: Web service callout failed: Unable to parse callout response. Apex type not found for element customizeSetup
- Apex Wrapper Metadata API Takes Time to Reflect the Change
- Can't create in production org
- Can't create a sharing rule HOT 2
- GlobalValueSetTranslation
- Can we create ApexClass natively? Any Example? HOT 1
- UserInfo.getSessionId() makes this unusable in packaged code HOT 2
- How do we update multiple profiles at once?
- LightningComponentBundle (LWC): reading/creating/updating
- Creating Apex Trigger
- Creating a MultiPicklist HOT 2
- System.CalloutException: Web service callout failed: Unable to parse callout response. Apex type not found for element includeRecordsOwnedByAll
- How To get Picklist Value according to record type for a custom object HOT 3
- Can anyone suggest on how to read the flexipage? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apex-mdapi.