Hi There, I am back again learning about tactic... what a ride.
Previously on Tactic with Vue3:
Sep 28th 2021 Create a first blogpost sObject and retrieve it's name and other attributes from vue
- I established a default/blogpost sType
- and create an sObject with sType blogpost
- from my vue3 application I can grab lists of blogpost sobjects
- and I can grab one sobject using its code which happens to be "BLOGPOST000002"
- Next I added an image to the blogpost sobject
- Struggling with my minimal understanding of the tactic user interface I added an image
- I should say "stumbling" not "struggling", because the interface feels so flabbergastingly strange to me. My brain actually does not manage to remember what I do or enable me to repeat what I did in any way that would feel like actually learning to use the ui. Reminds me of trying to find my path through a number of dark rooms at some event trying to convey how blind people need to try and orient themselves in the world. Well, I felt kind of oriented about the rooms in the end which I do not about the Tactic UI (yet) (hopefully).
- Steep learning curve. Nuff said.
--t
Task for today: Show the image from the tactic blogpost sobject in my Vue3 App...
Stage 1:
- Try some reading in the documentation
- Try to get a grip on the API documentation
- Revisit the documentation
- Maybe I am just too dumb or approaching this fram a weird angle...
- Think!
- Ok, lets see. I can display the blogpost sobject in the tactiv ui (doing this gives me kind of a headache but I managed)
- Let's open the image in a separate browser tab and just look at the URI it ist provided from!
- Horray: it's "localhost/assets/salespitch/blogpost/New Ideas_v001_web.jpg"
- That's nice, let's just copy this to my code and include the image to have some progress...
- Well, this kind of thinking obviously is way too simplistic.
- Just giving the url won't do any good in my vue template because the url will be prefixed with basepath, which in turn obviously messes up retrieval of my image.
So for today I remain with two questions:
1) In Vue3: How do I integrate external content like images served from another location e.g. tactic or whatever?
2) In Tactic: How do I retrieve the accesspath to the asset using the api?
- Maybe I need to request latest snapshot from the sobject and then grab the info from there?
- I there an easier way?
- Does this answer my thoughts about slots from the above?
- An sobject can have multiple associate files. The default one is the "main" asset. This is kind of slot in my thinking above.
Too, tired to dig into this for now. Stay tuned for our next episode of "Tactic with Vue3"
BTW: I actually came up with about 3 to 5 new ideas about how I might leverage using tactic in different scenarios. This feels much more easy to me than to implement them for now.
Entrypoints I like:
- http://community.southpawtech.com/docs/d...-overview/
- http://community.southpawtech.com/tactic.../link/docs
- http://community.southpawtech.com/docs/d...reference/
Previously on Tactic with Vue3:
Sep 28th 2021 Create a first blogpost sObject and retrieve it's name and other attributes from vue
- I established a default/blogpost sType
- and create an sObject with sType blogpost
- from my vue3 application I can grab lists of blogpost sobjects
- and I can grab one sobject using its code which happens to be "BLOGPOST000002"
- Next I added an image to the blogpost sobject
- Struggling with my minimal understanding of the tactic user interface I added an image
- I should say "stumbling" not "struggling", because the interface feels so flabbergastingly strange to me. My brain actually does not manage to remember what I do or enable me to repeat what I did in any way that would feel like actually learning to use the ui. Reminds me of trying to find my path through a number of dark rooms at some event trying to convey how blind people need to try and orient themselves in the world. Well, I felt kind of oriented about the rooms in the end which I do not about the Tactic UI (yet) (hopefully).
- Steep learning curve. Nuff said.
--t
Task for today: Show the image from the tactic blogpost sobject in my Vue3 App...
Stage 1:
- Try some reading in the documentation
- Try to get a grip on the API documentation
- Revisit the documentation
- Maybe I am just too dumb or approaching this fram a weird angle...
- Think!
- Ok, lets see. I can display the blogpost sobject in the tactiv ui (doing this gives me kind of a headache but I managed)
- Let's open the image in a separate browser tab and just look at the URI it ist provided from!
- Horray: it's "localhost/assets/salespitch/blogpost/New Ideas_v001_web.jpg"
- That's nice, let's just copy this to my code and include the image to have some progress...
- Well, this kind of thinking obviously is way too simplistic.
- Just giving the url won't do any good in my vue template because the url will be prefixed with basepath, which in turn obviously messes up retrieval of my image.
So for today I remain with two questions:
1) In Vue3: How do I integrate external content like images served from another location e.g. tactic or whatever?
2) In Tactic: How do I retrieve the accesspath to the asset using the api?
- Maybe I need to request latest snapshot from the sobject and then grab the info from there?
- I there an easier way?
- Does this answer my thoughts about slots from the above?
- An sobject can have multiple associate files. The default one is the "main" asset. This is kind of slot in my thinking above.
Too, tired to dig into this for now. Stay tuned for our next episode of "Tactic with Vue3"
BTW: I actually came up with about 3 to 5 new ideas about how I might leverage using tactic in different scenarios. This feels much more easy to me than to implement them for now.
Entrypoints I like:
- http://community.southpawtech.com/docs/d...-overview/
- http://community.southpawtech.com/tactic.../link/docs
- http://community.southpawtech.com/docs/d...reference/